Previous Topic: QUERY FILES SWITCH—Query Configuration FilesNext Topic: QUERY SWITCHES—Query ESCON/FICON Switch by Device ID


QUERY PORTS PORTADDR—Query ESCON/FICON Switch Ports

The QUERY PORTS PORTADDR command obtains information on a range of ESCON/FICON switch ports for a specific switch device.

This command has the following format:

QUERY PORTS PORTADDR(fromport|*,toport|*) {SWITCH(devid)}
PORTADDR

Specifies a range of port addresses (00-FF) such as PORTADDR(C0,DF). If the PORTADDR keyword is omitted, then the default is PORTADDR(*,*).

fromport|*

Defaults to 00 when * is specified.

toport|*

Defaults to FF when * is specified. If omitted, then the fromport specification is copied.

SWITCH

Contains the switch device ID obtained from the QUERY SWITCHES command or other switch-connected device commands.

Created stem variables:

The output stem variable records will have the following word delimited fields for each port information record returned by the SOF server.