Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
CRPence on Wednesday, October 28, 2015 1:27 PM wrote:
On 28-Oct-2015 11:15 -0500, Steinmetz, Paul wrote:
<<SNIP>>
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.
[http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_72/rzarl/rzarlf01.htm]
_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].
[http://www.ibm.com/support/knowledgecenter/api/content/ssw_ibm_i_72/rzarl/rzarlf28.htm]
_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.
The 2 JS entries contain for job name, QZSHSH and QP0ZSPWP, does not
show the name of the job calling QSH.
Entry Sequence Code Time Job User Job Program
len number -Typ name name
3726 0218985752 T-JS 080002810256 QZSHSH CPACOPER 406267 QWTPIIPP
3726 0218985756 T-JS 080002830352 QP0ZSPWP CPACOPER 406268 QWTPIIPP
By checking QHST I did find a few jobs that started at 8:00, I
checked those job logs, found this.
CPF1124 Info 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 08:00:00.
CPC2196 Comp 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 Comp 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
0319.00
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?
<<SNIP>>
I used QAUDJRN to find all uses where any of the libraries may
have been used, added (ADDLIBLE, EDTLIBL)
SELECT * FROM qgpl/QAUDITjs WHERE locate ('G1',JSLIBL ) <> 0
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.