PQSCSTAT (Query storage controller)

Use request type PQSCSTAT to query storage controller status. This invokes ANTRQST ILK=PPRC REQUEST=PQSCSTAT.

DEVN(devn)
Specifies the hexadecimal device number to be used for I/O. It is required. The device must be located in the same subsystem cluster as the device specified in the QRYLSS and QRYDVC parameters.
QRYLSS(qrylss)
Specifies the hexadecimal logical subsystem number (LSS). QRYLSS is required.
QRYSIZE(qrysize)
Specifies the decimal length of the QRYINFO area. It is required.
QRYINFO(qryinfo)
Creates the data area where the query information is to be returned. The returned data is mapped by mapping macro (DSECT) ANTPQSCS.
OPENDVCS(NO | YES)
Indicates if the request is for Open System (Fixed Block) devices. It is optional.
NO
The query applies to a CKD LSS or device. This is the default.
YES
The query applies to an Open System LSS or device.
QRYDVC(qrydvc)
Specifies the hexadecimal channel connection address (CCA) for the device that is to be queried. This parameter is required with SCOPE(RANK); otherwise, it is ignored.
SCOPE(LSS | RANK)
Specifies the content of the PQSCSTAT output. It is optional. The default is LSS.
LSS
Device and LSS summary information only is to be returned.
RANK
Device-specific rank information as well as the LSS and device summary information are to be returned.
WAITTIME(waittime | 0)
Specifies the number of seconds that SDM must wait for a request to complete. A value of zero specifies that the request should not be timed. Valid values are 0 through 65535. The default is 0.
SUBCHSET(subchset | 0)
Specifies the subchannel set in which the command is to be issued. The subchannel set where the I/O will be issued is the subchannel set as defined in the Hardware Configuration Dialog (HCD). The valid values are determined by what is supported by the host system's processor and configured for the device.

If you omit the parameter, the command is issued to the device that is logically in subchannel set 0. If a swap has occurred, this could be the device that was defined in an alternate subchannel set in the I/O configuration (IODF), with HCD.