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 / thrivikram
it goes into infinite loop.
when w-num =9 , it will become 0
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
how can i see junk values in dclgen or in hostvariable of comp ?
What is the difference between PIC 9.99 and PIC9v99?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
) how do u code after getting data?
What is the problem of ordered sequential files access?
What are different data types in cobol?
What are 77 levels used for?
Difference between array and sub-script ?
Are you comfortable in cobol or jcl?
What are the different rules for performing sort operation?
How to print 10 to 1 if the input have only 10 digit number?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between perform … with test after and perform … with test before?
What is the difference between next sentence and continue in cobol programing language?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?