SELECT and REJECT subcommands for shared queues

When used in an SQ environment, the SELECT and REJECT subcommands function the same as they do for non-shared queues with the exception of the following keywords, which only apply to shared queues:
  • AFFINITY

  • ENTRYID (mutually exclusive with the DRRN keyword for non-shared queues)

  • KEY

  • QTYPE (mutually exclusive with the DESTYPE and QUEUE keywords for non-shared queues)

See SELECT and REJECT subcommands for descriptions of all other SELect and REJect keywords.

Note

You can specify the DESTYPE keyword when processing the shared queues to match only messages for destinations that are defined on the current IMS system (in most cases).

DESTYPE keyword parameters and matching destinations for shared queues

DESTYPE=

matches these destinations on shared queues:

ALL

all queue types-regardless of whether the destination is locally defined

APPC/TPNAME

QTYPE 7-matches only if the APPC or TPNAME is defined on the current IMS

BMP

ALLTRAN-matches only BMPs that are defined on the current IMS

CNT

QTYPE 5-matches only CNTs that are on the current IMS

DEADQ

QTYPE 5-matches only DEADQ CNTs on the current IMS

DYNAMIC

QTYPE 5-matches only dynamic CNTs that are on the current IMS

HELD

none-matches only destinations on local queues

LTERMS

ALLTERM-matches only LTERMs that are defined on the current IMS

MPP

ALLTRAN-matches only MPPs that are defined on the current IMS

MSNAME

QTYPE 8-matches only MSNAMEs on the current IMS

OTMA

QTYPE 9-matches only if the OTMA is defined on the current IMS

RSMB

ALLTRAN-matches only RSMBs that are defined on the current IMS

SMB

ALLTRAN-matches only SMBs that are defined on the current IMS

STATIC

QTYPE 5-matches only static CNTs that are on the current IMS

SYSTEM

none-matches only destinations on local queues

TRANSACTION

ALLTRAN-matches only transactions that are defined on the current IMS

UNDEFINED

all queue types-matches only if the destination is not defined on the current IMS

Note

Because UNDEFINED will match dynamic LTERMs that are not currently active, and may also match destinations that are defined on some other IMS, you should not use it by itself as a criteria for deleting messages.

VSPCNT

QTYPE 5-matches only VSPCNTs on the current IMS



Was this page helpful? Yes No Submitting... Thank you

Comments