The QUERY SWITCHES command obtains global ESCON/FICON switch information for a specific switch by device ID or for a range of switches based on the global relative position number assigned by SOF for all known switches. Use the range form of this command to limit the amount of output per command. Output may be continued by starting at the next sequential relative position number. If SWITCH is omitted and STARTPOS is not specified, then STARTPOS defaults to (0,65535).
This command has the following format:
QUERY SWITCHES
[SWITCH(devid)|STARTPOS(global relative position number, count of switches to return)]
Created stem variables:
The output stem variable records will have the following word delimited fields for each GLOBAL switch information record returned by the SOF server.
'80'x = switch could not be allocated
'40'x = switch is offline
'20'x = SW_SWNUM contains global switch number
'10'x = switch is virtual
'08'x = FICON switch
'80'x = port is not installed
'40'x = port is blocked
'20'x = port is prohibited for dynamic connections
'10'x = port has a dedicated connection
'08'x = port number and address are valid
'05'x = FICON port
'04'x = external laser port
'03'x = external LED port
'01'x = internal port
'00'x = unknown or not installed port
'80'x = port not installed
'40'x = port link failure
'20'x = spare port
'10'x = port is offline
'08'x = port is in maintenance mode
'04'x = control unit is connected to port
'02'x = port requires service
'01'x = invalid port attachment
Note: Port addresses are not necessarily the same as their physical port numbers
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|