Using the Copy To Import File (CPYTOIMPF) command to copy between different systems

 

The Copy To Import File (CPYTOIMPF) command copies the data from the from-file (typically a database file) to an import file.

You can then move the import file (or file to be exported) to your platform by any method you choose, such as TCP/IP file transfer (text transfer), iSeries™ Access support (file transfer, ODBC), or the Copy To Tape File (CPYTOTAP) command. Your system then handles the data from the import file.

You can also specify a stream file, and the CPYTOIMPF command will copy the data to the stream file.

 

Parent topic:

Copying between different systems

 

Related concepts


Handling data from the import file

 

Related reference


Notes on the CPYTOIMPF command