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
how to convert the recors form vsam file to db2 table tru file aid
How you can characterize tables in cobol?
What is the difference between Call and a Link?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Write some characteristics of cobol as means of business language.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are 77 levels used for?
how do you reference the esds vsam file formats from cobol programs
What is the difference between external and global variables in COBOL?
how do you reference the printer file formats from cobol programs
What is rmode(any) ?
Difference between array and sub-script ?
What are the different open modes available in cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What are the cobol coding sheets?