I have been asked to obtain a copy of a PCL file from CA Spool. This file arrives in CA Spool as an AFP file and gets transformed to a PCL. The PCL file gets purged after it gets printed. Here is the node statement for the printer:
NODE PRNXXX,TCP,TCPHOST=n.n.n.n,TRANSFRM=A2PCKRYZ,CLASS=E,
PURGE=NO
I added the K option to the TRANSFRM parameter to keep the PCL file after transformation and also PURGE=NO.
The problem is that whatever I do, the PCL file gets purged.
I see the following message:
ESF106 FILE 6806 PURGED, OWNER=owner DEST=PRNXXX INITIATED BY FQE RETAIN=-1
Release : 12.0 14.0
Component : CA Spool
If the K option is used the file before transformation is kept so using PURGE=NO would cause a duplicate retention of the file.
If you want to keep the file before transformation use the K option in the TRANSFRM keyword
If you want to keep the output of the transformation (file with FCB=ASIS) then remove the K option from the TRANSFRM keyword and add PURGE=NO.
Examples:
To keep the file before transformation:
NODE PRNXXX,TCP,TCPHOST=n.n.n.n,TRANSFRM=A2PCKRYZ,CLASS=E
To keep the file after transformation:
NODE PRNXXX,TCP,TCPHOST=n.n.n.n,TRANSFRM=A2PCRYZ,CLASS=E, <- No "K" option
PURGE=NO