Query output block header
This example illustrates the general format of the output from a Query request. The sample DSECT that follows this figure describes in detail the fields of the storage blocks and their relationship to each other.

For STARTDBRC, SSID is the optionally specified subsystem ID. For STOPDBRC, SSID is the subsystem ID that is specified on the STARTDBRC request.
DSPAPQHD - QUERY output block header
OFFSET OFFSET
DECIMAL HEX TYPE LENGTH NAME (DIM) DESCRIPTION
======== ======== ========= ======== ============== ===============================
0 (0) STRUCTURE 32 DSPAPQHD
0 (0) CHARACTER 8 APQHD_EYECATCHER Output area eyecatcher
8 (8) SIGNED 4 APQHD_LENGTH Block length, hdr + data
12 (C) SIGNED 2 APQHD_BLKTYPE Block type
14 (E) UNSIGNED 2 * Reserved
15 (F) UNSIGNED 1 APQHD_SUBPOOL Subpool ID
16 (10) ADDRESS 4 APQHD_DEPPTR Ptr to block dependent
20 (14) ADDRESS 4 APQHD_NEXTPTR Ptr to next block of the same type
24 (18) UNSIGNED 4 APQHD_BLKOFFSET Offset to block data
28 (1C) SIGNED 4 APQHD_VERSION Version of output block