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 the access modes of START statement?
Discuss about changing dataset name in proc.
i need a small 3d program using inline and outline.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between next sentence and continue in cobol programing language?
What is Pic 9v99 Indicates in COBOL?
Why occurs cannot be used in 01 level in COBOL?
How do you get the data to code the BMS macro?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is perform what is varying?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Write some characteristics of cobol as means of business language.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?