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
What are the different open modes available in cobol?
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
how do you reference the rrds file formats from cobol programs
Have you used comp and comp-3 in your project? And how?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How to print 10 to 1 if the input have only 10 digit number?
IF I mention stop run in CICS what happens?
What is the difference between Global and External Variables?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the difference between perform … with test after and perform … with test before?
Which Search verb is equivalent to PERFORM…VARYING?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
HOw can I get the negative sign while deduct high value from low value
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Mention the guidelines to write a structured cobol program?