Previous | Next | Contents | Index |
Release one or more held messages.
release [message-id[,...]]
Command Qualifiers Defaults -all
-noall
-channel=
nameNone -confirm
-noconfirm
-log
-log
message-id[,...]
A comma separated list of one or more message identification numbers shown with a previousdirectory -held
command. Ranges are allowed.
Use the
release
command to release any messages previously marked as held, re-enter them in the queue cache database, and run the associated channel so the message can be processed. Messages which have been held can be listed with thedirectory -held
command.The messages to be released are specified by their message identification numbers shown by the most recent
directory
command. That number appears in the leftmost column of thedirectory
command listing. Ambiguous message numbers must be qualified by the proper channel name with the-channel
qualifier.
-all
Release all messages shown by the last
-noall
(default)directory -held
command. When used in conjunction with the-channel
qualifier, only those messages shown by the lastdirectory -held
command for the specified channel will be released. Unless-noconfirm
is specified with-all
, you will be required to confirm anyrelease -all
operation.Specifies the name of the channel from which to release messages. Wildcards are not permitted.
-channel=
name
-confirm
When
-noconfirm
(default)-confirm
is specified, you will be prompted to confirm each message release operation.
-log
(default)Specifies whether informational messages for each message release operation are generated.
-nolog
In the following example, the
directory -held
command is used to list held messages in the tcp_local channel. Then, therelease
command is used to release all of the held messages from that channel.
qm.maint> directory -held tcp_local Fri, 15 Nov 2012 13:43:39 -0800 (PST) Data gathered from the queue directory tree Channel: tcp_local Size Queued since -------------------------------------------------------------- 1 ZZ01HNP17LSUWY9D4DNR.HELD 4 15-Nov-2012 03:12:00 2 ZZ01HNP1RP3B6G9D4DNR.HELD 10 15-Nov-2012 11:46:23 3 ZZ01HNP42MAMAI9D4DNR.HELD 5 15-Nov-2012 18:17:01 -------------------------------------------------------------- Total size: 19 3 total messages queued qm.maint> release -all Release all message files (Y/N, default is N)? YES %QM-I-RELEASED, released the message file /pmdf/queue/tcp_local/ZZ01HNP17LSUWY9D4DNR.HELD %QM-I-RELEASED, released the message file /pmdf/queue/tcp_local/ZZ01HNP1RP3B6G9D4DNR.HELD %QM-I-RELEASED, released the message file /pmdf/queue/tcp_local/ZZ01HNP42MAMAI9D4DNR.HELD qm.maint>
Previous | Next | Contents | Index |