Previous Topic: DEFSYSNext Topic: DEFVIEW


DEFUSER

The DEFUSER control statement adds CA View user IDs to the database or modifies existing user IDs.

Syntax:

/DEFUSER USER=xxxxxxxx
         USERPSWD=xxxxxxxx
         MASTER=Y|N
         DISTMASK=distmask
         DISTID=distid
         ACC=xxxxx
         MODE=xxxx
         BANNER=xxxxxxxx
         JCL1=xxxxxxxx
         JCL2=xxxxxxxx
         JCL3=xxxxxxxx
         JCL4=xxxxxxxx
         LANGUAGE=x
         PBANNER=xxxxxxxx
         PCLASS=x
         PDEST=x
         PWRITER=xxxxxxxx
         ABANNER=xxxxxxxx
         ACLASS=x
         ADEST=x
         AWRITER=xxxxxxxx

where:

USER=
xxxxxxxx

Specifies the name of the user ID to be processed.

If the user ID does not exist in the database, it is added. If it already exists, it is modified. This parameter is required.

USERPSWD=
xxxxxxxx

Specifies the password associated with the user ID for logging on to an online session.

This value can be 1 to 8 characters with national and/or alphanumeric characters. This parameter is optional.

MASTER=Y|N

Specifies whether the USER has master authority.

If omitted, MASTER=N is used.

DISTMASK=
distmask

Specifies the generic distribution ID mask for users in EXP mode or SAR mode.

This value can be 1 to 32 characters with any combination of asterisk, national, and alphanumeric characters.

Note: If distmask contains an embedded blank, parenthesis, quote, or a comma, enclose it in quotes (single or double). Any quote within the distmask must be entered as a pair of quotes because a non-paired quote ends the mask; for example, if the value is JIM’S DESK, enter it as ‘JIM’’S DESK’ or "JIM’S DESK".

If omitted, MASK=userid is used.

DISTID=distid

Specifies the default DIST ID for users in EXP mode or SAR mode.

This value can be 1 to 32 characters.

Note: If distid contains an embedded blank, parenthesis, quote, or a comma, enclose it in quotes (single or double). Any quote within the Dist-ID must be entered as a pair of quotes because a non-paired quote ends the ID; for example, if the value is JIM’S DESK, enter it as ‘JIM’’S DESK’ or "JIM’S DESK".

If omitted, DISTID=userid is used.

ACC=xxxxx

Specifies which of the modes a user can access.

This value is a 5–character string that consists of a combination of Ys and Ns to indicate whether the user can access modes ALL, EXPO, EXP, SARO, and SAR respectively.

If omitted, the SARINIT parameter DEFMODE is used. Since at least one mode must be active, ACC=NNNNN is not valid.

MODE=xxxx

Specifies the mode in which the user automatically enters CA View.

This value can be ALL, EXPO, EXP, SARO, or SAR.

BANNER=
xxxxxxxx

Specifies the default BANNER page for user.

This value can be 1 to 8 characters with alphanumeric or national characters.

JCL1=xxxxxxxx through JCL4=xxxxxxxx

The JCL job submit statements used by CA View J selection code printing.

JCL statements that contain blank or special characters must be enclosed in single or double quotes. For example:

JCL1="//AJOB JOB MSGCLASS=*"

LANGUAGE=x

Specifies the system default language to be used when displaying online panels and messages.

Possible values are R (or blank) for English, C for Canadian French, G for German, D for Danish.

PBANNER=xxxxxxxx

Specifies the Primary BANNER to be used in the Print menu for a user in SAR or EXP mode.

PCLASS=x

Specifies the Primary CLASS to be used in the Print menu for a user in SAR or EXP mode.

PDEST=x

Specifies the Primary DEST to be used in the Print menu for a user in SAR or EXP mode.

PWRITER=
xxxxxxxx

Specifies the Primary DEST to be used in the Print menu for a user in SAR or EXP mode.

ABANNER=
xxxxxxxx

Specifies the Alternate BANNER to be used in the Print menu for a user in SAR or EXP mode.

ACLASS=x

Specifies the Alternate CLASS to be used in the Print menu for a user in SAR or EXP mode.

ADEST=x

Specifies the Alternate DEST to be used in the Print menu for a user in SAR or EXP mode.

AWRITER=
xxxxxxxx

Specifies the Alternate WRITER to be used in the Print menu for a user in SAR or EXP mode.