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
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 ?
Why would you use find and get rather than to obtain?
Can we redefine the field of x(200) to less than 200?
What are the different types of condition in cobol and write their forms.
What are the different rules of SORT operation?
How many sections are there in data division in COBOL?
Write a program that uses move corresponding.
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
what is difference between cobol and cobol/400
What is the difference between Call and a Link?
) what is the difference between AID and HANDLE AID?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
how can i see junk values in dclgen or in hostvariable of comp ?
Mention the guidelines to write a structured cobol program?
Why occurs cannot be used in 01 level in COBOL?