According to the SBMJOB help text, the OUTQ() parameter only applies to printer files where OUTQ(*JOB) is specified.
QPJOBLOG has OUTQ(QUSRSYS/QPJOBLOG) specified.
(This is on V7R3)
Output queue (OUTQ) - Help
Specifies the qualified name of the output queue used for
spooled files that specify OUTQ(*JOB). This parameter
applies only to printer files that have *JOB specified on
the OUTQ parameter.
Dspfd qpjoblog
Spooling Description
Spooled output queue . . . . . . . . . . . : OUTQ QEZJOBLOG
Library . . . . . . . . . . . . . . . . . : QUSRSYS
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Patrik Schindler
Sent: Thursday, January 26, 2023 8:05 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: SBMJOB and Forcing a Joblog
Hello,
when I submit a batch job like this:
SBMJOB CMD(TMKMAKE) JOB(MAKE) LOG(4 0 *SECLVL) LOGCLPGM(*YES) OUTQ(PDFWRITER)
the job log itself is still placed in QEZJOBLOG instead of the desired PDFWRITER. V4R5 and 7.2 likewise.
What am I doing wrong?
Thanks!
:wq! PoC
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.