Exercise 3-Using A Post Job To Run A Job Stream
Create a new Job Sequence Macro. Include three jobs in the Job Sequence Macro.
Create a new job and select the Post Job icon from the right-hand pane. Use the Exit Code Handling to specify that the previously created Job Macro should run if the new job ends successfully with an exit code of 0.
Job Sequence Macro will run if ‘START_JOB’ completes successfully:
Note “Post Job” icon is added to the Job Definition.
Submit the ‘START_JOB’ to the schedule:
Note that when ‘START_JOB’ completes successfully, then the three jobs previously specified in the Job Sequence Macro are automatically submitted to the schedule and run.
Jobs in Job Sequence Macro run as expected: