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
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Write a program that uses move corresponding.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What kind of error is trapped by on size error option?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
) How do u handle errors in BMS macro
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Why would you use find and get rather than to obtain?
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 do you reference the variable unblock file formats from cobol programs
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)