QUERY command: Displaying the status of parameters, statistics, and requests

The QUERY command can do the following tasks:
  • Determine the DFSMShsm control parameters (SETSYS).
  • Determine the DFSMShsm control parameters that apply to aggregate backup and recovery (ABARS).
  • Request a list of DFSMShsm statistics (STATISTICS).
  • Determine the status of pending DFSMShsm requests (WAITING).
  • Request volume space-use information (SPACE).
  • Request control data set space-use information (CONTROLDATASETS).
  • Determine whether multiple backup data set support is enabled (CDSVERSIONBACKUP).
  • Request the common service area storage limits (CSALIMITS).
  • Request the status of each DFSMShsm volume and data set subtask, each long-running command, and what each active one is doing (ACTIVE).
  • Request a list of recall pools (POOL).
  • Request a list of volumes defined to be used during aggregate recovery processing (ARPOOL).
  • Request a list of the backup parameters and backup volumes (BACKUP).
  • Request a list of the source volume serial numbers for any volumes in a specified copy pool that have an outstanding FlashCopy® relationship (COPYPOOL).
  • Request a list of selected DFSMShsm requests (DATASETNAME|REQUEST|USER).
  • Request a list of the DFSMShsm address spaces that are active on the z/OS® image (IMAGE).
  • Request a list of key ranges and associated DASD ML2 volumes, and tape ML2 volumes (MIGRATIONLEVEL2).
  • Request a list of the first qualifiers of data sets excluded from space management (RETAIN).
  • Determine whether access to DFSMShsm commands is controlled using the RACF® FACILITY class or the AUTH command (SECURITY).
  • Determine the parameters specified when DFSMShsm was started (STARTUP).
  • Request a list of trap requests specified with the TRAP command (TRAPS).
  • Request a list of current volume pools (VOLUMEPOOL).
  • Request a list that indicates the number of volumes that have not been processed and the total volumes eligible to be processed. This list can be used to indicate how much work remains to be done for an automatic function currently in progress (AUTOPROGRESS).
  • Request percent full information for the common queue (COMMONQUEUE).
  • Request percent full, outstanding recall requests, and recall requests that are currently being processed in the common recall queue (COMMONQUEUE(RECALL)).

For more information about the messages associated with the QUERY command, see Using the QUERY command.