What is an in line PERFORM? When would you use it? Anything
else to say about it?

Answers were Sorted based on User's Feedback



What is an in line PERFORM? When would you use it? Anything else to say about it?..

Answer / ravikumar

Inline perform executes set of statments without going to
any paragraph written seperately.Depending on
scenario.....for example,when you are using the internal
table of small size..

Is This Answer Correct ?    2 Yes 1 No

What is an in line PERFORM? When would you use it? Anything else to say about it?..

Answer / hemanth reddy

Inline perform is used for that paragrapg only

Ex:Move 0 to sum-of-digits.
Move 1 to counter.
perform until counter > N
Add counter to sum-of-digits
Add 1 to counter
End-perform.

Is This Answer Correct ?    1 Yes 0 No

What is an in line PERFORM? When would you use it? Anything else to say about it?..

Answer / sreenath

perform until <cond>
<stmt>
<stmt>
end perform.
-the stmts which are between perform & end perform will be
executed till the specified cond is satisfied.
-there should be no periods between perform & end perform.

Is This Answer Correct ?    1 Yes 0 No

What is an in line PERFORM? When would you use it? Anything else to say about it?..

Answer / mallappa

Inline perform executes set of statments at once .

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

What type of Call you would use if you don;t want the control back to the calling program?

8 Answers   TCS,


how to display comp3 variables reply soon ?

4 Answers   Patni,


I have a File that has duplicate records. I need only those records that occur more than thrice.?

3 Answers   IBM, Wipro,


When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these

6 Answers   Wipro,


How do you do in-line PERFORM?

4 Answers   Accenture,






can we use COPY statement in w-s section? how?

3 Answers  


COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.

7 Answers   HCL,


How is sign stored in a COMP field ?

3 Answers   Accenture,


How many divisions we have in Cobol ?

4 Answers   Wipro,


1.Can we define condition-name conditions in FD entry.

11 Answers  


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree

3 Answers   Merrill Lynch,


Categories