Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Nickname (CHGNCK) command is used to change an existing nickname in the system distribution directory.
A nickname is a short version of either a directory entry or a distribution list name. More information about nicknames is in the SNA Distribution Services book, SC41-5410.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
NCK | Nickname | Element list | Required, Key, Positional 1 |
Element 1: Nickname | Character value | ||
Element 2: Access | *PRIVATE, *PUBLIC | ||
OWNER | Owner | Name, *SAME | Optional |
NEWACCESS | New access | *PRIVATE, *PUBLIC, *SAME | Optional |
TEXT | Nickname description | Character value, *SAME | Optional |
USRID | User identifier | Element list | Optional |
Element 1: User ID | Character value, *SAME | ||
Element 2: Address | Character value | ||
LSTID | List identifier | Element list | Optional |
Element 1: List ID | Character value, *SAME | ||
Element 2: List ID qualifier | Character value |
Top |
Specifies the existing nickname that is being changed and the access of the nickname.
The possible nickname value is:
The possible nickname access values are:
This is a required parameter.
Top |
Specifies the user profile name of the user who is to own the nickname. The user profile named must exist on the system.
Top |
Specifies the new access of the nickname.
Top |
Specifies the new description of the nickname.
Top |
Specifies the new identifier of the user for whom the user nickname is being changed. More information about specifying the user ID and address is in the SNA Distribution Services book, SC41-5410.
Note: This parameter cannot be specified when the LSTID parameter is specified.
Both the user ID and address elements must be specified unless *SAME is specified.
The possible value is:
The possible User ID value is:
The possible user address value is:
Top |
Specifies the new list identifier of the distribution list for the list nickname being changed.
Note: This parameter cannot be specified when the USRID parameter is specified.
Both the list identifier and qualifier elements must be specified unless *SAME is specified.
The possible list identifier value is:
The possible list qualifier value is:
Note: The distribution list identifier has two parts, the ID and the qualifier, separated by at least one space. If lowercase characters are specified, the system changes them to uppercase.
The naming rules for the two-part list ID are identical to the rules for the user ID and address. A complete description of these rules is in the SNA Distribution Services book, SC41-5410.
Top |
CHGNCK NCK(SEC44A *PRIVATE) NEWACCESS(*PUBLIC) TEXT('Secretary for Area 44A') USRID(XZWS44A RCHVMP2)
This command changes the access, nickname description, and user ID of the nickname SEC44A. If the nickname is a user nickname and the user has proper authority to the nickname, the nickname is changed.
Top |
*ESCAPE Messages
Top |