gaqjames.blogg.se

As400 copy physical file to ifs
As400 copy physical file to ifs













The spooled files can optionally be converted using a workstation customizing object, which allows the spooled file to be converted to other formats. Starting in 7.1 i5/OS, the Copy Spooled File ( CPYSPLF) command can be used to copy spooled files to a stream file in the Integrated File System (IFS). The CPYSPLF command also does not work with spooled files that have control characters and are generated with the Unprintable character action (RPLUNPRT) parameter set to *NO in the spooled file attributes. For more information, refer to Example 7: Copying the Data from an ASCII Text File on a PC Back to an Physical File Member Using FTP below. In this case, the best option would be to copy the text of the *AFPDS spooled file to a PC using System i Navigator, using the instructions in the following document, if needed:Ĭopying the Text from a Spooled File Using System i NavigatorĪnd then using FTP in ASCII mode to copy the data from the PC text file back to a physical file member. Running the CPYSPLF command on *AFPDS spooled files will result in receiving message CPF3429 with reason code 4, which indicates that the spooled file "contains only advanced function printing data stream (AFPDS) data".

as400 copy physical file to ifs

Running the CPYSPLF command on *USERASCII spooled files will result in receiving message CPF3429 "File &1 number &7 cannot be displayed, copied, or sent" with reason code 3, which indicates that the spooled file "contains only ASCII data intended for a personal computer printer". The CPYSPLF command can be used to copy *SCS and *LINE spooled files, those spooled files that are generated with the Printer device type (DEVTYPE) parameter set to *SCS or *LINE in the spooled file attributes however, this does not work on *AFPDS or *USERASCII spooled files and may not work on *IPDS spooled files.

as400 copy physical file to ifs

This document shows different uses of the Copy Spooled File ( CPYSPLF) command including how to re-create a spooled file with different attributes or how to create a PC file from an existing spooled file.















As400 copy physical file to ifs