QPURGE FM header format

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

Table 1. QPURGE 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'0A06'
4   FMH6MOD Modifier
0 FMH6LNSZ B'0' 1-Byte Length Fields
1-7   Reserved
5   FMH6FXCT

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

6   QORG

Type of queue purge function (if
multiple DPAGE input) or paging
request (if demand-paged output)1

7-m   QNAME

Name of IMS message ID
(ATTDQN/SCDDQN)2

Notes:
  1. If IMS receives QPURGE during demand-paged output, the QORG, if specified (that is, QORG is not equal to 0), must match the QORG specified in the QFXR FM header sent by IMS.
  2. The QNAME (message identifier) is required on each page request for scheduled demand-paged output and is optional for synchronous demand-paged output. If IMS receives QPURGE during demand-paged output, the QNAME, if specified, must match the ATTDQN/SCDDQN parameter (message ID) in the ATTACH FM header sent by IMS. If QNAME is not specified for synchronous demand-paged output, IMS assumes the same name as the ATTDQN parameter name. If the QNAME parameter does not match the ATTDQN/SCDDQN parameter, an error message is sent and the output message is returned to the message queue for retransmission.