You are on page 1of 4

Assignment-2.

1.What are the Perform statements in cobol? What is the use?

 Simple PERFORM
 In-line PERFORM
 Nested PERFORM
 PERFORM . . . THRU
 PERFORM . . . UNTIL
 PERFORM . . . TIMES
 PERFORM . . . VARYING
PERFORM verb which is used to create the looping constructs. The PERFORM has several variations
each of which simulates different looping constructs of other programming languages

2.How many Perform statements are there in cobol?

 Simple PERFORM
 In-line PERFORM
 Nested PERFORM
 PERFORM . . . THRU
 PERFORM . . . UNTIL
 PERFORM . . . TIMES
 PERFORM . . . VARYING

1.Simple Perform.
2.Perform through
3.Perform until.

4.Perform Varying
5.Perform times.

You might also like