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 are some examples of command terminators?
What is the maximum length of a field you can define using COMP-3 in COBOL?
What is the meaning of 'TALLING' verb in cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.
can we read records in a file from botom to top. if possible how can we read
What is the point of the REPLACING option of a copy statement?
What is the difference between a binary search and a sequential search?
what happens if we wont give timestamp in precompilation process ?
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
What is cobol?
when COMP-3 is preferrable?