How can you execute the Action JCL at the same time that it is generated by an Extract Procedure?

book

Article ID: 208342

calendar_today

Updated On:

Products

CA Database Analyzer for DB2 for z/OS

Issue/Introduction

An Extract Procedure is tied to an Action Procedure and generates Action JCL. 

How can we instruct Database Analyzer to execute these generated Utilitiy jobs, at the time that they are generated by the Extract Procedure?

Environment

Release : 20.0

Component : CA Database Analyzer for DB2 for z/OS

Resolution

When you submit an Extract procedure through the panels you are required to complete the Action Options which include the Action JCL Destination.

On the 'SUBMIT - BUILD  JCL PARAMETERS' panel

For the majority of the time you would specify a Destination of D to save the generated Action job to a dataset.

However if you specify a Destinatoin of J then the generated Action job will be submitted direct to JES for execution.

Note this is specifically for the Action Procedure(s) tied to this Extract Procedure.

Additional Information

Further details can be found in the documentation 

Or you can press PF1 on the 'SUBMIT - BUILD  JCL PARAMETERS' panel to get additional help on the possible values. You will see that you can also use Destination B, which will submit the Action job to JES for execution and also save the job to the specified dataset.                                          

Caution should be used when using options J or B, as it could result in many jobs being submitted to JES, dependent on the number of objects in the Extract that trigger the action.