/LOGICAL=(NAME=logical-name[,TABLE=table][,MODE=mode])
Specifies a logical name to be associated with the actual name of
the created port. You must specify a logical name if you do not
specify a port name.
NOTE
If you have sufficient privileges to create a port, but lack
the privilege to assign a logical name, the port will still
be created.
You can specify one of the following options for the TABLE
keyword:
GROUP Places the logical name in the group logical name
table. You must have GRPNAM or SYSPRV privilege to
place the logical name in the group logical name table.
JOB Places the logical name in the jobwide logical name
table.
PROCESS Places the logical name in the process logical name
table. This is the default.
SYSTEM Places the logical name in the system logical name
table. You must have SYSNAM or SYSPRV privilege to
place a name in the system logical name table.
You can also specify the name of a specific table. For example,
you could specify LNM$PROCESS, which would be the equivalent of
specifying PROCESS.
Options for the MODE keyword are:
EXECUTIVE Creates an executive mode logical name. You must have
SYSNAM privilege to create an executive mode logical
name.
SUPERVISOR Creates a supervisor mode logical name.
USER Creates a user mode logical name.
The access mode associated with the logical name is determined
by maximizing the access mode of the caller with the access mode
specified by the MODE keyword: the mode with the lower privilege
is used.
You cannot specify an access mode with a privilege higher than
that of the table containing the logical name. However, if your
process has SYSNAM privilege, then the specified access mode is
associated with the logical name regardless of the access mode of
the caller.
If you omit the MODE keyword, the access mode of the caller is
associated with the logical name.
You can also create the port as a limited port, using the
/LIMITED qualifier.