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?
IBM Certified Systems Administrator - System i
Consultant - Infrastructure Engineer
(608) 661 6697 ext 2581
Please consider your environmental responsibility before printing this e-mail.
- WEA Trust Confidentiality Notice -
This electronic mail message and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. Dissemination, forwarding, printing, or copying of this electronic mail without the consent of the sender is strictly prohibited. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error; please immediately notify the sender by return mail.