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™:
- Create a DB2® for iSeries externally
described database file, or DDM file, which will contain the resultant data
of the import file.
- 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: Records
are not copy in parallel when the from stream file (FROMSTMF) parameter is
specified