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


Please Help Members By Posting Answers For Below Questions

What are the access modes of START statement?

716


Discuss about changing dataset name in proc.

757


i need a small 3d program using inline and outline.

1629


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

639


What is the difference between next sentence and continue in cobol programing language?

707






What is Pic 9v99 Indicates in COBOL?

722


Why occurs cannot be used in 01 level in COBOL?

711


How do you get the data to code the BMS macro?

1472


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

699


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1646


What is perform what is varying?

701


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

670


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.

3713


Write some characteristics of cobol as means of business language.

614


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

704