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
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Which Search verb is equivalent to PERFORM…VARYING?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is rmode(24)
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
how do you reference the variable block file formats from cobol programs
What are the cobol coding sheets?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Explain about different table spaces.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
State the various causes of s0c1, s0c5 and s0c7.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
) How do u handle errors in BMS macro?