CL Command Reference - CHGNCK

CL Command List > CHGNCK Reference

Description:

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.

Restrictions:

1. You must have security administrator (*SECADM or *ALLOBJ) authority to change a public nickname that you do not own. No special authority is needed for you to change a public or private nickname that you own.

2. Only the owner can change a private nickname. No special authority is needed. However, to change the ownership of a nickname that you own, you must have at least change (*CHANGE) authority to the user profile of the user to be named as the new owner.


Examples:

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.