QSTATUS FM header format

The following table shows the format of the QSTATUS FM header.

Table 1. QSTATUS FM header format
Byte Bits Name Contents
0   FMHL Length
1 0 FMHC  
1-7 FMHT Type: B'0000110'
2-3   FMH6CMD Command code: X'0A0A'
4   FMH6MOD Modifier
0 FMH6LNSZ B'0' 1-Byte length fields
1-7   Reserved
5   FMH6XCT

Length of fixed-length parameters
(=X'02')

6   QORG

Type of queue add/retrieval requests.1

7 0-4   Not supported by IMS. Bit values should be B'0'.
5 QINVCUR

B'0' if message is a reply to QPURGE.
B'1' Invalid Cursor
Indicates invalid logical page
request received for OLP output.

6-7   Not supported by IMS.
8     Reserved
9-12   QCURSOR Current cursor value is 02
13-16   QSENSE Sense data3
17-n   QNAME Message ID (ATTDQN/SCDDQN)
Notes:
  1. If QSTATUS is sent by IMS in reply to the QPURGE, QORG is not specified (that is, QORG contains the value of zero). If QSTATUS is sent by IMS in reply to QGET by cursor request, QORG is set to linear (that is, QORG contains the value of two).
  2. This parameter is present only if the QINVCUR value is set to B'1'. The cursor value is set to 0. A QGETN request retrieves the first page of the message for which this error (invalid cursor) was detected.
  3. This parameter is present only if the QINVCUR value is set to B'1'. It consists of the DFS223 error message as a binary number.