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
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 |
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 |
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 |
Answer / mallappa
Inline perform executes set of statments at once .
Is This Answer Correct ? | 0 Yes | 2 No |
What type of Call you would use if you don;t want the control back to the calling program?
how to display comp3 variables reply soon ?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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
How do you do in-line PERFORM?
can we use COPY statement in w-s section? how?
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
How is sign stored in a COMP field ?
How many divisions we have in Cobol ?
1.Can we define condition-name conditions in FD entry.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree