To copy a file to the QNetWare file system, you can use either iSeries™ Navigator or the CPY command. However, because no conversion is done, the resulting file in the QNetWare file system may not be useful. You can see an example of copying an iSeries database file that requires conversion from the packed decimal format.
Copying a file from iSeries Navigator:
Copying a file with the COPY (or CPY) command:
To copy source physical file FILE1 in library LIBRARY1 with member MEMBER1 to the SYS: volume on NetWare server SERVER1 in directory DTA, you would use this command:
CPY OBJ('/QSYS.LIB/LIBRARY1.LIB/FILE1.FILE/MEMBER1.MBR') TOOBJ('/QNETWARE/SERVER1.SVR/SYS/DTA/MEMBER1.DAT') TOCODEPAGE(437) DTAFMT(*TEXT)