 NOTIFY.COM v2.1-1      INSTALLATION:   E If you have a queue named SYS$BATCH, NOTIFY.COM should work right out @ of the box (assuming that the queue is running and is not in the "busy" state).     For a proper setup:   D Set up a queue for the program to run in. Set this queue with a baseB priority of 4 or 5, specify a high job limit, and set up a logical> name NOTIFY_QUEUE to point to your notify queue. For example,   $     $ DEFINE NOTIFY_QUEUE AEF_QUEUE   E If you don't define this logical name, the program uses SYS$BATCH. If @ you don't want to define this logical name, edit the program and6 replace SYS$BATCH with the name of your notify queue.   E It is helpful if you have Auto Wrap enabled (or SET TERMINAL/WRAP) to $ avoid truncation of REPLY messages.   > If you want log files from NOTIFY.COM, uncomment the line that	 contains    @     !/LOG='LOG_FILE'   -    ! Uncomment this to get a log file.       
 SETTINGS:   A By default, NOTIFY.COM notifies you via the REPLY command. If you E don't have OPER privilege, it notifies you via MAIL. If you have OPER F privilege, but prefer to be notified via MAIL, then define the logical@ name NOTIFY_MAIL to be true (1 or TRUE, e.g.). If you want to be; notified by both methods, then define both NOTIFY_REPLY and  NOTIFY_MAIL to be true.   A NOTE: You do not have to enable OPER privilege before running the A program; you must simply be authorized to use OPER privilege. The F program's batch-mode code will enable OPER privilege if it is needed.      LOGICAL NAME SUMMARY:   .     NOTIFY_REPLY -- If true, notify via REPLY.-     NOTIFY_MAIL  -- If true, notify via MAIL. B     NOTIFY_QUEUE -- Define this to be your dedicated NOTIFY queue.  A If both NOTIFY_REPLY and NOTIFY_MAIL are false or undefined, then D NOTIFY.COM will default to REPLY if you have OPER priv or to MAIL if@ you do not, but will use MAIL if you specify a mail address that includes a node name.      USING NOTIFY.COM:    Put something like    %     $ DONE :== @disk:[dir]NOTIFY.COM    E in your LOGIN.COM and be sure it has been run. Then, run the command    
     $ DONE n    E where n is replaced by the entry number of the job you wish to watch. D You should get a message saying that NOTIFY-n started where n is the@ entry number of the watched job. (Make sure the notify batch jobA starts. Obviously, if it doesn't start, it can't notify you about E anything. If this problem occurs, try increasing the job limit on the C notify queue.) NOTIFY will notify you when the job is done and tell ) you what the final status of the job is.    
 Full format:    +     $ DONE entry-number [[node::]username]    F where DONE is defined as above and [username] is an optional parameterE that defaults to the current user. If the username parameter contains F a node name (e.g., NODEX::FELDMAN), MAIL notification is automaticallyC turned on and REPLY notification is automatically turned off. If no F node name is included in P2, then notification is sent to the usernameC given via REPLY or MAIL according to the logical names NOTIFY_REPLY  and NOTIFY_MAIL.    @ NOTE: NOTIFY.COM does not verify if the username or MAIL address exists.      KNOWN PROBLEMS:   F 1.) For VMS V6.1: If there are two or more NOTIFY jobs waiting for theD same watched job to complete, or more generally, if there are two orE more SYNCHRONIZE/ENTRY=n commands waiting for the same watched job to D complete, all but the first SYNCHRONIZE command (or NOTIFY job) willE return a "%JBC-S-NORMAL, normal successful completion" status message A regardless of the true final status of the watched job. The first E NOTIFY job (or SYNCHRONIZE command) to complete does give the correct ? final status message, however. (NOTIFY.COM uses the SYNCHRONIZE 
 command.)   F This is not a problem on VMS V6.2 or V7.2. I have not checked for this" problem on other versions of VMS.   D 2.) For VMS V5.4-1: The SYNCHRONIZE command does not complete if theE job it is watching is retained upon completion. Therefore, the NOTIFY E job doesn't complete either. This is not a problem if the watched job A is not retained on completion. This is also not a problem for VMS A 5.5-2HF, V6.1, V6.2, and V7.2. I don't know if it is a problem on  other versions of VMS.      	 WRAP-UP:    D I have published NOTIFY.COM in the hopes that it will be useful, butD no guarantees or warranties whatsoever are made or implied about its9 use. The user assumes all risk in the use of NOTIFY.COM.    = If you have problems with, questions about, or comments about A NOTIFY.COM you can write to me at spamsink2001(at)yahoo.com (yes,  that's a real address).    Alan E. Feldman 