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 is R-mode and A-mode?
How to retrive the 9th records out of ten records using the cobol program ?
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?
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
What is the difference between perform … with test after and perform … with test before?
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.
01 A pic 9(100) find record length of it
I want ALL jcl ERROR cods
What is the difference between structured cobol programming and object alternativelyiented cobol?
Explain about different table spaces.
i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.
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