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 / rkt
Hi,
If a=b then para a-test will be performed from a-test to
a-exit , once it will be completed the control will returns
back to perform statement at line number 7 then the next
sentence statement will be executed. when next sentence will
be executed the control will look for a period (.) if it
finds then it will execute just after line of the para. here
it is if a=d , So the control will check for the condition
a=d and if its true then will perform d-test through d-exit.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is a report item?
What is perform what is varying?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Differentiate between structured cobol programming and object-oriented cobol programming.
Can you please let me know the centre name of INS certification in Kolkata.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Have you used comp and comp-3 in your project? And how?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is cobol?
What is rmode(24)
what is the difference between COBOL2 AND COBOL390?
State the various causes of s0c1, s0c5 and s0c7.
What is a SSRANGE and NOSSRANGE?
How do you get the data to code the BMS macro?