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

how do u link sub pgm to main pgm ?

2 Answers   TCS,


WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?

3 Answers   TCS,


Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.

2 Answers   TCS,


What are the different rules of SORT operation?

0 Answers  


How to open and see copy book ?

3 Answers  






In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

1 Answers   CSC,


How to increase the logical record length of existing PS file?

7 Answers  


01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases

6 Answers   Patni,


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


how can we code index in an array of cobol pgm?

1 Answers   Wipro,


how to display the dataset information?

2 Answers  


Categories