The 2 JS entries contain for job name, QZSHSH and QP0ZSPWP, does not show the name of the job calling QSH.

Entry Sequence Code Type Timestamp Job User Job Program Program Pr
length number name name number name library AS
3,726 00000000000218985752 T JS 2015-10-28- QZSHSH CPACOPER 406,267 QWTPIIPP QSYS *S
3,726 00000000000218985756 T JS 2015-10-28- QP0ZSPWP CPACOPER 406,268 QWTPIIPP QSYS *S

By checking QHST I did find a few jobs that started at 8:00, I checked those job logs, found this.

CPF1124 Information 00 10/28/15 08:00:00.093493 QWTPIIPP QSYS 04C0 *EXT
Message . . . . : Job 406251/CPACOPER/BRCCHKFREE started on 10/28/15 at
08:00:00 in subsystem BATCH_CM in GPL. Job entered system on 10/28/15 at

CPC2196 Completion 00 10/28/15 08:00:02.563700 QLICUSRL QSYS 0114 VPVPGM01 BRCPGMSN *STMT
To module . . . . . . . . . : VPVPGM01
To procedure . . . . . . . : VPVPGM01
Statement . . . . . . . . . : 1851
Message . . . . : Library G1C1PGMS added to library list.
CPC2196 Completion 00 10/28/15 08:00:02.563975 QLICUSRL QSYS 0114 VPVPGM01 BRCPGMSN *STMT
To module . . . . . . . . . : VPVPGM01
To procedure . . . . . . . : VPVPGM01
Statement . . . . . . . . . : 1856
Message . . . . : Library G1C1FILES added to library list.

Within VPVGP01 I did find this.

0315.00 C MONITOR
0316.00 C CALLP Cmd('ADDLIBLE LIB(G1C1PGMS)':200)
0317.00 C ON-ERROR
0318.00 C ENDMON
0320.00 C MONITOR
0321.00 C CALLP Cmd('ADDLIBLE LIB(G1C1FILES)':200)
0322.00 C ON-ERROR
0323.00 C ENDMON

My question is why did I not find QAUDJRN entries for job BRCCHKFREE showing the ADDLIBLE?

0316.00 C CALLP Cmd('ADDLIBLE LIB(G1C1PGMS)':200)
0321.00 C CALLP Cmd('ADDLIBLE LIB(G1C1FILES)':200)


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Wednesday, October 28, 2015 1:27 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Identifying what job is calling QSH

On 28-Oct-2015 11:15 -0500, Steinmetz, Paul wrote:

From the QAUDJRNJS, I have one job running daily at 8:00 am, that
calls QSH, (QZSHSH, QPOZSPWP) still has the 3rd party app libraries in
their library list.

How can I find what job is calling QSH that still contains these 3rd
party app libraries?

I expect [from memory alone; i.e. not as verified by an actual test] that by locating the T-JS [Audit:Job Data] entry for one of those jobs, that in the Standard Heading Fields For Audit Journal Entries will be revealed the qualified job name of the job that performed the QSH request.
_Standard heading fields for audit journal entries_ ...
"This table lists all possible values for the fields that are common to all entry types when OUTFILFMT(*TYPE5) is specified on the DSPJRN command.

The T-JS could be located by the start time of the job, and\or by looking for the [and additionally to confirm the correct] entry having the Job Name='QZSHSH' [and the corresponding Job User Name and Job Number; probably also with Entry Type='S' and Job Subtype=D].
_JS (Job Change) journal entries_
"This table provides the format of the JS (Job Change) journal entries.

And if not revealed with that job [the Job Name='QZSHSH'], then the other job [the Job Name='QPOZSPWP']; i.e. again, the job to which the T-JS is associated, for at least one of those Qxxx jobs, presumably will be the job that had issued the QSH request.

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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at

This thread ...


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

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