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 to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What type of SDLC u followed? Why?
) How do u handle errors in BMS macro?
What is link edit in cobol?
How do we get current date from system with century in COBOL?
How do you differentiate between cobol and cobol-ii?
In which area will you utilize 88 level items in cobol?
how do you reference the esds vsam file formats from cobol programs
What is the difference between goback, stop run and exit program in cobol?
Which is not true about evaluate statement
Describe the cobol database components?
Why occurs cannot be used in 01 level in COBOL?
In COBOL programming, what is PERFORM? What is VARYING?
what is difference between cobol and cobol/400
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?