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
Can we redefine the field of x(200) to less than 200?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are 77 levels used for?
How many sections are there in data division in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do we get current date from system with century in COBOL?
how do you reference the fixed unblock file formats from cobol programs
What is the usage of comp fields in cobol?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Can you please let me know the centre name of INS certification in Kolkata.
How do you reference the following file formats from cobol programs?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do you get the data to code the BMS macro?
what happens if parmparameter passes zero bytes to the program