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

How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

5 Answers   TCS,


what is the difference between Plan & package?

1 Answers   IBM,






what is Pic 9v99 Indicates?

2 Answers  


What are the differences bitween cobol and cobol-2?

1 Answers   Wipro,


What is a scope terminator give example?

0 Answers  


What is the reference modification.

2 Answers  


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

0 Answers  


wht do u mean by (*,intrdr) wht is * used for ?

2 Answers  


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


Categories