DHFLG (10-digit signed integer)

General flags.

The following flag can be specified:

DHFNEW

Generate new message identifiers.

This flag indicates that a new message identifier is to be generated for each destination in the distribution list. This can be set only when there are no put-message records present, or when the records are present but they do not contain the PRMID field.

Using this flag defers generation of the message identifiers until the last possible moment, namely the moment when the distribution-list message is finally split into individual messages. This minimizes the amount of control information that must flow with the distribution-list message.

When an application puts a message to a distribution list, the queue manager sets DHFNEW in the MQDH it generates when both of the following are true:

  • There are no put-message records provided by the application, or the records provided do not contain the PRMID field.

  • The MDMID field in MQMD is MINONE, or the PMOPT field in MQPMO includes PMNMID

If no flags are needed, the following can be specified:

DHFNON

No flags.

This constant indicates that no flags have been specified. DHFNON 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.

The initial value of this field is DHFNON.