| Previous | 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 -heldcommand. Ranges are allowed.
Use the
releasecommand 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 -heldcommand.The messages to be released are specified by their message identification numbers shown by the most recent
directorycommand. That number appears in the leftmost column of thedirectorycommand listing. Ambiguous message numbers must be qualified by the proper channel name with the-channelqualifier.
-allRelease all messages shown by the last
-noall(default)directory -heldcommand. When used in conjunction with the-channelqualifier, only those messages shown by the lastdirectory -heldcommand for the specified channel will be released. Unless-noconfirmis specified with-all, you will be required to confirm anyrelease -alloperation.Specifies the name of the channel from which to release messages. Wildcards are not permitted.
-channel=name
-confirmWhen
-noconfirm(default)-confirmis 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 -heldcommand is used to list held messages in the tcp_local channel. Then, thereleasecommand 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 |