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 / ajith
9
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Give some examples of command terminators?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the difference between goback, stop run and exit program in cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How do define dynamic array in cobol.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How many sections are there in data division in COBOL?
What is the difference between comp and comp-3 usage?
What is rmode(24)
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Can we change the password using ALTER? anyone tried and changed?
What are all the divisions of a COBOL program?