Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WRKPRM e-mail

73 views
Skip to first unread message

hi

unread,
Nov 4, 2009, 3:12:09 PM11/4/09
to
Hello.

I need solution to monitor WRKPRB LOG on 7 iSeries computers withoud
needing to log to them and type WRKPRB each day.

Can it be sent via mail? I mean WRKPRB log?

JTF

unread,
Nov 4, 2009, 6:32:16 PM11/4/09
to

You could do a DSPPRB to *OUTFILE

Create a file for your program in the same format as the dspprb
file....
Pgm checks current problems (in outfile) against known ones (in pgm
file), if new problem(because it isn't in the pgm file) send email and
write to your pgm file so you don't notify again....

I don't have a system avail at the moment, but I believe DSPPRB goes
to an outfile...

Dr.Ugo Gagliardelli

unread,
Nov 5, 2009, 2:49:31 AM11/5/09
to
il 04/11/2009 21.12, Scrive hi 37948928:
What's inside WRKPRB, more or less comes from error log. Error log can
be printed with PRTERRLOG TYPE(*ANZLOG) command, that prints the summary
of error events based on a selection of date an resource type. Then
using a mailing tool you can send the spooled file very easily.
That's the *simple* way, there is also a *complex* one using "Problem
Management APIs", you can get more information about this topic on
Information Center at http://publib.boulder.ibm.com/iseries/

--
Dr.Ugo Gagliardelli,Modena,ItalyCertifiedUindoscrasherA�ejoAlcoolInside
Spaccamaroni andate a cagare/Spammers not welcome/Spammers v�o � merda
Spamers iros a la mierda/Spamers allez vous faire foutre/Spammers loop
schijten/Spammers macht Euch vom Acker/Spamerzy wypierdalac'

hi

unread,
Nov 5, 2009, 4:22:32 AM11/5/09
to
Thanks for answers.

I wish there is a program already made to do that.

Well, thats what we administrators do. We dont type programs, we find
ones that are already made :)

I liked the DSPPRB idea tho. Ill try schedule something.

Dr.Ugo Gagliardelli

unread,
Nov 5, 2009, 5:47:03 AM11/5/09
to
il 05/11/2009 10.22, Scrive hi 37948928:
I don't know what kind of system you administer, but writing a
script-procedure should be in any skill that faces computer-land.
Be aware that depending on how you adminisered problem log, problem log
records may be automatically cleared on time basis, while error log stay
there forever, so DSPPRB will list only what inside problem log, while
PRTERRLOG will list error log.
0 new messages