Explain the process in which flat files are converted into VSAM files.

devquora
devquora

Posted On: Feb 22, 2018

 

Flat files can be converted into VSAM files with this process.

  • First, identify the primary key or the whole record can be the primary key top. You can also use the alternate key if necessary.
  • All the files are to be sorted by the primary key or by the whole record.
  • The "Sort" command can be used to delete all the duplicates from files.
  • One JCL/ IDCAMS command needs to be submitted with the result got by sorting mechanism. This result should be input.
  • Finally, the IDCAMS command for "Repro" should be used to load the flat file into a VSAM file.
  • In this way, one can convert flat files into a VSAM file.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    VSAM Interview Questions

    What is a VSAM dataset?

    There are three types of datasets access methods used by VSAM...

    VSAM Interview Questions

    Explain about the file objects in VSAM?

    Every file in VSAM has two objects which define this storage system...