When would you use in-line perform?

Answers were Sorted based on User's Feedback



When would you use in-line perform?..

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

When would you use in-line perform?..

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

Post New Answer

More COBOL Interview Questions

What is level 66 used for ?

3 Answers   TCS,


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


what is MSGLEVEL?

1 Answers   IBM,


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..

2 Answers   EDS,


where will u code file status ?

2 Answers   TCS,






how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

2 Answers  


How do you define a variable of comp-1 and comp-2?

0 Answers  


DATAONLY, MAPONLY functionality?

1 Answers   IBM,


what are the error codes in cobol, db2, cics, vsam , and jcl

2 Answers   TetraSoft,


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?

5 Answers   IBM,


How do you differentiate between cobol and cobol-ii?

0 Answers  


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


Categories