When would you use in-line perform?
Answers were Sorted based on User's Feedback
Answer / jana.gadi
we can use in-line perform in the case if the body of the
perform will not be used in any other place of the program
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / lenin
If you want the code to be executed only once, use inline
perform. SO the codes should be enclosed by perform and End-
Perform.
Is This Answer Correct ? | 1 Yes | 2 No |
What is level 66 used for ?
wht happens if we dnt give scope terminator ?
what is MSGLEVEL?
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..
where will u code file status ?
how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
How do you define a variable of comp-1 and comp-2?
DATAONLY, MAPONLY functionality?
what are the error codes in cobol, db2, cics, vsam , and jcl
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
How do you differentiate between cobol and cobol-ii?
How to read the last 100 records from a COBOL file. The file contains N number of records.