Mark one or more messages as being held.
hold [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 previousdirectorycommand. Ranges are allowed.
Use the
holdcommand to mark as held any messages which should temporarily be placed on "hold". PMDF will not attempt to deliver any messages which are marked as held. To resume processing of a held message, use thereleasecommand. Messages which have been held can be listed with thedirectory -heldcommand.The messages to be held 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.
-allHold all messages shown by the last
-noall(default)directorycommand. When used in conjunction with the-channelqualifier, only those messages shown by the last directory command for the specified channel will be held. Unless-noconfirmis specified with-all, you will be required to confirm anyhold -all, operation.Specifies the name of the channel from which to hold messages. Wildcards are not permitted.
-channel=name
-confirmWhen
-noconfirm(default)-confirmis specified, you will be prompted to confirm each message hold operation.
-log(default)Specifies whether informational messages for each message hold operation are generated.
-nolog
In the following example, the
directorycommand is used to list the messages in the local, l, channel. Then, theholdcommand is used to hold messages 1, 3, 20, 21, and 22. A range specification, 20-22, is used to specify message numbers 20, 21, and 22.qm.maint> directory l Tue, 10 Mar 1998 13:43:39 -0800 (PST) Data gathered from the queue directory tree Channel: l Size Queued since -------------------------------------------------------------- 1 ZZ01HNP17LSUWY9D4DNR.00 4 10-Mar-1998 01:10:23 2 ZZ01HNP1RP3B6G9D4DNR.00 10 10-Mar-1998 01:10:24 3 ZZ01HNP42MAMAI9D4DNR.00 3 10-Mar-1998 01:10:24 4 ZZ01HNP4MEWC8G9D4DNR.00 8 10-Mar-1998 06:18:57 ... 24 ZZ01HNP90X63ZG9D4DNR.00 6 10-Mar-1998 13:21:14 -------------------------------------------------------------- 24 total messages queued qm.maint> hold 1,3,20-22 %QM-I-HELD, held the message file /pmdf/queue/l/ZZ01HNP17LSUWY9D4DNR.00 %QM-I-HELD, held the message file /pmdf/queue/l/ZZ01HNP42MAMAI9D4DNR.00 %QM-I-HELD, held the message file /pmdf/queue/l/ZZ01HNP76RTGHY9D4DNR.00 %QM-I-HELD, held the message file /pmdf/queue/l/ZZ01HNP82HTXYB9D4DNR.00 %QM-I-HELD, held the message file /pmdf/queue/l/ZZ01HNP83JPOCV9D4DNR.00 qm.maint>