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 |
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
what is qualification on occurs clause?
What are the pertinent COBOL commands?
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
how can we get current dat and time thru cobol pgm
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are various search techniques in cobol? Explain.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.
What type of SDLC u followed? Why?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
What is link edit in cobol?