cRSCHEDULE Automated Job Submission System Guide and Reference Manualc

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex



 

"
 4IF job_failure .eq. 5 THEN SET rerun_job_set .eq. 0  


L
The SET statement may also be used to assign a variable on it's own G unconditionally in the End Actions list. The WAIT and SUPPRESS_RUN H statements may not be used in an End Actions list since the job has 1 already completed when the list is processed.F

  • Initiates List - An initiate list is a list of H jobs that are executed upon successful completion of the current job. I Normally the initiate jobs will run if the job completes as designated.

    

    /  
    Note

    CInitiates usually only run upon successful completion. However, an Ginitiate can also run if the current job completes with WARNING, ERROR Hor FAILURE status depending on how completion status is defined.
    F
    Using variables, one or more initiate jobs can be selectively J suppressed depending on the results of a variable evaluation attached % to the initiate.
    For example:

     

    "
     NEXT_JOB, IF DISK .lt. 1000  REPORT, IF RUN_REPORT == "TRUE" FINISHED, SUCCESS, WARNING  
    
    
    ;
    When this initiate list is processed, the variable F next_job will be evaluated. If it is less than 1000, the K initiate job NEXT_JOB executes. Next, the variable run_report K is evaluated to see if it equals "true". If it does, then the initiate I job REPORT executes. Finally, the job "FINISHED" will execute if the : job completes with either a SUCCESS or WARNING status.J

  • Prerequisites List - A prerequisite list is a list E of jobs that must be completed before the current job can execute. B Normally the job will run when all the prerequisites listed are G completed successfully.
    Using variables, jobs can be selectively I suppressed depending on the results of a variable evaluation connected H to one or more of the jobs in it's prerequisite list.
    For example:

     

    "
     JOB_1, IF job_set == complete JOB_2 .JOB_3, IF node == run, IF job_set == complete  
    
    
    L
    A job with this prerequisite list has three prerequisites that must A successfully complete before it can run. JOB_1 must complete G successfully and the variable job_set must be equal to 3. B JOB_2 has no condition connected to it and must only complete A successfully. JOB_3 must complete successfully with variable K node equal to "run" and job_set equal to "complete". L When the job completes it checks first to see if the variable "MODE" is C equal to 3. If it is the prerequisite JOB_1 must have finished F successfully. Next, JOB_2 will execute automatically. Finally the J variable MODE is checked to see if it quals 3 or 4. If it does, JOB_3 % must have finished successfully..

    


     o V T Y  
    PreviousNextContentsIndex