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



Hi, David,

It all starts with the system value QCRTAUT.  Prompt CHGSYSVAL, type QCRTAUT in the system value name, and then with the cursor in that field, press F1=Help, and page down to read the help text for "QCRTAUT."

Next, prompt the CRTLIB command, and press F10=Additional parameters, and there are two parameters you want to look at, AUT and CRTAUT ... place the cursor in each field and press F1=Help to read about each one.

AUT controls the default *PUBLIC authority for the *LIB itself. If *LIBCRTAUT is used, it "inherits" from the containing library, and since all *LIBs exist in QSYS, it inherits from QSYS.   DSPLIBD QSYS will show you those attributes.  Note that if Create Authority (CRTAUT) is set to *SYSVAL, it uses the value from QCRTAUT (see above).

When you create any object in a library, its "owner" is the current user profile, unless that user has a primary group profiule and the user profile OWNER attribute is set to *GRPPRF, in which case it is owned by the primary group profile.  But the *PUBLIC authority for that object is determined based on the CRTAUT parameter of the containing library.

And, if you want to get "fancy" you can create an authorization list, and then assign that to CRTAUT for a library, and then, any objects you create in that library will be "attached to" that *AUTL, and so any users or groups who are given authority via that authorization list will have authority to this new object.

Does that help?

Mark S. Waterbury

> On 3/2/2018 11:00 AM, David Gibbs wrote:
Folks:

I feel like this is something I should know ... but for the life of me I can't figure out.

I've got a situation where a library is being created and it immediately has an authorization list attached to it.

On another system, however, a newly created library has no authorization list attached.

Both systems are 7.3.

The CRTLIB commands on both system have OS default parameters. The authority on QSYS is normal.

Any suggestions on what attribute (system value, user profile attribute, etc) controls default authorities on a newly created library?

Thanks!

david



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.