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
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between comp and comp-3?
What is inspect in cobol ?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Describe the cobol database components?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how do you reference the fixed unblock file formats from cobol programs
what is difference between cobol and cobol/400
Write a program to enter and display the names of students in a class using the occurs clause.
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write a cobol program making use of the redefine clause.
What is the LINKAGE SECTION used in COBOL?
A table has two indexes defined. Which one will be used by the SEARCH?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are the various section in data division and briefly explain them.