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 / khasim
compile error.
d-test and d-exit. not defined in Procedure division.
if we code the d-test and d-exit.
control goes to d-exit. not goback to a-test1.
after d-exit, it will go back.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
) what is the difference between AID and HANDLE AID?
What are the access modes of START statement?
Can we redefine the field of x(200) to less than 200?
How do you get the data to code the BMS macro?
Name the divisions, which are available in a cobol program?
how to refer the data field?
What is inspect in cobol ?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are literals?
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 difference between next sentence and continue in cobol programing language?
) how do u code after getting data?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?