Require all segments (-ALLSEG)

Use the Require All Segments adapter command (-ALLSEG) for data sources to specify retrieval of segments in a logical message group only when all segments in the logical message are available.

The use of the -ALLSEG adapter command automatically sets the requirement that group messages are returned in their logical order and that segments of logical messages are returned in the order of their offsets.

This must be considered when specifying additional selection criteria (such as the -MID or -CID adapter commands). It may be possible that the message which satisfies this additional criteria is not the message with the smallest sequence number and/or the smallest offset in its group, which will prevent it from being retrieved from the queue.


If the source queue contains segmented messages with some missing segments, the Require All Segments adapter command (-ALLSEG) prevents retrieval of the message segments belonging to incomplete logical messages.

For information about incomplete message groups contributing to the size of CurrentQDepth, see "Incomplete message segments".