Have you used comp and comp-3 in your project? And how?



Have you used comp and comp-3 in your project? And how?..

Answer / Pravin Kumar Tiwari

COMP (Computer Program) is a COBOL statement that allows users to call external programs or routines. COMP-3 is an extension of the COMP command, allowing for recursive calls. In my projects, I have utilized these statements to integrate and reuse existing code modules, improving efficiency and reducing redundancy.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

In an EVALUATE statement, can I give a complex condition on a when clause?

2 Answers  


how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please

2 Answers  


example for sub strings ? and refernce modifications whit output pls

1 Answers   College School Exams Tests, IBM,


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


what is the difference between PA & PF keys?

1 Answers   IBM,


In a program, variables are used but no DB2 involved in it. Can you call it as host variables??

4 Answers   EDS,


What are the pertinent COBOL commands?

1 Answers   Satyam,


how to move the records from file to array table. give with code example

1 Answers   ADP, Syntel,


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1 Answers  


Can printer files (having 133 characters) be of variable length?

3 Answers  


i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.

9 Answers   Syntel,


Categories