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 / rahul
as the variable W-NUM is single digit (PIC 9), it will
never be greater than 9. Hence the loop will be infinite.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What do you understand by psb and acb?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
explain sorting techniques in cobol program?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How can you get the ksds file records into your cobol program?
What is rmode(any) ?
) How do u handle errors in BMS macro
How do get the result of your program directly on your pc?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are the pertinent COBOL
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
In COBOL, what is the different between index and subscript?
How do you reference the following file formats from cobol programs?