Creating a group profile

When you create a job description, you also need to a create group profile to define object authority for a group of users. Group profiles are a more efficient way to handle object authority than by giving authority to each user individually.

After you create a job description, you can create the group profile using the information from Part 2 of the User Group Description form.
  1. Use the Work with User Profiles command. Type WRKUSRPRF *ALL. Initially, the display lists the profiles supplied by IBM.
    Note: If you see the Work with User Enrollment display, press F21 to change to intermediate assistance level.
  2. To create a new profile, type 1 in the option (Opt) column and profile name in the User Profile column. Press the Enter key.
    
               Work with User Profiles 
    
    Type options, press Enter. 
      1=Create  2=Change  3=Copy  4=Delete  5=Display 
      12=Work with objects by owner 
    
         User 
    Opt  Profile  Text 
    1    DPTSM 
         QDOC     Document User Profile 
         QSECOFR  Security Officer User Profile
  3. Type information from your User Group Description form into the appropriate fields.
  4. Use the Tab key to skip over any fields where you want to use the default value.
  5. Press F10 (Additional parameters).
  6. Page down.
    
                  Create User Profile (CRTUSRPRF) 
    
    Type choices, press Enter. 
    
    User profile  . . . . . . . . . DPTSM 
    User password . . . . . . . . . *NONE 
    Set password to expired . . . . *NO 
    Status  . . . . . . . . . . . . *ENABLED 
    User class  . . . . . . . . . . *USER 
    Assistance level  . . . . . . . *SYSVAL 
    Current library . . . . . . . . *CRTDFT 
    Initial program to call . . . . cpsetup 
    Library   . . . . . . . . . . . cppgmlib 
    Initial menu  . . . . . . . . . cpmain 
    Library . . . . . . . . . . . . cppgmlib 
    Limit capabilities  . . . . . . *yes 
    Text ’description’. . . . . . . Sales and Marketing
  7. Enter the remaining fields from your User Group Description form on the additional pages of the display and press the Enter key.
    
                  Create User Profile 
    
                  Additional Parameters 
    
    Special authority . . . . . . . *USRCLS 
    .
    .
    Job description . . . . . . . . DPTSM 
      Library . . . . . . . . . . . QGPL
    
    
  8. Check messages.
    
                  Create User Profile
    
    Group authority . . . . . . . . *NONE
    .
    .
    Print device  . . . . . . . . . PRT03
Important: A group profile is just a special type of user profile. Many messages and displays refer to group profiles as users or user profiles. The system only knows that you have created a group profile if you add members to it or assign a group identification number (gid) to it.
Possible error Recovery
You pressed the Enter key before typing all the values in the group profile. Press F5 (Refresh) to add the profile that you created to the Work with User Profiles display. Use Change Option (2) to correct the profile.
You created a profile with the wrong name. You cannot change the name of a profile. Use the Copy Option (3) to create a new profile with the correct name. Then Delete Option (4) the profile with the wrong name.
Some of the fields from the User Group Description form do not appear on the display. Make sure you are using intermediate assistance level. The basic assistance level version of Create User Profile is called the Add a User display. To change assistance levels, press F12 (Cancel) to return to the Work with User Enrollment display. Use F21 to change assistance levels.
You accidentally erased some of the default information from the Create User Profile display. If you leave a field blank, the system uses the default value when the user profile is created. If you want to see the default values, press F5 (Refresh) to restore the entire display. Type your information again.

Listing your results

List the names and descriptions of all profiles on the system by using the Display Authorized Users (DSPAUTUSR) command. Type DSPAUTUSR OUTPUT(*PRINT). Check to make sure that all group profiles have a password of *NONE.

Complete the following before you set up individual users:
  • Create a job description for each user group.
  • Optionally, create a library for each group.
  • Create a group profile for each user group.