Overview of the REQUEUE command set
The REQUEUE command lets you requeue lost messages, and also requeue messages in a variety of other situations. For example, you can use the REQUEUE command with the UNLOAD and DEQUEUE commands to unload messages queued to a specific logical terminal (LTERM) destination, and then requeue the messages to the same or another LTERM. The ability to include SELECT and REJECT subcommands with REQUEUE command sets provides for greater flexibility when requeueing messages.
Message Advisor includes processing modes that allow you to perform the following tasks:
- requeue messages to active queues
- extract selected messages to a data set for later requeue
- validate (test) that a requeue will be successful and count the messages that will be requeued
The REQUEUE command set consists of the REQUEUE primary command and its associated keywords and parameters, with optional subcommands and their associated keywords and parameters. The REQUEUE subcommands are as follows:
CHANGE subcommand applies changes to selected messages
For more information, see CHANGE-subcommand.
EXTRACT subcommand identifies the data set to which Message Advisor writes extracted messages
For more information, see OUTPUT-EXTRACT-and-SCRAP-subcommands.
GROUP subcommand defines message groups for the SELECT report
For more information, see GROUP-subcommand.
INPUT subcommand identifies a data set to be used as input to the requeue
For more information, see INPUT-subcommand.
INTERVAL subcommand requeues messages according to a specified time range
For more information, see INTERVAL-subcommand.
REJECT subcommand specifies criteria to exclude specific destinations and/or messages from being requeued
For more information, see SELECT-and-REJECT-subcommands.
SCRAP subcommand identifies the data set to which Message Advisor writes messages when an error condition or a filter prevents successful requeue
For more information, see OUTPUT-EXTRACT-and-SCRAP-subcommands.
SELECT subcommand specifies criteria to select specific destinations and/or messages to requeue
For more information, see SELECT-and-REJECT-subcommands.
SPILL subcommand allocates temporary spill data sets
For more information, see SPILL-subcommand.
This section contains the following topics:
Related topic