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 / uday
if a=b the loop will be executed(a-test) and then control will
comeback to the loop.here next sentence is used thats why the
control is going to execute statements after end-if ,if any.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How you can characterize tables in cobol?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
i need a small 3d program using inline and outline.
What are the different data types in cobol?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is a SSRANGE and NOSSRANGE?
Have you used comp and comp-3 in your project? And how?
How do you get the data to code the BMS macro?
What is the utilization of copybook in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
In which area will you utilize 88 level items in cobol?
What are the different rules of SORT operation?
How can you get the ksds file records into your cobol program?