Here is an interesting problem.
We're stress testing an application and need to generate and enormously
large number of audit journal entries as quickly as possible. "T" type
entries are what we're after but really any entry type will do. So if
you have an idea how to do that, please chime in.
Here is one idea that I had, but I don't know how to stop it once we
begin. Any ideas on this particular approach would be greatly
appreciated. Here is the plan:
1. Create a User called "Fred"
2. Give "Fred" *EXCLUDE authority to the QSYSOPR message queue.
3. Have "Fred" submit a batch job that does a "SNDMSG 'Hello World'
Because "Fred" has *EXCLUDE authority to QSYSOPR, this command will
generate an 'T' 'AF' audit journal entry in QAUDJRN. Because it is done
in a batch job, the batch job attempt to throw and exception error
message into QSYSOPR, but because "Fred" is still *EXCLUDED from message
queue QSYSOPR, the process will generate another 'T' 'AF', and yet
another error message headed for QSYSOPR, etc. etc. in a very tight
This seems like a good way to generate a ton of audit log entries, but
the question is this: How do you stop it before it runs away with your
system? Can anyone think of a way to interrupt this process?
John Earl, VP and Chief Technology Officer
Email is an excellent way to communicate material that is not time
sensitive. If your communication is of a more urgent nature, please
This email message and any attachments are intended only for the use of
the intended recipient named above and may contain information that is
privileged and confidential. If you are not the intended recipient, any
dissemination, distribution, or copying is strictly prohibited. If you
received this email message in error, please immediately notify the
sender by replying to this email message or by telephone and delete the
message from your email system. Thank you.