User Profile Creation
User Profile Creation
User Profile Creation
The Create User Profile (CRTUSRPRF) command identifies a user to the system and allows you to customize the way the system appears. When the profile is created, the profile is given *CHANGE and *OBJMGT authorities for the profile itself. The system relies on the profile having these authorities to itself and they should not be removed. Restrictions: The user of this command must have:
Security administrator (*SECADM) special authority Use (*USE) authority to the initial program, initial menu, job description, message queue, output queue, and attention-key-handling program (if specified) Change (*CHANGE) and object management (*OBJMGT) authorities to the group profile and supplemental group profiles (if specified). Top
Parameters
Keyword USRPRF PASSWORD PWDEXP STATUS USRCLS ASTLVL CURLIB INLPGM Description User profile User password Set password to expired Status User class Assistance level Current library Choices Simple name Character value, *USRPRF, *NONE *NO, *YES *ENABLED, *DISABLED *USER, *SYSOPR, *PGMR, *SECADM, *SECOFR *SYSVAL, *BASIC, *INTERMED, *ADVANCED Name, *CRTDFT Notes Required, Positional 1 Optional, Positional 2 Optional Optional Optional Optional Optional Optional
call
Qualifier 1: Name Initial program to call Qualifier 2: Library INLMNU Initial menu Qualifier 1: Initial menu Qualifier 2: Library LMTCPB TEXT SPCAUT Name, *LIBL, *CURLIB Single values: *SIGNOFF Other values: Qualified object name Name, MAIN Name, *LIBL, *CURLIB Optional Optional Optional, Positional 3 Optional
Limit capabilities *NO, *PARTIAL, *YES Text 'description' Character value, *BLANK Special authority Single values: *USRCLS, *NONE Other values (up to 8 repetitions): *ALLOBJ, *AUDIT, *IOSYSCFG, *JOBCTL, *SAVSYS, *SECADM, *SERVICE, *SPLCTL Special environment Display sign-on information Password expiration interval *SYSVAL, *NONE, *S36 *SYSVAL, *NO, *YES 1-366, *SYSVAL, *NOMAX
PWDCHGBLK Block password change LCLPWDMGT Local password management LMTDEVSSN KBDBUF MAXSTG Limit device sessions Keyboard buffering Maximum allowed storage
1-99, *SYSVAL, *NONE *YES, *NO *SYSVAL, *YES, *NO, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 *SYSVAL, *NO, *TYPEAHEAD, *YES Integer, *NOMAX
PTYLMT JOBD
Highest schedule 0-9, 3 priority Job description Qualifier 1: Job description Qualifier 2: Library Qualified object name Name, QDFTJOBD Name, *LIBL, *CURLIB Name, *NONE *USRPRF, *GRPPRF *NONE, *ALL, *CHANGE, *USE, *EXCLUDE *PRIVATE, *PGP Single values: *NONE Other values (up to 15 repetitions): Name
Optional Optional
Group profile Owner Group authority Group authority type Supplemental groups
Accounting code Character value, *BLANK Document password Message queue Qualifier 1: Message queue Qualifier 2: Library Name, *NONE Single values: *USRPRF Other values: Qualified object name Name Name, *LIBL, *CURLIB
Delivery Severity code filter Print device Output queue Qualifier 1: Output queue Qualifier 2:
*NOTIFY, *BREAK, *HOLD, *DFT Optional 0-99, 0 Name, *WRKSTN, *SYSVAL Single values: *WRKSTN, *DEV Other values: Qualified object name Name Name, *LIBL, *CURLIB Optional Optional Optional
Library ATNPGM Attention program Qualifier 1: Attention program Qualifier 2: Library SRTSEQ Sort sequence Single values: *NONE, *SYSVAL, *ASSIST Other values: Qualified object name Name Optional
Name, *LIBL, *CURLIB Single values: *SYSVAL, *HEX, *LANGIDSHR, *LANGIDUNQ Other values: Qualified object name Name Name, *LIBL, *CURLIB Character value, *SYSVAL Optional Optional Optional Optional Optional Optional
Qualifier 1: Sort sequence Qualifier 2: Library LANGID CNTRYID CCSID CHRIDCTL SETJOBATR Language ID
Country or region Character value, *SYSVAL ID Coded character set ID Integer, *SYSVAL, *HEX
Character *SYSVAL, *DEVD, *JOBCCSID identifier control Locale job attributes Single values: *SYSVAL, *NONE Other values (up to 6 repetitions): *CCSID, *DATFMT, *DATSEP, *DECFMT, *SRTSEQ, *TIMSEP Path name, *SYSVAL, *NONE, *C, *POSIX Single values: *NONE Other values (up to 7 repetitions): *CLKWD, *EXPERT, *ROLLKEY, *NOSTSMSG, *STSMSG, *HLPFULL, *PRTMSG 1-4294967294, *GEN
LOCALE USROPT
Optional Optional
UID GID
User ID number
Optional Optional
HOMEDIR EIMASSOC
Home directory EIM association Element 1: EIM identifier Element 2: Association type Element 3: Association action
Path name, *USRPRF Single values: *NOCHG Other values: Element list Character value, *USRPRF *TARGET, *SOURCE, *TGTSRC, *ADMIN, *ALL *REPLACE, *ADD, *REMOVE
Optional Optional
Element 4: Create *NOCRTEIMID, *CRTEIMID EIM identifier AUT Authority *ALL, *CHANGE, *USE, *EXCLUDE Optional Top
Note: The new password is not checked against the password validation rules. The password validation rules are defined by i5/OS system values. For a description of the password validation rules, see the System i Security Reference, SC41-5302 book. *USRPRF The password for this user is the same as the user name specified on the USRPRF parameter. When the system is operating at password level 2 or 3 and the *USRPRF value was specified for the user profile password, the user must enter their password using upper case characters. *NONE No password is associated with this user profile. Users cannot sign on a system with a profile that has PASSWORD(*NONE) specified. user-password When the system is operating at password level 0 or 1, specify an alphanumeric character string of 10 characters or less. The first character must be alphabetic and the other characters must be alphanumeric. When the system is operating at password level 2 or 3, specify a character string of 128 characters or less. Passwords are case sensitive at password level 2 or 3. If the local password management (LCLPWDMGT) parameter is *NO, the local i5/OS password will be set to *NONE, so the user would have the same restrictions as specifying *NONE for the password. The password value specified will be sent to other IBM products or solutions that do password synchronization (for example, System i integration with BladeCenter and System x at http://www.ibm.com/systems/i/bladecenter/). See the documentation for the product or solution for information on managing the passwords when LCLPWDMGT(*NO) is specified for the user profile. Top
Status (STATUS)
Specifies the status of the user profile. The system will disable a user profile if the number of failed password verification attempts reaches the limit specified on the QMAXSIGN system value and option 2 or 3 has been specified on the QMAXSGNACN system value. *ENABLED The user profile is valid for sign-on. *DISABLED The user profile is not valid for sign-on until an authorized user enables it again. Batch jobs can be submitted under a disabled user profile. Top
*SECADM At QSECURITY level 10 or 20, the security administrator has *ALLOBJ, *SAVSYS, *SECADM, and *JOBCTL special authorities. At QSECURITY level 30 or above, the user has *SECADM special authority. *PGMR
At QSECURITY level 10 or 20, the programmer has *ALLOBJ, *SAVSYS, and *JOBCTL special authorities. At QSECURITY level 30 or above, the user has no special authorities. *SYSOPR At QSECURITY level 10 or 20, the system operator has *ALLOBJ, *SAVSYS, and *JOBCTL special authorities. At QSECURITY level 30 or above, the user has *SAVSYS and *JOBCTL special authorities. Top
*S36 is specified on the SPCENV parameter. *SYSVAL is specified on the SPCENV parameter and the system value, QSPCENV, is *S36.
Single values *NONE No program is called when the user signs on. If a menu name is specified in the Initial menu (INLMNU) parameter, that menu is displayed. Qualifier 1: Initial program to call name Specify the name of the program that is called when the user signs on. Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used. name Specify the name of the library where the initial program is located. Top
A System/36 environment menu can be specified as the initial menu if either of the following conditions are true:
*S36 is specified for the Special environment (SPCENV) parameter. *SYSVAL is specified on the SPCENV parameter and the system value, QSPCENV, is *S36.
Single values MAIN The menu named MAIN is located and shown. *SIGNOFF The system signs off the user when the program completes. This is intended for users authorized only to run the program. Qualifier 1: Initial menu name Specify the name of the initial menu called after the user signs on the system. Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the job is used to locate the menu. If no library is specified as the current library for the job, QGPL is used. name Specify the nameof the library where the initial menu is located. Top
The program, menu, and current library values can be changed when the user signs on the system. Users may change the program, menu, current library, or ATTN key handling program values in their own user profiles with the Change Profile (CHGPRF) command. Commands can be run from a command line. *PARTIAL The program and current library cannot be changed on the sign-on display. The menu can be changed and commands can be run from a command line. A user can change the menu value with the Change Profile (CHGPRF) command. The program, current library, and the ATTN key handling program cannot be changed using the CHGPRF command. *YES The program, menu, and current library values cannot be changed on the sign-on display. Commands cannot be run when issued from a command line or by selecting an option from a command grouping menu such as CMDADD, but can still be run from a command entry screen. The user cannot change the program, menu, current library, or the ATTN key program handling values by using the CHGPRF command. Top
Save system (*SAVSYS) special authority to users who need to operate the system. Input/output system configuration (*IOSYSCFG) special authority to users who need to change system I/O configurations. Job control (*JOBCTL) special authority is given to the user. The user is given the authority to change, display, hold, release, cancel, and clear all jobs that are running on the system or that are on a job queue or output queue that has OPRCTL (*YES) specified. The user also has the authority to load the system, to start writers, and to stop active subsystems.
Security administrator (*SECADM) special authority to users who need to create, change, or delete user profiles. All object (*ALLOBJ) special authority to users who need to work with system resources. Service (*SERVICE) special authority to users who need to perform service functions. Spool control (*SPLCTL) special authority to users who need to perform all spoolrelated functions. Audit (*AUDIT) special authority to users who need to perform auditing functions.
Restrictions:
The user profile creating or changing another user profile must have all of the special authorities being given. All special authorities are needed to give all special authorities to another user profile. A user must have *ALLOBJ and *SECADM special authorities to give a user *SECADM special authority when using the CHGUSRPRF command. The user must have *ALLOBJ, *SECADM, and *AUDIT special authorities to give a user *AUDIT special authority when using the CHGUSRPRF command.
Single values *USRCLS Special authorities are granted to this user based on the value specified on User class (USRCLS) parameter. *NONE No special authorities are granted to this user. Other values *ALLOBJ All object authority is given to the user. The user can access any system resource with or without private user authorizations. *AUDIT Audit authority is granted to this user. The user is given the authority to perform auditing functions. Auditing functions include turning auditing on or off for the system and controlling the level of auditing on an object or user. *JOBCTL Job control authority is given to the user. The user has authority to change, display, hold, release, cancel, and clear all jobs that are running on the system or that are on a job queue or output queue that has OPRCTL (*YES) specified. The user also has the authority to start writers and to stop active subsystems. *SAVSYS Save system authority is given to the user profile. This user has the authority to save, restore, and free storage for all objects on the system, with or without object management authority.
*IOSYSCFG Input/output (I/O) system configuration authority is given to the user. The user has authority to change system I/O configurations. *SECADM Security administrator authority is given to the user. The user can create, change, or delete user profiles if authorized to the Create User Profile (CRTUSRPRF), Change User Profile (CHGUSRPRF), or Delete User Profile (DLTUSRPRF) commands and is authorized to the user profile. This authority does not allow giving special authorities that this user profile does not have. To give *SECADM special authority to another user, a user must have both *ALLOBJ and *SECADM special authorities. *SERVICE Service authority is given to this user. The user can perform service functions. *SPLCTL Spool control authority is given to this user. The user can perform all spool functions. Top
Specifies the password expiration interval (in days). *SYSVAL The system value QPWDEXPITV is used to determine the password expiration interval. *NOMAX The password does not expire. 1-366 Specify the number of days between the date when the password is changed and the date when the password expires. Valid values range from 1 through 366. Top
password parameter will be sent to other IBM products or solutions that do password synchronization (for example, System i integration with BladeCenter and System x at http://www.ibm.com/systems/i/bladecenter/). The user will not be able to change their own password using the Change Password (CHGPWD) command. They also will not be able to sign on to the system directly. Specifying this value will affect other IBM products or solutions that do password synchronization, like System i integration with BladeCenter and System x at http://www.ibm.com/systems/i/bladecenter/. See the documentation for the product or solution for details. This value should be used if the user only needs to access the system through some other platform, such as Windows. Top
is in the APIs topic collection in the Programming category in the i5/OS Information Center at http://www.ibm.com/systems/i/infocenter/. *SYSVAL The system value, QKBDBUF, is used to determine the keyboard buffering value. *NO The type-ahead feature and attention key buffering option are not active. *TYPEAHEAD The type-ahead feature is active, but the attention key buffering option is not. *YES The type-ahead feature and attention key buffering option are active. Top
A restore operation assigns the storage to the user doing the restore, and then transfers the object to the owner. For a large restore, specify MAXSTG(*NOMAX). The user profile that creates a journal receiver is assigned the required storage as the receiver size grows. If new receivers are created using JRNRCV(*GEN), the storage continues to be assigned to the user profile that owns the active journal receiver. If a very active journal receiver is owned, specify MAXSTG(*NOMAX). User profiles that transfer created objects to their group profile must have adequate storage in the user profiles to contain created objects before the objects are transferred to the group profile. The owner of the library is assigned the storage for the descriptions of objects which are stored in a library, even when the objects are owned by another user profile. Examples of such objects are text and program references.
*NOMAX As much storage as is required is assigned to this profile. number Specify the maximum amount of storage for the user, in kilobytes (1 kilobyte equals 1024 bytes).
Top
Specifies the user's group profile name whose authority is used if no specific authority is given for the user. The current user of this command must have object management (*OBJMGT) and change (*CHANGE) authority to the profile specified for the Group profile (GRPPRF) parameter. The required *OBJMGT authority cannot be given by a program adopt operation. Note: 1. When a group profile is specified, the user is automatically granted *CHANGE and *OBJMGT authority to the group profile. 2. The following IBM-supplied objects are not valid on this parameter. QANZAGENT, QAUTPROF, QCLUMGT, QCLUSTER, QCOLSRV, QDBSHR, QDBSHRDO, QDFTOWN, QDIRSRV, QDLFM, QDOC, QDSNX, QEJB, QFNC, QGATE, QIBMHELP, QIPP, QLPAUTO, QLPINSTALL, QMGTC, QMSF, QNETSPLF, QNFSANON, QNTP, QPEX, QPM400, QRJE, QSNADS, QSPL, QSPLJOB, QSRV, QSRVAGT, QSRVBAS, QSYS, QTCM, QTCP, QTFTP, QTSTRQS, QYCMCIMOM, QYPSJSVR *NONE This user profile has no group profile. name Specify the name of the group profile used with this user profile. Top
Owner (OWNER)
Specifies the user profile that is to be the owner of objects created by this user. *USRPRF The user profile associated with the job is the owner of the object. *GRPPRF The group profile is made the owner of newly created objects and has all authority to the object. The user profile associated with the job does not have any specific authority to the object. If *GRPPRF is specified, a user profile name must be specified for the Group profile (GRPPRF) parameter, and the Group authority (GRPAUT) parameter cannot be specified. Top
No group authority is given. *ALL The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object. *CHANGE The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users. *USE The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities. *EXCLUDE The user cannot access the object. Top
(CRTUSRPRF) or Change User Profile (CHGUSRPRF) command. The current user of this command must have object management (*OBJMGT) and change (*CHANGE) authority to the profiles specified for this. The required *OBJMGT authority cannot be given by a program adopt operation. Notes: 1. When a group profile is specified, the user is automatically granted *CHANGE and *OBJMGT authority to the group profile. 2. The following IBM-supplied user profiles are not valid for this parameter: QANZAGENT, QAUTPROF, QCLUMGT, QCLUSTER, QCOLSRV, QDBSHR, QDBSHRDO, QDFTOWN, QDIRSRV, QDLFM, QDOC, QDSNX, QEJB, QFNC, QGATE, QIBMHELP, QIPP, QLPAUTO, QLPINSTALL, QMGTC, QMSF, QNETSPLF, QNFSANON, QNTP, QPEX, QPM400, QRJE, QSNADS, QSPL, QSPLJOB, QSRV, QSRVAGT, QSRVBAS, QSYS, QTCM, QTCP, QTFTP, QTSTRQS, QYCMCIMOM, QYPSJSVR *NONE No supplemental group profiles are used with this user profile. name Specify a maximum of 15 group profile names used with this user profile and the group profile specified on the GRPPRF parameter to determine a job's eligibility for getting access to existing objects and special authority. Top
name Specify the document password to be assigned to this user. The password must range from 1 through 8 alphanumeric characters (letters A through Z and numbers 0 through 9). The first character of the document password must be alphabetic; the remaining characters can be alphanumeric. Embedded blanks, leading blanks, and special characters are not valid. Top
Delivery (DLVRY)
Specifies how messages are sent to the message queue for this user are to be delivered. *NOTIFY The job to which the message queue is assigned is notified when a message arrives at the message queue. For interactive jobs at a work station, the audible alarm is
sounded (if the alarm feature is set) and the Message Waiting light is turned on. The delivery mode cannot be changed to *NOTIFY if the message queue is also being used by another job. *HOLD The messages are held in the message queue until they are requested by the user or program. *BREAK The job to which the message queue is assigned is interrupted when a message arrives at the message queue. If the job is an interactive job, the audible alarm is sounded (if the alarm feature is set). The delivery mode cannot be changed to *BREAK if the message queue is also being used by another job. *DFT The default reply to the inquiry message is sent. If no default reply is specified in the message description of the inquiry message, the system default reply, *N, is used. Top
*SYSVAL The value specified in the system value QPRTDEV is used. name Specify the name of a printer that is to be used to print the output for this user. Top
QCMD command processor. The ATTN key handling program is set on before the initial program (if any) is called and it is active for both program and menu. If the program changes the ATNPGM (by using the SETATNPGM command), the new program remains active only for the duration of the program. When control returns and QCMD calls the menu, the original ATTN key handling program becomes active again. If the SETATNPGM command is run from the menus or an application is called from the menus, the new ATTN key handling program that is specified overrides the original ATTN key handling program. If *YES or *PARTIAL is specified for the Limit capabilities (LMTCPB) parameter on the Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command, the ATTN key handling program cannot be changed. Single values *SYSVAL The system value QATNPGM is used. *NONE No ATTN key handling program is used by this user. *ASSIST The Operational Assistant ATTN key handling program, QEZMAIN, is used. Qualifier 1: Attention program name Specifies the name of the ATTN key handling program to be used for this user profile. Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used. name Specify the name of the library to be searched. Top
*HEX A sort sequence table is not used. The hexadecimal values of the characters are used to determine the sort sequence. *LANGIDUNQ A unique-weight sort table is used. *LANGIDSHR A shared-weight sort table is used. Qualifier 1: Sort sequence name Specify the name of the sort sequence table to be used with this profile. Qualifier 2: Library *LIBL All libraries in the library list for the current thread are searched until the first match is found. *CURLIB The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used. name Specify the name of the library to be searched. Top
Language ID (LANGID)
Specifies the language identifier to be used for this user. *SYSVAL The system value QLANGID is used. language-identifier Specify the language identifier to be used. More information on valid language identifiers is in the i5/OS globalization topic collection in the i5/OS Information Center at http://www.ibm.com/systems/i/infocenter/ . Top
Specify a country or region identifier. To see a complete list of identifiers when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt). Top
Specifies which job attributes are to be taken from the locale specified for the Locale (LOCALE) parameter when the job is initiated. Single values *SYSVAL The system value, QSETJOBATR, is used to determine which job attributes are taken from the locale. *NONE No job attributes are taken from the locale. Other values *CCSID The coded character set identifier from the locale is used. The CCSID value from the locale overrides the user profile CCSID. *DATFMT The date format from the locale is used. *DATSEP The date separator from the locale is used. *DECFMT The decimal format from the locale is used. *SRTSEQ The sort sequence from the locale is used. The sort sequence from the locale overrides the user profile sort sequence. *TIMSEP The time separator from the locale is used. Top
Locale (LOCALE)
Specifies the path name of the locale that is assigned to the LANG environment variable for this user. Note: This parameter is Unicode-enabled. See "Unicode support in CL" in the CL topic collection in the Programming category in the i5/OS Information Center at http://www.ibm.com/systems/i/infocenter/ for additional information. *SYSVAL The system value QLOCALE is used to determine the locale path name to be assigned for this user. *NONE No locale path name is assigned for this user. *C The C locale path name is assigned for this user. *POSIX
The POSIX locale path name is assigned for this user. 'path-name' Specify the path name of the locale to be assigned for this user. Top
The uid number is generated for the user. The system generates a uid number that is not already assigned to another user. The uid number generated is greater than 100. number Specify the uid number to be assigned to the user profile. A value from 1 to 4294967294 can be entered. The uid number assigned must not already be assigned to another user profile. Top
The user profile is the primary group of an object in a directory. There are one or more active jobs for the user.
*NONE The user does not have a gid number or an existing gid number is removed. *GEN The gid number will be generated for the user. The system generates a gid number that is not already assigned to another user. The gid number generated is greater than 100. number Spcify the gid number to be assigned to the user profile. A value from 1 to 4294967294 can be entered. The gid number assigned must not already be assigned to another user profile. Top
For more information on specifying path names, refer to "Object naming rules" in the CL topic collection in the Programming category in the i5/OS Information Center at http://www.ibm.com/systems/i/infocenter/. Top
Administrative associations are used to show that an identity is associated with an EIM identifier, but cannot be used as the source for, and will not be found as the target of, a mapping lookup operation. *TARGET Process a target association. *SOURCE Process a source association. *TGTSRC Process both a target and a source association. *ADMIN Process an administrative association. *ALL Process all association types. Element 3: Association action *REPLACE Associations of the specified type will be removed from all EIM identifiers that have an association for this user profile and local EIM registry. A new association will be added to the specified EIM identifier. *ADD Add an association. *REMOVE Remove an association. Element 4: Create EIM identifier Specifies whether the EIM identifier should be created if it does not already exist. *NOCRTEIMID EIM identifier does not get created. *CRTEIMID EIM identifier gets created if it does not exist. Top
Authority (AUT)
Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object. *EXCLUDE The user cannot access the object. *ALL The user performs all operations on the object except those limited to the owner.
*CHANGE The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users. *USE The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities. Top
Examples
Example 1: Creating a User Profile
CRTUSRPRF USRPRF(JJADAMS) PASSWORD(S1CR2T) INLPGM(ARLIB/DSPMENU) SPCAUT(*SAVSYS)
This command creates a user profile with the user name of JJADAMS and a password of S1CR2T. After sign-on, a program called DSPMENU in the ARLIB library is called. The user is granted the save system special authority. Because the other parameters were not specified: (1) The profile has no limit on the amount of storage assigned to it for owned permanent objects; (2) A scheduling priority of 3 is the highest priority that any of the user's jobs can have; (3) The user-defined description text is blank; (4) There is no group profile associated with this user profile; and (5) No authority is granted for the user profile to other users. Example 2: Creating a User Profile with the Same User Name and Password
CRTUSRPRF USRPRF(TMSMITH) MAXSTG(12) INLPGM(PROGMR/CALC) TEXT('Ted Smith, Dept 410, Application Programs')
This command creates a user profile with the user name of TMSMITH; the password is also TMSMITH because the password was not specified. The maximum permanent storage space the user can use for all objects is 12K (or 12,288 bytes). The initial program called following sign-on is CALC, which is located in the library named PROGMR. The text parameter provides the user's name, department, and department name. Default values are assigned to the other parameters. Top
Error messages
*ESCAPE Messages CPF22CE The &1 value &2 is used by another user profile. CPF22CF User profile not allowed to be a group profile. CPF22DB The user profile being changed must have a GID. CPF22DF Unable to process request for user profile &1. CPF22EB Unable to process request for user profile &1. CPF22E1 USROPT parameter cannot specify *STSMSG and *NOSTSMSG. CPF22F1 Coded character set identifier &1 not valid. CPF22F3 &1 specified a LMTCPB value that is not permitted. CPF22F5 Value for new password not allowed at password level &2. CPF2202 Do not have authority to create user profile. CPF2209 Library &1 not found. CPF2213 Not able to allocate user profile &1. CPF2214 User profile &1 already exists. CPF2225 Not able to allocate internal system object. CPF224A User profile &1 cannot have a GID and be a member of a group. CPF2242 Object &1 type *&2 not found in library list. CPF2244 Object &1 type *&2 cannot be found. CPF225A User profile name specified on both USRPRF and SUPGRPPRF parameters. CPF2259 Group profile &1 not found. CPF2260 User profile &2 was not created or changed. Reason code &3. CPF2261 OWNER or GRPAUT value not permitted.
CPF2262 Value for GRPAUT not correct. CPF2269 Special authority *ALLOBJ required when granting *SECADM or *AUDIT. CPF2272 Cannot allocate user profile &1. CPF2291 User profile does not have all special authorities being granted. CPF2292 *SECADM required to create or change user profiles. CPF2293 Storage limit exceeded for user profile &1. CPF9802 Not authorized to object &2 in &3. CPF9820 Not authorized to use library &1. CPF9825 Not authorized to device &1. Top