cRSCHEDULE Automated Job Submission System Guide and Reference Manualc

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex



 

"
      text common to all messages      BEGIN_event     text for this event     END_event      BEGIN_event     text for this event     END_event      BEGIN_COMMENT -    local notes, not included in any message     END_COMMENT  




FA typical notice list can be displayed by using the following command:

 

"
 )$ SCHEDULE TYPE/NOTICES [DEMO.A]UPDATE_A    [DEMO.A]UPDATE_A.notices  1    This job is the primary database update job.      BEGIN_FAILED E    ***** Please call John Smith at extension 2345 immediately *****     END_FAILED      BEGIN_DELAYED 7    Please change the job priority so that this update )    can complete as quickly as possible.     END_DELAYED  




DTransmission of the actual notification message is done via a batch :job. When the event occurs all the conditions are capturedGand placed in a temporary command file. This file is then submitted to Fa batch execution queue for processing. The last line of this file is Han "$@NOTIFY_COM_FILE". The name of this file and the attributes of how Athis job is submitted is controlled by five parameters which are +defined in the parameter file. 3

,The controlling parameters are listed below: $ " &                           
Parameter Default Description
 NOTIFY_QUEUE  SYS$BATCH  batch queue to use
 NOTIFY_USER SYSTEM  user name to use
 NOTIFY_ENABLE  1 ! a 1 if notification enabled
 NOTIFY_PRIORITY 200  queue priority to use
 NOTIFY_FILE  SCHEDULE_NOTIFY  command file to use


HThe standard notify procedure SCHEDULE_NOTIFY.COM that is provided with Hthe system can send messages either via a REPLY statement or via a MAIL Fstatement. If your system has other notification requirements you can Cprovide your own customized notification procedure by changing the corresponding parameter.

GFor example, to specify that a particular user is to received mail for @all FAILED and DELAYED events use the following type of command.

 

"
 *$ SCHEDULE MODIFY MY_JOB/NOTIFY=(DELAYED= . (SMITH,MAIL,BROADCAST), FAILED=(SMITH,MAIL))    




EThe target user name can be anything that is acceptable to MAIL. For Gexample, to send the messages to two persons use the following command.

 

"
 M$ SCHEDULE MODIFY MY_JOB/NOTIFY=(DELAYED= ((JOHNSON,SMITH),MAIL,BROADCAST),-      FAILED=(SMITH,MAIL))    




DThe total number of characters in the user name(s) is limited to 32 Bcharacters. The user name can also be a logical name that in turn 4translates out to a list of user names. For example,Hif the job is to inform a group of users that are defined via a logical use the following commands.

 

"
 9$ DEFINE/SYSTEM OPERATIONS JOHNSON,SMITH,ANDERSON,SYSTEM    G$ SCHEDULE MODIFY MY_JOB/NOTIFY=(DELAYED=(OPERATIONS,MAIL,BROADCAST),-      FAILED=(OPERATIONS,MAIL))    






/   
N
Note

 M

3 The parameter file is a text file N that can be edited. The name of this file is SCH0_PARAMETER.DAT.








 o V T Y  
PreviousNextContentsIndex