Previous Topic: QUERY PORTS PORTADDR—Query ESCON/FICON Switch PortsNext Topic: QUERY SWITCHES LOCAL SYSNAME—Query Specific Local System Switches


QUERY SWITCHES—Query ESCON/FICON Switch by Device ID

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.

Note: Port addresses are not necessarily the same as their physical port numbers