It is strongly recommended that you pre-create any files that are to be transferred into the iSeries™ QSYS.LIB file system. This is the best method of ensuring that your data is transferred reliably and effectively with optimal performance and integrity.
Be sure to allocate enough records to accommodate the entire file. On the iSeries this is done in the SIZE parameter of the Create Physical File (CRTPF) command.
Ensure that the RCDLEN parameter of the Create Physical File (CRTPF) command is adequate to accommodate the maximum record length expected.