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
What is difference between static and dynamic call in cobol?
Write the code implementing the perform … varying.
what is the use of outrecord?
What are the pertinent COBOL commands?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Which Search verb is equivalent to PERFORM…VARYING?
How do you reference the following file formats from cobol programs?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain about different table spaces.
In COBOL programming, what is PERFORM? What is VARYING?
A table has two indexes defined. Which one will be used by the SEARCH?
Why would you use find and get rather than to obtain?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Why did you choose to work with ibm mainframe cobol programming?