cDSCHEDULE Automated Job Submission System Guide and Reference �ManualD

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex



FThe basic idea is to modify the STEP number as a job proceeds. At the Gbeginning of the job a check is made for the RESTARTING flag, if it is set then a GOTO is done toDthe correct step. A typical command sequence that uses this process would appear as follows:

 

"
 8$ IF SCHEDULE_RESTARTING THEN GOTO STEP_'SCHEDULE_STEP'   $!   	$STEP_1:   6$ SCHEDULE MODIFY/QUEUE/ENTRY='SCHEDULE_ENTRY'/STEP=1 $ RUN PROGRAM1  $! 	$STEP_2: 6$ SCHEDULE MODIFY/QUEUE/ENTRY='SCHEDULE_ENTRY'/STEP=2 $ RUN PROGRAM2 $!  




;The above method is excellent for handling certain types ofHfailures. Another method that also can be used to handle failures is to Hassign an initiate list to the job. On that initiate list provide a job Gwith a condition level of FATAL and/or ERROR. This error job will then Gbe started whenever the job fails (or still fails after exhausting all allowed restarts).V

2.2 Other scheduling features



BSeveral other features of SCHEDULE are explained in more !detail in the following sections.X

2.3 EnterpriseSCHEDULE Workgroups



AEnterpriseSCHEDULE features the concept of workgroups. Workgroup acommands are detailed in Chapter 12. The basic functions of Workgroups are to:





/  
Note

AIt is recomended that Workgroup configuration and maintenance be Hperformed in the EnterpriseSCHEDULE Windows Client. The client Efeatures a Wizard that makes the setup of a Workgroup a simple task. CThis section is included to explain the concepts behind Workgroups Honly. See Windows Client documentation for instructions on working with Workgroups.


=Workgroups feature the capability to apply load balancing to FEnterpriseSCHEDULE job flow by determining the best way to distribute @workload. For instance you can apply more job runs to your more Epowerful servers and allow the jobs to run across multiple machines, Falleviating the load on a single server. This can all be automated by Gestablishing several simple parameters to the Workgroup which the jobs are running in.

?A workgroup is considered to be 2 or more nodes in a networked Genvironment that can have duplicate versions of the EnterpriseSCHEDULE @database (through automated replication) and/or facilitates the $execution of jobs on multiple nodes.7

2.3.1 Creating a Workgroup



HAll Workgroups are created in the [SYSCONTROL.WORKGROUPS] folder in the HEnterpriseSCHEDULE database. You must have All Access rights to create, Hmodify, delete or copy and paste a workgroup. To create a new Workgroup:

    H
  1. Right click on the \syscontrol\ folder and select New > Folder.'
  2. Name the new folder "Workgroups".@
  3. Right click on the Workgroups folder and select Workgroup.
  4. Name your workgroup


AThe workgroup can now be configured to replicate job data and/or distribute job activity.




 o V T Y  
PreviousNextContentsIndex