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 / vinod
it dirctly move 10 to a when perform para1 until a=10
after that it moves to the para the condition is checked
and pass the a value to 10.
again the perform is check the condion its true move the
value to 1.agin it passes the same so it is a infinite loop.
| Is This Answer Correct ? | 3 Yes | 23 No |
Post New Answer View All Answers
What is static and dynamic call in cobol?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Whats the difference between search & search ALL?
What is amode(24)?
What is the LINKAGE SECTION used in COBOL?
HOw can I get the negative sign while deduct high value from low value
what is difference between cobol and cobol/400
) How do u handle errors in BMS macro?
Mention the guidelines to write a structured cobol program?
What is the utilization of copybook in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.