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.


This thread ...

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].