Consider the following:
77 W-NUM PIC 9 VALUE 0
------
MOVE 1 TO W-NUM
PERFORM PARA-X UNTIL W-NUM > 9.
------
PARA-X
ADD 1 TO W-NUM
How many times PARA-X is executed ?
Answer Posted / hemanth reddy
Sorry i thought that it is < 9 .
If it is less than 9 it is correct.
If it is > 9 then it goes to infinite loop
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
Explain how you can characterize tables in cobol?
how do you reference the variable block file formats from cobol programs
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
what is the difference between COBOL2 AND COBOL390?
Explain about different table spaces.
) what is the difference between AID and HANDLE AID?
Write the code implementing the perform … varying.
how to move the records from file to array table. give with code example
Name some of the examples of COBOl 11?
how do you reference the variable unblock file formats from cobol programs
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Explain what you understand by passing by value.
In COBOL, what is the different between index and subscript?
Can we redefine the field of x(200) to less than 200?