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
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Why did you choose to work with ibm mainframe cobol programming?
In COBOL programming, what is PERFORM? What is VARYING?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How many sections are there in data division in COBOL?
Write some characteristics of cobol as means of business language.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Explain about different table spaces.
What are declaratives and what are their uses in cobol?
What is link edit in cobol?
Why occurs cannot be used in 01 level in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?