If A>B
next sentence
end-if
display 1
display 2.
display 3.
If a>b, it will display only 3.(the next sentence,
ie., after fullstop/period)
____________________________________
if a>b
continue
end-if
display 1
display 2.
display 3.
If a>b, it Will display 1 2 3 (the next statement)
____________________________________
if a>b
continue
display 1
end-if
display 2
display 3.
display 4.
If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
Answer Posted / kamal
if a>b
continue
display 1
end-if
display 2
display 3.
display 4.
it will disply 1,2,3,4.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Write the code implementing the perform … varying.
What is the difference between next sentence and continue in cobol programing language?
What is redefines clause in COBOL?
Name the divisions, which are available in a cobol program?
What are the different data types in cobol?
i need a small 3d program using inline and outline.
What is the difference between goback, stop run and exit program in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
HOw can I get the negative sign while deduct high value from low value
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the problem of ordered sequential files access?
How to remove 2 duplicate records and copy only one using job control language?
How do define dynamic array in cobol.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
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?