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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the LINKAGE SECTION used in COBOL?

889


What is the difference between comp and comp-3?

702


Write a program to explain size error.

677


What kind of error is trapped by on size error option?

740


What is the usage of comp fields in cobol?

658






Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

823


Which Search verb is equivalent to PERFORM…VARYING?

685


Explain how to differentiate call by context by comparing it to other calls?

689


What are the different rules for performing sort operation?

763


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8656


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


Define cobol?

862


How do u write test cases?

1638