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 / satish29
Infinite loop because w-num value does not change.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is rmode(any) ?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is amode(24)?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Explain how you can characterize tables in cobol?
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...)
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is rmode(24)
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
In COBOL, what is the different between index and subscript?
what is the use of outrecord?
What is the difference between next sentence and continue in cobol programing language?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?