I'm pretty sure that when you use a RUNJVA it kicks off a BATCHI job.
That would explain why you have a different job#.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Justin Taylor
Sent: Thursday, August 06, 2015 12:50 PM
To: Midrange Systems Technical Discussion
Subject: RE: Redirect 5250 RUNJVA output
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 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,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.