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 to print 10 to 1 if the input have only 10 digit number?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What kind of error is trapped by on size error option?
What are the pertinent COBOL commands?
What is the difference between PIC 9.99 and PIC9v99?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Explain how you can characterize tables in cobol?
How do we get current date from system with century in COBOL?
Name the divisions, which are available in a cobol program?
What are various search techniques in cobol? Explain.
What are literals?
Discuss about changing dataset name in proc.
What rules are to be followed while using the corresponding options?
In which area will you utilize 88 level items in cobol?