Work With Nickname (WRKNCK)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Nicknames (WRKNCK) command is used to show a list of nicknames you can work with. You can add, change, remove, show, print, and rename nicknames in the system distribution directory with this command.

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.

Restriction:

  1. You must have security administrator (*SECADM) authority to change, remove, or rename public nicknames that you do not own. No special authority is needed for you to display public nicknames or to work with public nicknames that you own.
  2. Only the owner can change, remove, rename, or display private nicknames. No special authority is needed.
Top

Parameters

Keyword Description Choices Notes
ACCESS Access *PRV, *ALL, *PRIVATE, *PUBLIC Optional, Positional 1
Top

Access (ACCESS)

Specifies the access of the nicknames to be shown.

*PRV
The last access specified by the current user for displaying, selecting, or working with nicknames is used.
*ALL
All of the nicknames to which you have access are shown. This includes the private nicknames that you own and all of the public nicknames in the system distribution directory.
*PRIVATE
The private nicknames that you own are shown.
*PUBLIC
All of the public nicknames in the system distribution directory are shown.
Top

Examples

WRKNCK   ACCESS(*PRIVATE)

This command displays the Work with Private Nicknames panel, from which you can add, change, remove, display, print, and rename your private nicknames.

Top

Error messages

*ESCAPE Messages

CPF8360
Not enough storage for commitment control operation.
CPF9006
User not enrolled in system distribution directory.
CPF905C
Error occurred trying to find a translation table.
CPF9096
Cannot use CMDCHRID(*DEVD), DOCCHRID(*DEVD) in batch job.
CPF9838
User profile storage limit exceeded.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.
CPF9871
Error occurred while processing.
Top