How many times the loop runs here
01 a pic 9(2) value 10.
perform para1 a times
stop run.
para1:
move 20 to a.
Answer Posted / shiva
initally a=10
perfrm para1 a(10) times
move 20 to a...so now a=20
now again perform para1 a(20)times
and loop goes on
hence infinite loop
| Is This Answer Correct ? | 3 Yes | 5 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?
What are the rules of the move verb?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Can we redefine the field of x(200) to less than 200?
What is the use of intialize verb?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between comp and comp-3 usage?
what happens if parmparameter passes zero bytes to the program
What guidelines should be followed to write a structured cobol prgm?
How to remove 2 duplicate records and copy only one using job control language?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is Pic 9v99 Indicates in COBOL?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?