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.
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 |
what is scope terminator
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
What are subroutines ? and how do we pass data to the sub routines?
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
which one is the best of com and com-3.using of real time ?
where will u code file status ?
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
wht is packed decimal in cobol
HOw can I get the negative sign while deduct high value from low value
Suppose i want to declare a binary comp fild of 7 byte .how to write?