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 / khasim
compile error.
d-test and d-exit. not defined in Procedure division.
if we code the d-test and d-exit.
control goes to d-exit. not goback to a-test1.
after d-exit, it will go back.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How arrays can be defined in COBOL?
How do get the result of your program directly on your pc?
Give some examples of command terminators?
what is search and searchall?what is the diffrence between them?give an best example?
How do you reference the following file formats from cobol programs?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What are declaratives and what are their uses in cobol?
What is rmode(24)
Discuss about changing dataset name in proc.
A table has two indexes defined. Which one will be used by the SEARCH?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
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?
Have you used comp and comp-3 in your project? And how?
what happens if parmparameter passes zero bytes to the program
What are the different rules to perform a Search?