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

A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25

3 Answers   TCS,


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


how would you resolve sb37 and SE37?

2 Answers   Hewitt,


what is s013u000 for?

1 Answers   Hewitt,






I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?

1 Answers   CTS,


Explain about level numbers?

3 Answers  


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

0 Answers  


Write a cobol program making use of the redefine clause.

0 Answers  


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


can we use reference modification an arry.

1 Answers  


Categories