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 is R-mode and A-mode?

3 Answers   TCS,


How to retrive the 9th records out of ten records using the cobol program ?

3 Answers   UST,


Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?

1 Answers  


Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,


What is the difference between perform … with test after and perform … with test before?

0 Answers  






How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


01 A pic 9(100) find record length of it

6 Answers   TCS,


I want ALL jcl ERROR cods

1 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


Explain about different table spaces.

0 Answers  


i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.

2 Answers   Wipro,


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

0 Answers  


Categories