Matthias, In a message dated 97-10-04 20:49:40 EDT, you write: > >Hope this finds everyone well after COMMON, sounds like the problem is > >not the authority of the command but who is trying to run it... in your case > >you must make sure the CL that you wrote is owned bu QSECOFR or a > >Group or User that has *SECADM , that is required to chg user profiles, > >after checking that make sure your program is running as user profile > >*owner not *user.... you can check this with DSPPGM and it can be > > Thanks for your suggestion. > Unfortunately it did not help. All objects used are owned by QSECOFR > with PUBLIC(*USE). The CL is running as *OWNER. OK, I've been quiet about this but, lacking a definitive response, I used DSPCMD to see that the CPP for this command is hard-coded to QMNCGPWD in QSYS. You should (given enough authority) be able to change the command to use either *LIBL or some other with the CHGCMD command. You might want to consider the little-known "product library" function of commands to point to your desired library (appears either before or after "current" library, I don't don't remember) and always before User Libraries. HTH, Dean Asmussen Enterprise Systems Consulting, Inc. Fuquay-Varina, NC USA E-Mail: DAsmussen@AOL.COM "The difference between genious and stupidity is that genious has its limits." -- Anonymous +--- | 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: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.