Merge VSAM Files and Convert to One Datacom/DB Table

Learn how to merge multiple VSAM files that share prime key data to a single Datacom/DB table.
To convert multiple VSAM files that share prime key data to a single
Datacom/DB
table, complete the following procedure:
  1. Write a program to produce a sequential file. This program must:
    • Read each source VSAM file.
    • Merge all common portions of the files.
    • Preserve the unique portions of each file.
  2. Initialize the data area by executing the
    INIT AREA
    function of DBUTLTY.
  3. Code a control statement for the
    LOAD AREA
    function of DBUTLTY.
  4. Convert the data to that area directly from the load file created by your program. Use the
    LOAD AREA
    function of DBUTLTY.