Importing data to iSeries when the import file is a stream file

You can use the Copy from Import File (CPYFRMIMPF) command to import data from a stream file.

If the import file is a stream file, use the following steps for importing data to the iSeries™:

  1. Create a DB2® for iSeries externally described database file, or DDM file, which will contain the resultant data of the import file.
  2. Use the CPYFRMIMPF command to copy (translate or parse the records) from the import file to the to-file. For importing large files, you can have the import file split-up into multiple parts. The multiple parts then process in parallel.
    Note: Start of changeRecords are not copy in parallel when the from stream file (FROMSTMF) parameter is specifiedEnd of change
Related concepts
Use the Copy From Import File (CPYFRMIMPF) command to copy between different servers