|
Well, a couple ideas come to mind.1. There are system objects that hold everything done in a STRSQL session. This command dumps those for user MIKE to a spooled file:
DMPSYSOBJ ISQLSTMIKE* QRECOVERY TYPE(19) SUBTYPE(EE)If you know the user AND the job, you could dump these to a spooled file, then process this in a suitable fashion, perhaps comparing to past entries.
2. Turn on DB monitoring - this can be expensive, although you could limit to things using the job notification exit or maybe use security auditing on the STRSQL command, wait on the audit journal, then turn on monitoring whenever the command is reported as being used. Not simple, and I don't know if there is an entry in the journal for when the user has exited. The file output of STRDBMON is daunting but manageable - you can get all the statement info you need.
Eh? Vern At 08:09 AM 7/8/2005, you wrote:
I can see where I am able to turn on "auditing" of commands that a user types in QAUDJRN on a user by user basis. Is there a way to log/audit things done in SQL via STRSQL and typing in commands that way to update tables. (This is in response to a request re: Sarbanes/Oxley.....not for a rogue user who we are watching) Thanks, Jim -- 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, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.