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 / guest
it will go in a infinite loop. But simply because
when W-NUM is 9, after "ADD 1 TO W-NUM", W_NUM would again
become 0.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Name the sections present in data division.
what is the use of outrecord?
What do you understand by psb and acb?
Write a program to explain size error.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the difference between comp and comp-3 usage?
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 Oriented COBOL programming?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Name the divisions, which are available in a cobol program?
What is a report item?
Write down the divisions of cobol program?