My recommendation would be to use ProcessFlow. You can perform a DME query against the GEN/QUEUEDJOBS table to retrieve jobs in recovery, and send an email to appropriate people. Put it in the ProcessFlow Scheduler. Here's a screenshot: https://www.lawsonguru.co...G-JobsInRecovery.pdf
Greg,
Feel free to reply and attach here as a .zip file...
You'll have to modify the script as I described above.. but here you go.
-Greg
Here is the pre-LSF9 version of the script... it pulls email addresses for recipients from their RD30 records... and if it cannot find an email address there, it simply sends it out to the admins... moellerg@genesishealth.com etc.
I highly recommend the Lawson S3 Environment Monitor (LEM) for this purpose developed by David Schronce. I had several dozen scripts montoring every part of our environment, and LEM streamlined monitoring several enviroments and got rid of quite a few custom scripts. You can take a look at the program here: http://www.schronce.net/lawson/
./Richard
if you don't want to use LEM, here is a much easier script for this purpose:
TEMPDIR="/usr/local/bin/scripts"; export TEMPDIR TEMPLOG="temp.log"; export TEMPLOG
echo "***********************************************" > $TEMPDIR/$TEMPLOG
su - lawson -c "/lawson/gen/bin/rngdbdump -n GEN queuedjob -f jobname username -v status=34" >> $TEMPDIR/$ TEMPLOG FLAG=`/usr/bin/cat $TEMPDIR/$TEMPLOG | /usr/bin/egrep -v 'YOU|uid'|wc -l` if [[ ${FLAG} -gt 1 ]] then mailx -s "Jobs In Recovery" email@address.com < $TEMPDIR/$TEMPLOG else exit 0 fi exit 0
Hi John,
I am not able to open this PDF. Can you please share it and if you have more details on it that would be great.
Thank You
Thank you John
Can you please let me know i can follow the same for landmark too?
Thank you