COBOL Snippet: Tell where the control will when the below
code execute
IF (A=B)
CONTINUE
ELSE
NEXT SENTENCE
PERFORM <IMP-STMT>
END-IF.
Answer Posted / niveditha
This code looks funny.but still some times it is useful. If
A=B the control will be start immediately from after end-if.
If A not = B then perform loop will executes. there is no
meaning of next sentence
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What do you understand by psb and acb?
) How do u handle errors in BMS macro?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is report-item in COBOL?
Mention the guidelines to write a structured cobol program?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is amode(31)
Explain how to differentiate call by context by comparing it to other calls?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Which is not true about evaluate statement
Difference between array and sub-script ?
) what is the difference between AID and HANDLE AID?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..