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
What is the default value(s) for an initialize and what keyword allows for an override of the default?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how to access the file from prodution from changeman tool and to submit a file to production
What guidelines should be followed to write a structured cobol prgm?
i need a small 3d program using inline and outline.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Write some characteristics of cobol as means of business language.
What is link edit in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between PIC 9.99 and PIC9v99?
Write a program to explain size error.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is Pic 9v99 Indicates in COBOL?