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 / vikas
Just once. The 'move 1 to a' is not in the para1. So its is NOT infinite loop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
What are all the divisions of a COBOL program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Differentiate between structured cobol programming and object-oriented cobol programming.
Write the code implementing the perform … varying.
Explain what you understand by passing by value.
What is the difference between PIC 9.99 and PIC9v99?
What is amode(31)
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are the rules of the move verb?
When is inspect verb is used in cobol?
How do get the result of your program directly on your pc?
Can a Search can be done on a table with or without Index?
What is cobol?
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.