× 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.



if on a newish version add this to the beginning of the program(after the DCL and before program statements)

DCLPRCOPT USRPRF(*OWNER)

bryan



And if the issue did originate per both no prior request to Delete
Program (DLTPGM) and an existing program had been replaced, the Create
CL Program (CRTCLPGM) request logged a msg CPI2119 "AUT and USRPRF
parameter values were ignored." and msg CPI2121 "Replaced object &1 type
*&4 was moved to &5." to inform of the effect.

Rather than deleting [or moving or renaming] the existing program and
then re-creating anew the program, just to establish the desired user
name for adopted authority, the correction of the adoption is possible
with use of Change Program (CHGPGM) which also [like the CRTCLPMG]
provides a User Profile (USRPRF) parameter. That would be available as
corrective, irrespective the origin; even if perhaps the original
CRTCLPGM had defaulted or explicitly effected USRPRF(*USER) or the
program lost adoption per effects of a restore. And that the program is
not first deleted with the CHGPGM as corrective action, the existing
public authority and private authority to the object are maintained;
assuming those are correct, which apparently is the case, as PETER1 as a
help-desk user has authority -- presumably other than from *PUBLIC, and
more likely from the *GROUP that defines the help-desk personnel.

CHGPGM The_Pgm USRPRF(*OWNER)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.