MODEL Subcommand

The MODEL subcommand lets you copy a subset of the logonid fields, user profile records, and role information from an existing user. User defined fields that are defined as a character, binary packed, switch or hex are also copied. Using this information, CA ACF2 builds the commands to insert a new user along with the same user profile records and role information. The following user profile records are included in MODEL processing: CICS, EIM, Language, Netview, Operparm, Seclabel, and Workattr.
MODEL LOGONID(
logonid
) USING(
modelid
) INTO(
commnd.file.output(member)
Example: Create a new logonid based on an existing logonid
As a security administrator, you manage your organization's logonids. You've been asked to create a new logonid based off of a current logonid. Instead of creating the new logonid from scratch, you can issue the MODEL subcommand to duplicate specific details of an existing logonid. You can issue the MODEL subcommand from TSO or by establishing the LID setting of the ACF command.
ACF acf SET LID lid MODEL LOGONID(
newuser1
) USING(
user01
) INTO('
output.work.user
')
In this example, logonid
newuser1
was created modeling existing logonid
user01
. The
output.work.user
data set specifies where the CA ACF2 commands are written for archiving the new logonid information.
  • LOGONID
    Specifies the one- to eight-character name of the logonid record to create.
  • USING
    Specifies an existing logonid record that you want to use as a model.
  • INTO
    Specifies the data set where you want the CA ACF2 commands to be written for the archiving of the user. The data set must be a PDS. When you specify a fully qualified data set name, including the high-level index, you must enclose the name in single quotes.
    If a data set is not allocated, CA ACF2 allocates that data set as a PDS and writes the commands to the PDS. If you do not specify a member name, CA ACF2 uses the logonid value as the member name. If the member exists in the PDS, any data within the member is overwritten. If you do not specify the INTO operand, the command output is displayed to the screen.