Page History
...
- Users frequently find the situation when a business date has to be made available to a larger number of jobs.
- This can include the current date or a calculated date such as a trade date that considers calendars.
- This can include a previous date such as a reporting date.
- Requirements
- The business date has to consider existing business rules, e.g. to use the current date, a calculated date or a previous date.
- The business date has to be updated at a precise point in time and on a regular basis.
- The business date has to be made available to a larger number of jobs.
Building Blocks
Use
...
of Job Resources
JS7 - Job Resources are a perfect means to carry variables for business datesand to make them available to jobs.
- A Job Resource can hold any number of variables. Such variables are available for JVM Jobs from arguments and for Shell Jobs from environment variables.
- A Job Resource environment variable is automatically available as a local environment variable to a Shell Job.
- If a Workflow is assigned the Job Resource then any Shell Jobs in the workflow are propagated the environment variables of the Job Resource.
- If a Job is assigned the Job Resource then this job can use the propagated environment variables of the Job Resource.
- As a result you can add a variable such as
BusinessDate
to an existing or to a new Job Resource and assign the Job Resource to a Workflow to make it available to all jobs or assign it to an individual Job to limit the scope.
...
Overview
Content Tools