SELECT, REJECT, CHANGE, and GROUP subcommand keyword groups

The following table lists the keywords that are common to the SELECT, REJECT, CHANGE, and GROUP subcommands.

Keyword Group

Description

Keywords

destination-related keywords

select which destinations to process

Note: Most of the destination-related keywords (except AFFINITY) are mutually exclusive. In general, you should only specify one destination-related keyword; however, the following combinations are allowed:

  • DESTINATION and DESTYPE

  • DESTINATION and QTYPE

  • TPNAME and LUNAME

  • TMEMBER and TPIPE

  • HELD and CONVID

The AFFINITY keyword is message-related for the REQUEUE command.

The QTYPE keyword is destination-related and message-related.

  • AFFINITY
  • CNT
  • CONVID 1
  • DBD
  • DEADQ
  • DESTINATION
  • DESTYPE
  • DYNAMIC
  • HELD
  • KEY 1
  • LTERM
  • LUNAME
  • MSNAME
  • PSB
  • QTYPE
  • RSMB
  • SMB
  • STATIC
  • TMEMBER
  • TPIPE
  • TPNAME
  • TRANSACTION
  • VSPCNT

queue-related keywords

select which queues to process for the selected destinations

  • QUEUE
  • REGION 2
  • REGION_ID 2

message-related keywords

select which messages to process for the selected queues

  • DRRN 1
  • ENTRYID 1
  • MFSNAME
  • MSGTYPE
  • NEWER_THAN
  • NODENAME
  • OIMS
  • OLDER_THAN
  • ORIGIN
  • ORGQNAME
  • ORGQMANAGER
  • ORGTPIPE
  • ORGTMEMBER
  • OTMAQ 1
  • OTOKEN
  • PIMS
  • PTOKEN
  • QPOSITION 1
  • RCNT
  • START
  • STOP
  • SYSID
  • UOWID
  • USERID

data-related keywords

select which messages to process for the selected queues

  • DATA
  • DATASIZE
  • OFFSET
  • SEGMENT

other keywords

special purpose

  • LABEL
  • SCRAPCODE 3

1 Keyword not allowed with the REQUEUE command

2 Keyword allowed only on the DISPLAY command

3 Keyword allowed only on the REQUEUE command

Some of the SELECT and REJECT keywords and values are not allowed with certain commands. The following table identifies the command and keyword combinations that are not allowed.

Command

Keywords not allowed

DEQUEUE/UNLOAD

  • REGION
  • REGION_ID
  • SCRAPCODE

DISPLAY

SCRAPCODE

REQUEUE

  • CONVID
  • DESTYPE=HELD
  • DRRN
  • ENTRYID
  • HELD
  • KEY
  • OTMAQ
  • QPOSITION
  • QUEUE=SUSPEND, BACKUP, or HELD
  • REGION
  • REGION_ID

Consider the following when specifying SELECT and REJECT subcommand keywords:

  • If you only use destination- and queue-related keywords, processing will be fastest since there is no need to examine individual messages.

  • If you use message prefix-related keywords, each message prefix must be examined, so processing will be slower.

  • If you use message data-related keywords, processing will be slowest, since all records for each message must be examined.



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

Comments