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 EIBCALEN? Why it is used?

9 Answers   ADP,


i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19

2 Answers  


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


What are decleratives in COBOL ?

1 Answers   Xansa,


how to transfer the file from pc to mainframe??

5 Answers   TCS,






what is S04E error in jcl?

11 Answers   IBM, L&T,


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......

2 Answers   IBM,


What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

7 Answers   TCS,


What is the difference between Global and External Variables?

0 Answers  


COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.

7 Answers   HCL,


In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

1 Answers   CSC,


Categories