How many times the loop runs here
01 a pic 9(2) value 1.
perform para1 until a=10
move 1 to a.
stop run.
para1:
move 10 to a.

Answer Posted / priyanka

Para1 would be executed 1 time. after 1st time the value of
a is 10 and it comes out of loop.

it move 1 to a and stop execution.

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the cobol database components?

686


) How do u handle errors in BMS macro?

1435


What is the utilization of copybook in cobol?

666


What is cobol?

752


What is the default value(s) for an initialize and what keyword allows for an override of the default?

701






if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5702


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1852


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2733


What is link edit in cobol?

780


What is rmode(24)

686


how do you reference the variable unblock file formats from cobol programs

757


Which Search verb is equivalent to PERFORM…VARYING?

694


What is the difference between perform … with test after and perform … with test before?

893


Why did you choose to work with ibm mainframe cobol programming?

637


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1964