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 redefines clause in COBOL?
In COBOL, what is the different between index and subscript?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Difference between array and sub-script ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Write a program to enter and display the names of students in a class using the occurs clause.
) what is the difference between AID and HANDLE AID?
Describe the cobol database components?
What is the difference between Global and External Variables?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Write a cobol program making use of the redefine clause.
How to print 10 to 1 if the input have only 10 digit number?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?