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
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between next sentence and continue in cobol programing language?
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...)
how to refer the data field?
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
What is a SSRANGE and NOSSRANGE?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
how do you reference the variable block file formats from cobol programs
What is Pic 9v99 Indicates in COBOL?
What is inspect in cobol ?
What kind of error is trapped by on size error option?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the local-storage section?
Write down the divisions of cobol program?
What is an in line perform? When would you use it? Anything else you wish to say about it.