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 is the difference between COBOL2 AND COBOL390?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
What is the compute verb? How is it used?
Difference between cobol and cobol-ii?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the difference between next sentence and continue in cobol programing language?
Which Search verb is equivalent to PERFORM…VARYING?
Name some of the examples of COBOl 11?
What is the LINKAGE SECTION used in COBOL?
how do you reference the fixed unblock file formats from cobol programs
Define cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is comp-1 and comp-2?
What is link edit in cobol?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?