Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Add Special Authority

Add Special Authority

Add Special Authority

This is probably a very basic question but I'm a user, not a programmer, so I'm having a hard time with it.  I've used our AS400 every day for ten years but have been without a programmer for the last three.  I've managed to figure out and pick up a lot of stuff over time, but there are still things I don't know how to do.  

I have recently added a user and need to assign her certain special authorities, but there are only two lines and I need a third.  I can see "+ for more values," but I cannot for the life of me figure out how to add another line.  What do I need to do to make another line appear?  One of my programs is hung up on an authority issue, and I'm fairly certain the lack of this third special authority is the problem.

Also, is there an easy way to just copy an existing profile?  We very rarely add them, but when I do I've used CRTUSRPRF and manually changed the values.

Thanks in advance for any guidance.

RE: Add Special Authority

What is the command that you are trying to use ?

RE: Add Special Authority

I'm hoping I understand your question correctly....

It's not so much a command as probably a key or key combination, like shift+F4 or something.  There must be a way to add a line to the "special authority" parameter in a user profile, because I have eight in mine.  I want to add *SPLCTL; I already have *ALLOBJ and *JOBCTL listed for her.   

RE: Add Special Authority

When you use the command CHGUSRPRF, you can put a + on the special authority line. A profile is allowed up to 8 values. If you already have 5, you can add 3 more. In your case, since you have 2 authorities, it should allow you to had up to 6 more.

I don't know why it won't allow you to do it.

Another way to get the change a profile is using WRKUSRPRF and option 2. WRKUSRPRF is also the easy way to copy. Option 3 is for copying one profile and give it a new name.

Here's a link from IBM's website that may help. Search for user profiles.


RE: Add Special Authority

Putting a + on the line worked perfectly.  I wasn't aware I had to put an actual + on the line itself; I thought there may have been a particular key I was somehow missing.  Now let's hope that adding the additional special authority solves the program error.

Thanks so much for helping solve this mystery and providing the info for copying profiles; I'd been looking for a way to add a line for two days and had become quite exhausted and frustrated.  I've gone from clueless user to having to support the system myself without the benefit of actually knowing RPG (or any language, for that matter).  I do try to check the IBM site and Google when I have questions, but I may not always know exactly how to phrase what I'm looking for and therefore come up empty sometimes.

Thanks again.

RE: Add Special Authority


You're welcome. It's always tough when you're starting something new.

Glad I could help.

RE: Add Special Authority

BTW:  The easiest way, esp for a "novice", to handle security is through Navigator.  You have a copy option there, plus all the values have descriptions that are readable. It uses check boxes for many options.

RE: Add Special Authority

Element74, I supposed by your posting that you  are trying to administer AS400. This is not an easy task. There are a lot of components that you have to learn. RPG is an option but not required if you are administering the system. CL programming is a must. I remember(in my old days with as400) there used to  be tutorial disk or diskette or maybe cd that are available for learning the system. Otherwise, you are stuck with having some kind of training with IBM.

Good luck.

Tips: to see all available commands do a F3 when in a command line.

RE: Add Special Authority

Oops should F4 not F3.

RE: Add Special Authority

Wow!  Thank you all for all the additional information and advice; it will definitely come in handy.  Hopefully I'm all done with making changes.  My program is now working and everything seems to be running smoothly, thank goodness.

I really do enjoy working with the 400, but I just don't know enough to be confident about poking around inside.  Since I don't really have much choice, I learn as much as I can when I can.  I appreciate everyone sharing their knowledge with me.  I will find everything I have (that I can actually locate) for this system and see what kind of tutorials may have come with it, as well explore Navigator further and do some more reading on IBM's site.   

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close