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
What are various search techniques in cobol? Explain.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do you reference the following file formats from cobol programs?
What is the Purpose of Pointer in the string?
Write a program that uses move corresponding.
Are you comfortable in cobol or jcl?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is amode(31)
What are declaratives and what are their uses in cobol?
What is static and dynamic call in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is rmode(24)
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?