Editing Jobstreams: Setting the Start Job

set the start job,jobstreams,set the start job,start job,jobstream upstream dependencies,configure start job
{"URL":["/*.*/AddJobstream_StartJobs","/*.*/EditJobstream_StartJobs"],"heroDescriptionIdentifier":"ice_START_JOB_conceptual","customCards":[{"id":"ice_set_START_JOB","title":"How to Set Start Jobs","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/TERMA_DOCU/*.*/AAI%20Guides/Content/Jobstreams/Jobstreams_StartJob.htm"},{"id":"ice_description_Working_w_Tables","title":"Working with Tables","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/TERMA_DOCU/*.*/AAI%20Guides/Content/_Common/CommonFunctions/CF_Working_with_Tables.htm"},{"id":"ice_deleting_jobstreams","title":"Deleting Jobstreams","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/TERMA_DOCU/*.*/AAI%20Guides/Content/Jobstreams/Jobstreams_Deleting.htm"},{"id":"ice_difference_trimming_startjobs","title":"Difference Between Setting the Start Job and Trimming","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/TERMA_DOCU/*.*/AAI%20Guides/Content/Jobstreams/Jobstreams_StartJob.htm"}]}

As a jobstream administrator, the first thing that you do when you add a jobstream is to identify its target job. Then, AAI automatically discovers the target job's upstream dependencies (its predecessors) and builds the actual jobstream back until its very first job(s). A jobstream can have many upstream branches that converge at some point; this means that it can have many starting points. The default jobstream starting points are the first jobs in each branch. AAI shows all these dependency chains by default. However, there are situations in which you may not want AAI to monitor all the earliest predecessors of the target job.

Example:

You monitor a batch process that starts every evening at 9 pm. This process has a condition on a predecessor that runs every morning at 6 am. This predecessor is of no relevance for the batch process, so you do not want to include it in the monitor. You can use the Start Job feature to set a hard start on the jobstream run. In our example, you would set the first job in the batch process as the jobstream start job, rather than the job at 6 am.

When you set start jobs you do not modify the jobstream in any way. This function only changes the portion of the jobstream that AAI visualizes in the various monitoring views; it does not affect the SLA, AAI calculations, predictions and so on. By setting start jobs you ensure that the monitoring charts are not clogged by unnecessary, long-running dependencies. However, the entire jobstream (also the jobs that run BEFORE the start jobs that you have set) are visible on the runtime view (the Gantt chart).

Tip:

The most likely candidates to become start jobs are those that have a time condition, that is, those that are scheduled to run at a specific as opposed to those that run based on the success of a predecessor.

You can specify as many start jobs for a jobstream as you need.

Important !
  • You can set start jobs for jobstreams from all schedulers except from CA7.
  • The Start Job feature is not available by default. An administrator with the necessary rights must enable it explicitly in the configuration tool by setting the client.enableJobstreamStartJobs parameter to true. For more information, see Configuration Tool - Params Tab.

You set a start jobs on the Start Jobs tab on the Edit Jobstream dialog.

This page includes the following:

Setting the Start Job

set the start job,jobstreams set the start job,start job,jobstream upstream dependencies,configure start job

To Set the Start Job

  1. In the Start Jobs tab click Add Jobs. The list view changes to let you select the new start jobs.

  2. Use the Find Jobs dropdown list to filter the list of candidate jobs by their start times and names. Define the filter and click Find to get the resulting list of jobs. It provides the following information:

    • Name

      Name of the job as defined in its scheduler.

    • Parentage

      Fully qualified path from the root object all the way down to a particular job. It lets you uniquely identify the job. This information is extremely important for schedulers that allow jobs to run more than once in multiple contexts (from different places and in multiple jobstreams). The parentage identifies the exact instance of the job. IWS, ESP, Tidal and Automic Automation allow jobs to run multiple times in different contexts. AutoSys does not allow this, therefore, in AutoSys parent and parentage are always the same.

    • Type

      Type of job, which is scheduler-specific.

    • Date Time Condition

      Date and time when the job is set to start running.

  3. To define one or more jobs as jobstream start jobs, select the corresponding checkboxes and click Add. You return to the initial list view, where the selected jobs are now visible.

    Add as many jobs as you need. You can remove them with the Remove Job button if needed.

  4. When you are done with the jobstream configuration, click Create.

    Start jobs will be rebuilt after saving.

Difference Between Setting the Start Job and Trimming

Trimming a jobstream and setting the start job are two different functions. When you trim a jobstream, you eliminate jobs from the jobstream and, therefore, you actually tell AAI not to collect part of the jobstream data. AAI's analysis, calculations and so forth ignore the excluded jobs because they are no longer part of the jobstream. However, when you define custom start jobs, AAI does collect all the data from all the jobs that are part of the jobstream, also of those that run before the new start jobs.

See also: