http://www.iseriesnetwork.com/article.cfm?id=20533
Retrieve jobs last spoolfile (QSPRILSP)

bryan



Justin Taylor wrote on 8/6/2015 1:50 PM:
Well that didn't work so well. The spooled file generated by RUNJVA CLASS() PARM() OUTPUT(*) is from a different job, so a simple CPYSPLF FILE(QPRINT) TOFILE(PF/QTEMP) JOB(*) SPLNBR(*LAST) doesn't cut it.



-----Original Message-----
From: Justin Taylor [mailto:JUSTIN@xxxxxxxxxxxxx]
Sent: Thursday, August 06, 2015 10:28 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: Redirect 5250 RUNJVA output

No errors in the joblog.

I guess I can just for batch do:
OVRPRTF FILE() TOFILE()
RUNJVA CLASS() PARM() OUTPUT(*)
DLTOVR FILE()

And for interactive:
RUNJVA CLASS() PARM() OUTPUT(*PRINT)
CPYSPLF
DLTSPLF


I just figured there was a better way I was overlooking.




This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].