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 / rahul
as the variable W-NUM is single digit (PIC 9), it will
never be greater than 9. Hence the loop will be infinite.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
i need a small 3d program using inline and outline.
Can we redefine the field of x(200) to less than 200?
What is the difference between Global and External Variables?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Write a program to explain size error.
What are the pertinent COBOL commands?
What type of SDLC u followed? Why?
How do you get the data to code the BMS macro?
Can a Search can be done on a table with or without Index?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
HOw can I get the negative sign while deduct high value from low value
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are literals?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how to access the file from prodution from changeman tool and to submit a file to production