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

give the examples for strings and unstrings in cobol

2 Answers   IBM,


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?

1 Answers  


How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?

3 Answers   Cap Gemini, CTS,


What is Comm?

2 Answers   IBM, Kemper Corporation,






HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?

2 Answers   Cap Gemini,


what is the use of comp2 ? where can we use it with example ?

3 Answers   Covansys,


what is Reentrancy and Quasi-reentrancy?

1 Answers  


i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast

4 Answers   L&T,


how can u redefine picx(10) with pic 9(6).

3 Answers   TCS,


What is Static and Dynamic linking ?

3 Answers  


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

0 Answers   IBM,


Categories