CONVID keyword


Use the CONVID keyword to select or reject conversational messages. You can specify keywords or a list of conversation numbers for the CONVID keyword value. You can use CONVERSATIONS or CONV as an alias for CONVID.

Parameter

Description

ALL

ANY

selects or rejects both conversational and non-conversational messages

CONVxxxx

the number that identifies the conversation that you want to select or reject for processing

Note

xxxx is a value that you specify. You can enter xxxx without the preceding CONV, and Message Advisor changes the format to CONVxxxx.

ONLY

selects or rejects both conversational and held conversational messages

Non-conversational messages are not selected.

NONE

selects or rejects only non-conversational messages

  • You can combine multiple keywords. For example, CONVID=(NONE, ONLY) is equivalent to CONVID=ALL.
  • Message Advisor ignores duplicate keywords.
  • You can combine keywords with conversation numbers. The conversation numbers will restrict which conversational messages are processed as shown in the following examples:
    • CONVID=(0002) or CONVID=(ONLY, 0002) selects or rejects only conversations with an ID of 0002. Both active and held conversations are selected or rejected. You must specify DESTYPE=HELD to restrict processing to held conversations only.
    • CONVID=(NONE, 0001) selects or rejects all non-conversational messages and all conversations with an ID of 0001.
    • CONVID=(ALL, 0001) selects or rejects all non-conversational messages and all conversations with an ID of 0001.
  • For shared queues systems, Message Advisor processes all conversational filtering at the message level. Message Advisor searches all destinations. A message that contains a conversation prefix and SPA is considered conversational. A message that does not contain a conversation prefix and SPA is considered non-conversational.
  • For non-shared queues systems, the ONLY and NONE keywords provide additional filtering at the destination level. ONLY processes only conversational SMBs and CNTs which are in conversation. NONE processes non-conversational SMBs, but processes all CNTs because CNTs in conversation may also have non-conversational messages queued.

    A message is considered conversational if it meets all the following requirements:

    • contains a conversation prefix and SPA
    • is queued to a conversational transaction or an LTERM in conversation

    A message is considered non-conversational if it meets any of the following requirements:

    • is queued to a non-conversational transaction or an LTERM not in conversation (even if the message contains a SPA)
    • does not contain a SPA (even if the conversation is still active)
  • is queued to a non-conversational transaction or an LTERM not in conversation (even if the message contains a SPA)
  • does not contain a SPA (even if the conversation is still active)
  • For the DISplay command set, the default CONVID parameter is All for SELECT statements.
  • For the DEQueue and UNLoad command sets, the default CONVID parameter for SELECT statements is the value specified for CONV on the command.
  • For all command sets, the default CONVID parameter is All for REJECT statements.
  • CONVID=A is not an abbreviation for CONVID=ALL. CONVID=A is interpreted as CONVID=000A and processes only held conversations with an ID of 000A.
  • Most CONVID values will not be allowed with the SORT=QCT keyword on the DISPLAY TYPE=DQ command because the QCT keyword indicates that messages are not to be examined or counted (the displayed counts are taken from CNT or SMB).

Note

Held conversation destinations must be a combination of the user ID and conversation number. A sample DISplay command set that includes a SELect statement using the CONVID keyword is provided below:

DISPLAY TYPE=DEST_Q,IMS=XRB6
 SELECT
  HELD=FRED*,
  CONVID=(0001,000F,23,CONV0003,CONV01DF)
END

The command set shown above would display conversations with numbers of 0001, 000F, 0023, 0003, or 01DF for any user ID starting with FRED.

You can omit CONVID and/or HELD, and Message Advisor will scan for destinations that match any specified selections.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*