or use SQL :-)

SELECT Authorization_Name
,Job_Name
,Subsystem
FROM TABLE (
Qsys2.Active_Job_Info()
) I
WHERE Authorization_Name = 'ROB'
;


Jim Oberholtzer wrote on 7/10/2019 10:07 AM:
Nice, I had not thought of using the user profile lock to see active jobs.

Thanks for the ideas!


--
Jim Oberholtzer
Agile Technology Architects

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob
Berendt
Sent: Wednesday, July 10, 2019 8:22 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Auditing users with elevated privileges.

I like the audit journal. For this project I can't see anything that
history log brings to the table that I can't get from the audit journal.
Maybe job start and end but I'm not concerned about those as I can use the
ENTRY_TIMESTAMP for what I need.

If I was looking for just active jobs I would look for locks on the user
profile with select job_name from qsys2.object_lock_info where
system_object_name = 'ROB'
and OBJECT_TYPE = '*USRPRF';


Rob Berendt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.