Hi,
I've been tasked with creating an application to create new users on our system. We have a third party system that has several files that need to be updated along with our own authority and access system files. So a CL seemed the way to go to call the various programs to write and update the files. Everything works well except when it comes to creating the user id on the 400.
We have a listing of default users to copy for specific departments but since there is no CPYUSRPRF command available for CL usage, I retrieve values from the required profile and then use CRTUSRPRF to create the new user profile with the retrieved values; special authorities, initial menu, initial program, etc.
Here's the problem, if I retrieve values from a profile that has either *ALLOBJ as a special authority or *SIGNOFF for initial menu, I get an error message stating that '*ALLOBJ not valid for parameter SPCAUT' or '*SIGNOFF for parameter INLMNU not a valid name'.
Why is this happening?
I have sufficient authority myself *SECADM.
Mike.
I've been tasked with creating an application to create new users on our system. We have a third party system that has several files that need to be updated along with our own authority and access system files. So a CL seemed the way to go to call the various programs to write and update the files. Everything works well except when it comes to creating the user id on the 400.
We have a listing of default users to copy for specific departments but since there is no CPYUSRPRF command available for CL usage, I retrieve values from the required profile and then use CRTUSRPRF to create the new user profile with the retrieved values; special authorities, initial menu, initial program, etc.
Here's the problem, if I retrieve values from a profile that has either *ALLOBJ as a special authority or *SIGNOFF for initial menu, I get an error message stating that '*ALLOBJ not valid for parameter SPCAUT' or '*SIGNOFF for parameter INLMNU not a valid name'.
Why is this happening?
I have sufficient authority myself *SECADM.
Mike.
Comment