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
For rewrite, why is it mandatory that file needs to be opened?
how do you reference the printer file formats from cobol programs
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Write a cobol program making use of the redefine clause.
Write the code implementing the perform … varying.
What is rmode(any) ?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
i need a small 3d program using inline and outline.
how do you reference the variable unblock file formats from cobol programs
How arrays can be defined in COBOL?
How do you differentiate between cobol and cobol-ii?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
) what is the difference between AID and HANDLE AID?
explain sorting techniques in cobol program?