CL Command Reference - RNMNCK

CL Command List > RNMNCK Reference

Description:

The Rename Nickname (RNMNCK) command is used to rename an existing nickname in the system distribution directory. The new nickname must be unique if it is a public nickname. The new nickname must be unique only for the owner if it is a private nickname.

A nickname is a short version of either a directory entry or a distribution list name.

Restrictions:

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

2. Only the owner can rename a private nickname. No special authority is needed.


Examples:

RNMNCK NCK(SEC44A *PUBLIC) NEWNCK(SEC44C)

This command renames the public nickname SEC44A to SEC44C. If the new nickname is unique, the nickname is renamed.