× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Chuck,

That was easy, thanks

0037.00 OVRPRTF FILE(QPJOBLOG) OUTQ(PMR90316/PMR90316) +
0038.00 SPLFOWN(*JOB)

Queue: PMR90316 Library: PMR90316 Status: RLS

Type options, press Enter.
1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages
8=Attributes 9=Work with printing status

Opt File File Nbr Job User Number Date Time
QPJOBLOG 17 QPRTJOB PAULS 088268 11/14/14 17:10:23
QPJOBLOG 19 QPRTJOB PAULS 088268 11/14/14 17:10:23
QPJOBLOG 20 QPRTJOB PAULS 088268 11/14/14 17:10:23
QPJOBLOG 21 QPRTJOB PAULS 088268 11/14/14 17:10:23
QPJOBLOG 1 QSCWCHPS QUSER 101475 11/14/14 17:14:37
QPJOBLOG 1 QSCWCHPS QUSER 101473 11/14/14 17:14:37
QPJOBLOG 1 QSCWCHPS QUSER 101477 11/14/14 17:14:37
QPJOBLOG 1 QSCWCHPS QUSER 101481 11/14/14 17:14:37

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Friday, November 14, 2014 5:05 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Print output from STRWCH SSNID(RSTLIBBRM) WCHPGM(STRJWDFRID) - can it be directed to a specific outq?

On 14-Nov-2014 14:55 -0600, Steinmetz, Paul wrote:
Trap created and tested

1) CL created, STRJWDFRID, does
DSPJOB *print, DSPJOBLOG *print, RMVDFRID *ALL
2) Started a watch,
STRWCH SSNID(RSTLIBBRM) WCHPGM(STRJWDFRID) WCHMSG((CPF37C1))
WCHMSGQ((*JOBLOG)) WCHJOB((*ALL/*ALL))
3) Ran a test AJS job with multiple RSTLIBBRM, forcing a valid DFRID
- CPF37C1 0 objects completed. 1 objects deferred.
4) The watch program worked, I see where the RMVDFRID *ALL was
executed.
- DFRID *ALL removed.
5) All print output is part of
Job: QPRTJOB User: PAULS Number: 088268

Can this output be directed to a specific outq?


A request can be made within the CLP STRJWDFRID, to request [before any spooling] that the spooled files produced [within the specified scope] should be directed to the specific Output Queue; e.g.:

OVRPRTF *PRTF OUTQ(specific_OutQ) OVRSCOPE(*CALLLVL)

The Override With Printer File (OVRPRTF) request could be specific to each of the printer file names rather than generically for all printer files; e.g. "OVRPRTF FILE(QPJOBLOG) ..." and an additional request for each additional printer file that will be referenced for spooling.

P.S. the effect whereby the System-established Print Job (QPRTJOB) for the user under which the request runs, is presumably a side effect of both the Printer File (PRTF) attribute Spool File Owner (SPLFOWN) being set to the special value *CURUSRPRF and the job in which the program runs having been /switched/ to an alternate user profile. Thus an alternate PRTF attribute to override, while leaving the OUTQ() unchanged from what is defined in the printer file, is the SPLFOWN().
Specifying SPLFOWN(*JOB) would suggest that the spool file should be owned by the job requesting the spooling, rather than ownership being assigned to the Current User of the job; e.g.:

OVRPRTF *PRTF SPLFOWN(*JOB) OVRSCOPE(*CALLLVL)

And of course such changes could be made in the printer files themselves [Change Printer File (CHGPRTF)], albeit that is unlikely to be a generally desirable effect across the system.

--
Regards, Chuck
--
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.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.