Defining the default CICS user ID to RACF
For each CICS® region where you specify SEC=YES, define a RACF® user profile whose user ID matches the value of the DFLTUSER system initialization parameter.
You can use the same default user ID on all CICS regions. You can specify this default user ID on the DFLTUSER system initialization parameter, or leave DFLTUSER set to the default of CICSUSER.
- The default CICS user ID requires different security attributes (such as membership in RACF groups).
- The default CICS user ID requires different operator data (CICS segment of the RACF user profile).
- The default CICS user ID requires a different default language (LANGUAGE segment of the RACF user profile).
Step 1. Define the CICS default user to RACF
Use the ADDUSER command with the CICS operand to define a CICS default user to RACF.
Usually, the default CICS user ID should be defined as a protected user ID. This is particularly the case if the CICS region is a started task. Protected user IDs cannot be used to enter the system by any means that requires a password, and users cannot cause a protected user ID to be revoked. For more information, see Using protected user IDs.
The following command defines CICS default user
CICSUSER as a protected user ID to
RACF:
ADDUSER CICSUSER DFLTGRP(group_id) NAME(user_name)
OWNER(userid or group)
NOOIDCARD
NOPASSWORDStep 2. Authorize the CICS region user ID to be a surrogate user of the default user ID
CICSUSER:
PERMIT CICSUSER.DFHINSTL CLASS(SURROGAT) ID(cics_region_userid)Sign-on processing of the CICS default user
During startup, CICS signs on the default user ID. If the default user sign-on fails (because, for example, the user ID is not defined to RACF), CICS issues message DFHXS1104 and terminates CICS initialization.
- The CICS segment of the default user's RACF user profile
- Built-in CICS system default values
See Obtaining CICS-related data for a user for details of the sign-on process for obtaining CICS terminal operator data.
How CICS assigns the security attributes of the default user
CICS also assigns the security attributes of the default user ID to any “trigger level transactions” that are initiated for transient data queues without a USERID parameter.
- Give the default user access to the region's APPLID. See Authorizing access to the CICS region.
- Give the default user access to the CICS-supplied transactions that are intended to be used by everybody. See the definitions in Identifying CICS terminal users, especially those transactions that are recommended for inclusion in the ALLUSER example group of transactions.