I'm using SPLNBR(*LAST) in CPYSPLF command to only look for last report.
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Wednesday, January 30, 2013 9:28 AM
To: Midrange Systems Technical Discussion
Subject: RE: Sending Reports to Mainframe
You may be able to use *ONLY, *LAST or *ANY,
depending on your circumstances...
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Laine, Rogers
Sent: Wednesday, January 30, 2013 8:25 AM
Subject: Sending Reports to Mainframe
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)
So here are my questions....
If I use the CPYSPLF command below it is unable to locate file QPQUPRFIL as shown in the CPYSPLF below?
I know it will work if I add the Job name, User, and specify SPLNBR, but how do I determine the SPLNBR to pass to the CPYSPLF command?
CPYSPLF FILE(QPQUPRFIL) TOFILE(SYST012/PSDAILYRPT) SPLNBR(*LAST) TOMBR(AACL28DS)
Device or Total Cur
File User Queue User Data Sts Pages Page Copy Nbr Job User Number
QPQUPRFIL SYST012 QPRINT AADSTPASS RDY 2 1 2 AADSTPASS SYST012 983882
This E-Mail transmission (and/or the documents accompanying it) may contain information belonging to the sender which is confidential, privileged and/or exempt from disclosure under applicable law. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this E-Mail transmission in error, please immediately notify us by return E-Mail or telephone to arrange for return of its contents including any documents.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l