if a>b
continue
display x.
dispaly y.
end-if
display 1
display 2.
display 3.
what should be my output ?
Answers were Sorted based on User's Feedback
Answer / sharpmainframe
ERROR: BECAUSE OF MISMATCH END-IF
YOU NOT PUT ANY SCOP TERMINATOR(.) INBETWEEN IF-ENDIF STMT
| Is This Answer Correct ? | 6 Yes | 0 No |
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?
in the TIME parameter we r giving hours r minutes
hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answer quickly plez........
i want to enter the name 'pandu' into ur table how?
How do pass the values to the parameters in cobol
Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS
Why we should use cursor ?
In COBOL programming, what is PERFORM? What is VARYING?
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Why occurs cannot be used in 01 level in COBOL?