WRKNWSSTS (Work with Network Server Status)
WRKNWSSTS Command syntax diagram
Purpose
The Work with Network Server Status (WRKNWSSTS) command displays a list of servers and their current status. Specific options are available to work with individual servers in the list. These options provide functions such as displaying active users, restarting a server, displaying server details, and so on. The display that appears differs depending on the value of the SVRTYPE parameter.
- If SVRTYPE(*NWSUSRA) is specified, the display shown depends on the value specified for the SVRTYPE parameter in the network server user attributes (CHGNWSUSRA command) for the current user.
- If SVRTYPE(*NWSA) is specified, the display shown depends on the value specified for the SVRTYPE parameter in the system network server attributes (CHGNWSA command).
- If SVRTYPE(*NETWARE) is specified, the display shows options and information relevant to NetWare servers. Both NetWare 3.12 and servers in NDS trees are listed. For more information about NetWare integration, see Netware on iSeries topic in the Information Center.
- If SVRTYPE(*NDS) is specified, the display shows options and information relevant to NetWare servers. Only NetWare servers in NDS trees are listed.
- If SVRTYPE(*NETWARE3) is specified, the display shows options and information relevant to NetWare servers. Only NetWare 3.12 servers are listed.
- If SVRTYPE(*WINDOWSNT) is specified, the display shows options and information relevant to local NWSDs that were created as 'NT application enabling' servers. For more information about Windows NT, see Installation and configuration of iSeries Integration for Windows Server topic in the Information Center.
- If SVRTYPE(*GUEST) is specified, the display shows options and information relevant to local NWSDs that were created to support servers running a guest operating system in a logical partition.
Optional Parameters
- SERVER
- Specifies which servers to work with.
*ALL: All servers that meet the criteria of the SVRTYPE parameter are listed.
generic*-server-name: Specify the generic name of the server.
server-name: Specify the name of a specific server.
- SVRTYPE
- Specifies which type of server to work with.
*NWSUSRA: The type of servers to list is specified in the network server user attributes (CHGNWSUSRA command).
*NWSA: The type of servers to list is specified in the system network server attributes (CHGNWSA command).
*NETWARE: A list of NetWare 3.12 servers and servers in NDS trees is displayed.
*NDS: A list of NetWare servers in the NDS trees is displayed.
*NETWARE3: A list of NetWare 3.12 servers is displayed.
*WINDOWSNT: A list of Windows NT servers is displayed.
*GUEST: A list of servers running a guest operating system in a logical partition is displayed.
Example for WRKNWSSTS
WRKNWSSTS SERVER(SERVER1) SVRTYPE(*NETWARE)This command works with a NetWare server named SERVER1.
WRKNWSSTS SERVER(SERVER2) SVRTYPE(*WINDOWSNT)This command works with a Windows NT Server named SERVER2.
Error messages for WRKNWSSTS
*ESCAPE Messages
- CPCA40E
- Server &1 restarted.
- CPFA451
- Server name too long.