Hi there;
I have asked this question before, however I must have explained it wrong. I am trying to achive is the following:
1 - *AUTFAIL is on for QSECOFR in QAUDJRN
2 - if entry for "Wrong password entered" is added to QAUDJRN for QSECOFR I need to be alerted immediately, Message to a specific message queue is fine, other ways also accepted.
3 - if entry for "User Profile disabled" is added to QAUDJRN for QSECOFR I need to be alerted immediately, Message to a specific message queue is fine, other ways also accepted.
Any ideas?
If I create a "looping" program to review QAUDJRN, it consumes too much system resources. I need the notification to occur upon any of the above entries being added to the QAUDJRN.
Bruno (aka Mutkey)
Software/Hardware used:
ASKED:
September 15, 2005 5:32 PM
UPDATED:
November 17, 2009 10:00 PM
Know you have targetted your source of information (a journal or a message queue, it’s quite the same thing)
Now, you can tune resource consumption by running at priority 90 and sleeping enough between each run, depending on what means immediatly for you (milli seconds ? seconds ? minute ? more ?)
On my side, I inspect QSYSOPR each 1/4 hour for all gravity>40, it’s enough
The simplest resolution is to leave QSECOFR as disabled. There shouldn’t be more than a few times a year when you’d need it *ENABLED — version/release upgrades, cumulative and maybe a couple group PTF applications. When else should it ever be enabled?
Tom
This is an old question and hopefully you’re already using iNav for this.
Open ISeries Navigator
Expand Management Central
Expand Monitors
Right click on Message then New Monitor
Name your monitor with description then click on the Message Tab
From here you can add specific MSGIDs or a generic range and use the trigger or reset command to email or text to your cell phone when the error occurs