Importing data to the System i platform 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 System i™ platform:

  1. Create an 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.

    Records are not copied in parallel when the from stream file (FROMSTMF) parameter is specified.

 

Parent topic:

Using the Copy From Import File (CPYFRMIMPF) command to copy between different systems

 

Related concepts


Using the Copy From Import File (CPYFRMIMPF) command to copy between different systems