There are several different commands that you can use to copy files to and from tape.
You can copy a table or file to tape using the Copy to Tape (CPYTOTAP) command on the iSeries™ server.
Data on tape can be loaded on another server using the Copy from Tape (CPYFRMTAP) command. For more information about using the command, see the Storage solutions topic.
You can also use the Copy File (CPYF) command to load data on tape into DB2 Universal Database™ for iSeries. This is especially useful when loading data that was unloaded from DB2 Universal Database™ for z/OS®, or DB2 Universal Database Server for VM (SQL/DS™). Nullable data can be unloaded from these servers in such a way that a single-byte flag can be associated with each nullable field. CPYF with the *NULLFLAGS option specified for the FMTOPT parameter can recognize the null flags and ignore the data in the adjacent field on the tape and make the field null in DB2® UDB for iSeries. Another useful FMTOPT parameter value for importing data from IBM® mainframes is the *CVTFLOAT value. It allows floating point data stored on tape in S/390® format to be converted to the IEEE format used by DB2 UDB for iSeries.