PMPRF (10-digit signed integer)

Flags indicating which MQPMR fields are present.

This field contains flags that must be set to indicate which MQPMR fields are present in the put message records provided by the application. PMPRF is used only when the message is being put to a distribution list. The field is ignored if PMREC is zero, or both PMPRO and PMPRP are zero.

For fields that are present, the queue manager uses for each destination the values from the fields in the corresponding put message record. For fields that are absent, the queue manager uses the values from the MQMD structure.

One or more of the following flags can be specified to indicate which fields are present in the put message records:

PFMID

Message-identifier field is present.

PFCID

Correlation-identifier field is present.

PFGID

Group-identifier field is present.

PFFB

Feedback field is present.

PFACC

Accounting-token field is present.

If this flag is specified, either PMSETI or PMSETA must be specified in the PMOPT field; if this condition is not satisfied, the call fails with reason code RC2158.

If no MQPMR fields are present, the following can be specified:

PFNONE

No put-message record fields are present.

If this value is specified, either PMREC must be zero, or both PMPRO and PMPRP must be zero.

PFNONE is defined to aid program documentation. It is not intended that this constant be used with any other, but as its value is zero, such use cannot be detected.

If PMPRF contains flags which are not valid, or put message records are provided but PMPRF has the value PFNONE, the call fails with reason code RC2158.

This is an input field. The initial value of this field is PFNONE. This field is ignored if PMVER is less than PMVER2.