OSITim wrote:
> >Is there a place I can get a listing of all of the CPF errors. I am
> >interested in monitoring some in a CL program and am interested >in knowing
> which to monitor.
>
> WRKMSGD MSGID(*FIRST) MSGF(QCPFMSG) OUTPUT(*PRINT)
>
> But this won't help you accomplish what you are attempting. Remember in a CL
> program you can on monitor for messages sent as an *ESCAPE, *NOTIFY, or *STATUS
> message.
>
> Back in the days when IBM included manuals with OS/400 there was a book called
> the CL handbook. It was spiral bound and it detailed for every command all the
> message IDs that you could monitor.
>
> This book is probably still available in INFOSEEKER for those with the
> intestinal fortitude to wade through it.
WRKMSGD MSGID(*FIRST) MSGF(QCPFMSG) OUTPUT(*PRINT)
How about DSPMSGF?
Dan Hicks
Hey!! My advice is free -- take it for what it's worth!
http://www.millcomm.com/~danhicks
"AS/400 Programming Reference Summary" (SX41-3720-01, QBKAUT01), chapter
8, "Error Messages That Can Be Monitored".