× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We have a long running job that generates unnecessary
messages in the joblog.

So I am starting at the top and working my way through the
program and removing as many unnecessary messages from the
joblog as possible.



The program issues a

GRTOBJAUT OBJ(QTEMP/WORKFILEA) OBJTYPE(*FILE) USER(*PUBLIC)
AUT(*ALL)

This generates 2 messages in the joblog:

CPI2201 Authority given to user *PUBLIC for object
WORKFILEA in QTEMP object type *FILE.


CPC2201 Object authority granted.




Immediately after the GRTOBJAUT there is

CALL PGM(QMHRMVPM) PARM('*' 0 ' ' '*NEW' ' ')

CALL PGM(QMHRMVPM) PARM('*' 0 ' ' '*NEW' ' ')



These two calls only remove message CPC2201 from the joblog,
message CPI2201 remains in the joblog



I tried replacing the two calls to QMHRMVPM with

RCVMSG MSGTYPE(*LAST) RMV(*YES)

RCVMSG MSGTYPE(*LAST) RMV(*YES)



With the same results



What needs to be done to remove the message CPI2201 from the
joblog?





Thanks



John








As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.