What is the point of the REPLACING option of a copy
statement?

Answers were Sorted based on User's Feedback



What is the point of the REPLACING option of a copy statement?..

Answer / nk

Say you have a copybook for a certain record layout. You
want to use the copybook once for an input record and a
second time for an output record. By using replace, you
can use the same copybook twice in the same program, each
with a unique name.

Is This Answer Correct ?    4 Yes 0 No

What is the point of the REPLACING option of a copy statement?..

Answer / guest

Replacing allows for the same copy to be used more than
once in the same code by changing the replace value.

Is This Answer Correct ?    2 Yes 1 No

What is the point of the REPLACING option of a copy statement?..

Answer / pavan

can any one give exact syntax with an example...please...

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is SDSF?

13 Answers   IBM,


How can you get the ksds file records into your cobol program?

0 Answers  


How can we know that cobol program is using report file or simple file....?

4 Answers  


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 differences between COBOL and java ? why we are giving more preference to COBOL ?

3 Answers   TCS,


What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......

3 Answers   BirlaSoft,


1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


What will happen if we try to create GDG (+2) generaton instead of (+1) generation?

1 Answers  


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


level number 77 is used to define a)group data b)elementary data c)redefine d)none

8 Answers   TCS,


What is file status 92?

3 Answers  


Categories