if a=b how the flow will complete???
perform test through test-exit.
perform activa through activa-exit.
test.
if a=b then
next sentence
else
move a to c.
test-exit.
exit.
activa.
--
--
activa-exit.
exit.
Answer Posted / subbu
It will come out of the activa-exit.
Mans a the condition is a=b fist it will perform "perform
test through test-exit."
if a=b then
next sentence --> comes here
else
move a to c.
test-exit.
exit.
As it is satisfying the if part it should go to next
sentence i.e it will come out of the text-exit.
Now it will perform "perform activa through activa-exit."
so it will come out of the activa-exit.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
HOw can I get the negative sign while deduct high value from low value
) how do u code after getting data?
Define static linking and dynamic linking.
what is amode(24), amode(31), rmode(24) and rmode(any)?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the usage of comp fields in cobol?
How can you get the ksds file records into your cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What guidelines should be followed to write a structured cobol prgm?
how can i see junk values in dclgen or in hostvariable of comp ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?