How do I turn off the manager’s broadcast messages?
When you create or modify a job, use the /PROMPT qualifier and answer no to the Notify prompt. (The default answer is yes, notify on completion.)
Example
|
|
SCHEDULE> CREATE/PROMPT _VMS Command: @dua1:[example.notes]nightly_notes.com _Job Name [None] : extract_notes _Group [None] : notes_group _Type [None] : nightly _Stall Notify [None] : _Stall Time Job [None] : _Schedule Interval [None] : d 03:00 _Days [ALL]: (all,nosat,nosun) _Special Day Restrictions [None] : _Start Time [15-JAN-2012 03:00:00.00] : _Output file [None] :dua1:[example.notes]nightly_log _Mode (Detached, Batch, Remote [DETACHED] :) _Cluster Node [Default] : _Retain (Success, Error, None or All) [ALL]: _Restart (Yes, No [Yes]:) N _Retry (Yes, No [No]:)N _Notify (Yes, No [No]: _Send_Mail (All, Error, Success or None) [NONE]:)error _Send MAIL on Special Day Action (Yes, No [No]: _Use_next_time (Yes, No) [No]: OPCOM (Yes, No) [No] : _Mail_Address [EXAMPLE] : _User_Name [EXAMPLE] : _Run Priority [Default] : _Pre Function [None] : _Post Function [None] : _Maximum Time Warning [None] : _Maximum Time Job [None] : _LBAL Group [None] : _Synchronization [None] : _Comment [None] : This job extracts nightly notes %NSCHED-I-RQSTSUCCSS, Job 1 – Created |
You could also use /NONOTIFY with SCHEDULE CREATE or SCHEDULE MODIFY, as follows:
SCHEDULE> CREATE "@user$s:[smith]foo.com" - _SCHEDULE> /INTER="+0 00:30" - _SCHEDULE> /GROUP=personal - _SCHEDULE> /TYPE=daily - _SCHEDULE> /NAME=myjob _SCHEDULE> /NONOTIFY/NOPROMPT %NSCHED-I-RQSTSUCCSS, Job 2 - Created
How do I send mail notification to a distribution list instead of a single user?
Use the following command:
SCHEDULE> MODIFY job_name /MAIL_ADDRESS="@device:[directory]filename.DIS"
The default location for files referenced in the manager (such as output files and files referenced in the OpenVMS command) is the owner’s SYS$LOGIN. You must specify the exact device and directory if the file is not in SYS$LOGIN.
You must enclose the mail distribution list in quotation marks.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |