What is an in line PERFORM? When would you use it? Anything
else to say about it?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

1858


What the difference is between continue and next sentence?

751


Write a cobol program making use of the redefine clause.

827


Write some characteristics of cobol as means of business language.

708


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

834






i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

982


For rewrite, why is it mandatory that file needs to be opened?

712


Why would you use find and get rather than to obtain?

777


What is rmode(any) ?

777


Are you comfortable in cobol or jcl?

719


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

2448


Explain the configuration section of a cobol program with examples of syntax.

754


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

774


How to remove 2 duplicate records and copy only one using job control language?

875


how to convert the recors form vsam file to db2 table tru file aid

2853