Display NWS User Attributes (DSPNWSUSRA)

The Display Network Server User Attributes (DSPNWSUSRA) command displays the network server user attributes for a user profile.

Output is directed to a display or a spooled printer file as indicated by the OUTPUT parameter and job type.

Parameters

Keyword Description Choices Notes
USRPRF User profile Simple name, *CURRENT Optional, Positional 1
PRFTYPE Profile type *USER, *GROUP Optional, Positional 2
OPTION Option *ALL, *WINDOWS, *WINDOWSNT Optional, Positional 3
OUTPUT Output *, *PRINT Optional

User profile (USRPRF)

Specifies the name of a user or group profile.

*CURRENT
The user profile attributes for the current user profile are displayed.
user-name
Specify the name of a user profile to be displayed.

Profile type (PRFTYPE)

Specifies whether the information to be displayed is for a user profile or for a group profile.

*USER
The information to be displayed is for a user profile.
*GROUP
The information to be displayed is for a group profile.

Option (OPTION)

Specifies the displays to be shown.

*ALL
All displays that apply to all server types are shown.
*WINDOWS or *WINDOWSNT
The displays that apply to the Windows servers are shown, but additional information displays are not shown.

Note: *WINDOWS should be used in V5R4 and later releases. The *WINDOWSNT value is supported for compatibility with releases prior to V5R4.

Output (OUTPUT)

Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output.

*
Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT
The output is printed with the job's spooled output.

Examples

DSPNWSUSRA   USRPRF(NWSUSR1)

If the job is interactive, this command displays the network server user attributes defined for user NWSUSR1 at the workstation. If the job is batch, the network server user attributes for user NWSUSR1 is printed with the job's spooled output.

Error messages

*ESCAPE Messages

CPFA453
Network server user attributes not displayed.