This may work:
CHGAUD OBJ('/QOpenSys/QIBM/ProdData/JavaVM/jdk70') OBJAUD(*ALL) SUBTREE(*ALL)
SELECT journal_code, journal_entry_type, "CURRENT_USER", "JOB_NAME", "JOB_USER", "JOB_NUMBER", PROGRAM_NAME, PROGRAM_LIBRARY, PATH_NAME
FROM TABLE (QSYS2.Display_Journal(
JOURNAL_LIBRARY => 'QSYS',
JOURNAL_NAME => 'QAUDJRN',
STARTING_RECEIVER_LIBRARY => 'QGPL',
STARTING_RECEIVER_NAME => '*CURCHAIN',
STARTING_TIMESTAMP => TIMESTAMP('2019-04-01-07.29.00')
)) X
WHERE JOURNAL_ENTRY_TYPE NOT IN('AD', 'ZC') -- Created by CHGAUD
AND PATH_NAME LIKE '%jdk7%'
;
-----Original Message-----
From: JAVA400-L <java400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Vernon Hamberg
Sent: Saturday, March 30, 2019 7:38 AM
To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Checking who is using what version of Java
Rob
A couple thoughts - audit usage of the relevant files in IFS - those in the various Java directories in /QIBM/ProdData, maybe.
Or put a watch on the message that says a certain JVM is used - I think that's in the job log.
HTH
Vern
On 3/30/2019 5:59 AM, Rob Berendt wrote:
Tried the archives but I'm having no luck.
I've been tasked with finding out who is using what level of Java on my IBM i.
WRKJVMJOB only shows currently running jobs.
I remember doing this in the past but I forget how.
An example might be: who fired up the 32 bit level of JDK 7 in the last week?
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/java400-l.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.