Hi,

CHKOBJ will fail if you have not the authority on the USRPRF.

You can do a RCVMSG *DIAG after the GRTOBJAUT. And, IIRC, there is an API that promotes *DIAG MSGs to *ESC MSGs.

Regards,
Carel Teijgeler


On 19-2-2013 22:06, Bryan Dietz wrote:
why not use CHKOBJ before you GRTOBJAUT, make sure everything exists.

Bryan

ADriver@xxxxxxxxxxxx said the following on Tue, 2/19/2013 4:01 PM:

Hi Everyone,

I'm running into an issue with a program. Amongst other things I'm trying to GRTOBJAUT to a
bunch commands and it keeps dumping with CPF2204 (User profile doesn't exist). I want this to
be a generic program I run on different systems, and there will be some profiles that exist on
some but not others. I'd rather not code IF this system DO... or IF EXIST ... for each
>>statement if I can avoid it.

I tried MONMSG CPF2204 after the GRTOBJAUT statements in the CL, but it keeps dumping on this
message.

Looking at the help text for GRTOBJAUT (and TAATOOLS DSPMONMSG), CPF2204 is not listed as one
>>of the messages that can be monitored for with GRTOBJAUT. There are other MONMSG statements in
>>this CL that do work, although the one thing that stands out is that CPF2204 is a DIAG message,
>>not and ESC. Am I correct in assuming that's why the MONMSG doesn't work?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.