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 are the access modes of START statement?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Name the divisions, which are available in a cobol program?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Describe the cobol database components?
example for sub strings ? and refernce modifications whit output pls
How you can characterize tables in cobol?
What type of SDLC u followed? Why?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Name the sections present in data division.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are different data types in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech