Parameters

The basic status parameters are:

PATHS or P
Displays (in message IEE459I) the status of specified devices.

DEVSERV accepts a 3, 4 or 5-digit device number.

When a 3 or 4-digit device number is specified, DEVSERV returns information about the device that is in the active subchannel set.

For PPRC devices, this is the "primary" device, including failover scenarios.

When a 5-digit device number is specified, DEVSERV returns information about the device that is physically configured to the subchannel set s identified by the first digit in the 5-digit device number.

This allows DEVSERV commands to a PPRC secondary devices, including when these are configured in alternate subchannel sets.

SMS or S
Displays (in message IGD001I) the volume and storage group status for nn devices that SMS manages, starting with the specified device number.
s
The subchannel set number. If a subchannel set number is specified, those devices in the subchannel set number are displayed.
[/][d]ddd
The device number for which the system is to display information. The number consists of three or four hexadecimal digits, optionally preceded by a slash (/). If a subchannel set number is specified, a slash (/) cannot be specified as an input. If the subchannel set number is not 0 and the device number is 3 digits, the 3 digits device number must be preceded by a 0, for example 10800.

You can specify any device number that the operating system supports. When the subchanel set number in 's' is omitted, the device number specified in [d]ddd represents the device that is in the active subchannel set.

nn\nnn
The number of devices for which the system is to display the information, in ascending order beginning with the device you specify. For SMS, the number in nn is from 1 to 32. For PATHS, the number in nnn is from 1 to 256. If you do not code nn or nnn, the default is 1, and the system displays information only about the device you specify.
ONLINE or ON
Directs the system to display information about only those specified devices that are online to this MVS™ host. If you do not specify ONLINE or OFFLINE, the system displays information about both online and offline devices.
OFFLINE or OFF
Directs the system to display information about only those specified devices that are offline to this MVS host. If you do not specify ONLINE or OFFLINE, the system displays information about both online and offline devices.
NOSYM or NOS
Directs the system not to display (with message IEE459I) the definitions of symbols. If you omit NOSYM, the system displays the definition of all the symbols. You may use this parameter with PATHS, but not with SMS.
DUMP
Requests an SVC dump after execution of the DEVSERV PATHS command. If you specify both DUMP and a value for nnn, the system ignores the value for nnn. The SVC dump will cause an ‘0C1’X abend. You may use this parameter with PATHS, but not with SMS.
L=a , name, or name-a
The display area (a), console name (name), or both (name-a) where the display will appear. If you omit this operand, the display appears in the first available display area or in the message area of the console at which you entered the command.