what r the types of perform statement

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


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol?

767


Differentiate between structured cobol programming and object-oriented cobol programming.

679


what is difference between cobol and cobol/400

21600


In COBOL, what is the different between index and subscript?

776


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

685






input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1886


Define static linking and dynamic linking.

688


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

728


example for sub strings ? and refernce modifications whit output pls

1860


State the various causes of s0c1, s0c5 and s0c7.

668


What are literals?

640


What is the difference between goback, stop run and exit program in cobol?

945


How do get the result of your program directly on your pc?

1891


A table has two indexes defined. Which one will be used by the SEARCH?

776


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1968