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 / satish29
Infinite loop because w-num value does not change.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is comp-1 and comp-2?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do you reference the following file formats from cobol programs?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are the various section in data division and briefly explain them.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
what is the use of outrecord?
Have you used comp and comp-3 in your project? And how?
what is difference between cobol and cobol/400
Name the divisions, which are available in a cobol program?
What type of SDLC u followed? Why?
What is the difference between perform … with test after and perform … with test before?
In which area will you utilize 88 level items in cobol?
what are decleratives in cobol?
Explain about different table spaces.