On 30 Jan 2013 07:25, Laine, Rogers wrote:
I would like to run some jobs that product reports that go the OUTQ
QPRINT.
After the jobs complete I would like to copy the reports from the
OUTQ to a PF file to FTP file to the mainframe system. (CPYSPLF)
<<SNIP>>
After the issue with the code finding the spooled file is resolved,
there may be value in knowing that SNDNETSPLF enables sending of the
spooled report as a spool file without the huge loss of information that
would result from using CPYSPLF; i.e. may be better than copy and FTP.
See the DTAFMT() parameter of the Send Network Spool File for its
*ALLDATA and *RCDDATA special values. Of course for using TCP there is
SNDTCPSPLF (LPR) which also maintains the report as a spool file.