1.

How Do You Convert Flat Files To Vsam Files?

Answer»

Flat files are converted into VSAM files by following process:

  •  Identify the primary key, when the WHOLE record can be primary key.
  •  Alternate key can also be used, if needed
  •  File is to be sorted by primary key or the whole record
  •  Utilize the SORT STATEMENT for dropping duplicates.
  •  A JCL COMMAND ( IDCAMS – Define Cluster) need to be submitted by using the result of sorting mechanism(mentioned above) as input
  •  Use the command IDCAMS REPRO for loading the flat file into the VSAM file.

 

Flat files are converted into VSAM files by following process:

 



Discussion

No Comment Found