Consider the below example
call a-test1.
--
--
--
a-test1.
if a=b
perform a-test through a-exit
next sentence
else
if b=c
perform c-test through c-exit.
if a=d
perform d-test through d-exit.
a-test.
--
--
a-exit.
exit.
can u tell me what will happen if a=b
after looping into a-exit will the control go back to a-
test1.
will the condition a=d be checked???
Answer Posted / dimpy19
Compilation Error.
both NEXT SENTENCE and CONTINUE place holder.
above situation NEXT SENTENCE will give compilation error
CONTINUE will not generate compilation error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How do you get the data to code the BMS macro?
What is the difference between PIC 9.99 and PIC9v99?
What are the different data types in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how to convert the recors form vsam file to db2 table tru file aid
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
what is difference between cobol and cobol/400
how do you reference the esds vsam file formats from cobol programs
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
State the various causes of s0c1, s0c5 and s0c7.
Write down the divisions of cobol program?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Explain how you can characterize tables in cobol?