Answer Posted / jegadeesan
1. PERFORM PARA-NAME
2. PERFORM PARA-NAME N TIMES
3. PERFORM PARA-NAME UNTIL I > N
4. PERFORM PARA-NAME-1 THRU PARA-NAME-2
5. PERFORM PARA-NAME-1 THRU PARA-NAME-2 N TIMES
6. PERFORM PARA-NAME-1 THRU PARA-NAME-2 UNTIL I > N
7. PERFORM PARA-NAME-1 THRU PARA-NAME-2 VARYING I FROM 1 BY
1 UNTIL I > N
8. PERFORM PARA-NAME-1 THRU PARA-NAME-2 WITH TEST [BEFORE /
AFTER] VARYING I FROM 1 BY 1 UNTIL I > N
9. (IN-LINE PERFORM)
PERFORM I > N
END-PERFORM
Suggestions are welcome
JRamu
| Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why would you use find and get rather than to obtain?
what is difference between cobol and cobol/400
What is the difference between comp and comp-3 usage?
What is the difference between next sentence and continue in cobol programing language?
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?
What is the difference between external and global variables in COBOL?
How many sections are there in data division in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
A table has two indexes defined. Which one will be used by the SEARCH?
Why occurs cannot be used in 01 level in COBOL?