I find that having my user profile in the IBM i (AS400) system directory is useful so that I can perform the following:
- Send network files.
- Use the QDLS file system on the IBM i (AS400)
I will not discuss either of them in this post as each deserves a post in their own right.
To add user profiles to the System Directory you need to have Security Administrator (*SECADM). To see whether you have that level of security use the Display User Profile (DSPUSRPRF) command. On a command line type: DSPUSRPRF your-user-profile and press Enter.
On the second screen is the ‘Special authority’ section, this lists the types of authority you have. This user has *SECADM authority.
Display User Profile - Basic User profile . . . . . . . . . . . . . . . : SECUSR User expiration interval . . . . . . . . . : *NONE User expiration action . . . . . . . . . . : *NONE Special authority . . . . . . . . . . . . : *ALLOBJ *AUDIT *IOSYSCFG *JOBCTL *SAVSYS *SECADM *SERVICE *SPLCTL Group profile . . . . . . . . . . . . . . : QSECOFR |
If your profile does not have *SECADM authority you will need to see your IBM i (AS400) System Administrator and have them add you to the System Directory.
First let’s check that my profile is in the System Directory. On a command line type: WRKDIRE and press Enter. If you are not enrolled then the ‘User not enrolled in system distribution directory’, CPF9006, will be displayed. On the other hand if you have been added it will display your entry.
Change Your Directory Entry User ID/Address . . . . : JSMITH LIVE400 Description . . . . . . : John Smith Type changes, press Enter. Job title . . . . . . . Company . . . . . . . . Telephone numbers . . . FAX telephone number Location . . . . . . . F4 for list More... |
None of the available fields have to be filled in.
To add a user to the System Directory at a command line type: ADDDIRE and press the F4 key to prompt.
Just fill in the fields shown below with your information.
Add Directory Entry (ADDDIRE) Type choices, press Enter. User identifier: User ID . . . . . . . . . . . > MJOHAN Character value Address . . . . . . . . . . . > LIVE400 Character value User description . . . . . . . . > Mary Johan User profile . . . . . . . . . . Name, *NONE System name: System name . . . . . . . . . *LCL Character value, *LCL, *PC... System group . . . . . . . . . Character value Network user ID . . . . . . . . *USRID Last name . . . . . . . . . . . *NONE First name . . . . . . . . . . . *NONE Middle name . . . . . . . . . . *NONE Preferred name . . . . . . . . . *NONE More... |
Press Enter to add to the System Directory.
This article was written for IBM i 7.1, and it should work with earlier releases too.
Thank you very much for this information.
ReplyDelete