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
How many bytes S(8) comp field occupy and its maximum value?
What is link edit in cobol?
What are the different rules of SORT operation?
What is the difference between Global and External Variables?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Write some characteristics of cobol as means of business language.
explain sorting techniques in cobol program?
Write down the divisions of cobol program?
What is rmode(24)
Which mode is used to operate the sequential file?
how do you reference the ksds vsam file formats from cobol programs
Explain how you can characterize tables in cobol?
What is the difference between external and global variables in COBOL?