|
AlNovick@aol.com wrote: > > I have an application that stores temporary objects in the QRPLOBJ library. > The problem is that every time there is an IPL the system recreates QRPLOBJ > with an authority of *EXCLUDE for the *PUBLIC. My QCRTAUT system value is > set to *CHANGE, and the create authority attribute of the QSYS library is > *SYSVAL. How can I make sure the QRPLOBJ is available to the *PUBLIC without > changing the authority after each IPL ? Well, the correct answer is you don't and shouldn't be messing with WRPLOBJ or it's authority. QRPLOBJ should not be used for you own applications, it's for the system to store the old replaced objects when they are recreated with REPLACE(*YES). If you want to put objects somewhere they will be cleared automatically, either use QTEMP, or create your own version of the QRPLOBJ with some other name and add a CLRLIB lib_name for this library in your startup program (and possibly also on the system job scheduler to clear it around 3am in the morning too). The other (politically incorrect and more dangerous from a security point of view) answer is to have your startup program owned by QSECOFR, compiled with USRPRF(*OWNER) and including a line like: GRTOBJAUT OBJ(QSYS/QRPLOBJ) OBJTYPE(*LIB) USER(*PUBLIC) AUT(*CHANGE) -- ... Neil Palmer AS/400~~~~~ ... NxTrend Technology -Canada ____________ ___ ~ ... Markham, Ontario, Canada |OOOOOOOOOO| ________ o|__||= ... Phone: (905) 731-9000 x238 |__________|_|______|_|______) ... url:http://www.NxTrend.com oo oo oo oo OOOo=o\ ... mailto:NPalmer@NxTrend.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.