Chapter 23: Automating Tasks Using Job ManagerAbout Job ManagerAdminStudio 9.5 User Guide ADS-0950-UG00 1749Selecting Contextual Packages in a Custom JobWhen defining a Custom Job, the packages that you import in prior Import or Directory Monitoring Job Stepsare available for selection as source or target packages when defining operations in subsequent Job Steps.The packages that will be imported in an Import or Directory Monitoring Job Step are selected when the Job isexecuted, not when the Job Step is defined, so the names of those packages are unknown.Therefore to make these imported packages available for selection when defining subsequent Job Steps, they arelisted in the Contextual Packages group in the package tree and are referred to in context of their associatedimport step, such as Job Step n, where n is the number of the Job Step that performed the import.Figure 23-1: Contextual Packages GroupDynamic Group Content IdentificationYou can create a Custom or Template Job that will perform actions on whatever packages are in a selected groupat the time the Job is executed.Therefore, you can schedule a reoccurring Job to automatically perform actions on the exact contents of a groupwithout ever having to select any packages or create any new Jobs. This allows you to enforce consistent businesspractices on a group’s contents even as the content changes.For example, your organization could have a policy of importing all new packages into a specific group, such as aNew Products Group. You could then choose to schedule a Job to run each night that would automatically performconflict analysis and resolution using the packages in the New Products Group as the source packages and usingselected packages in the Application Catalog as the target packages. In the morning, you could quickly see thecurrent state of each package and continue the evaluation process.