How Data Set requirements are automatically added to jobs
search cancel

How Data Set requirements are automatically added to jobs

book

Article ID: 27393

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

How does CA 7 automatically add data sets as requirements to jobs?

Resolution

The CA 7 initialization deck LOADDSNS keyword on the OPTIONS statement has a default of YES. This means that when a LOAD on a job occurs, data set information and requirements are built for jobs and added to the DB.3.1 Data Set Predecessors screen. If you have LOADDSNS=NO on the OPTIONS statement and MAINT: Y on the DB.1 job screen, then no data set requirements are automatically added.

Whether the requirement is attached to the job depends on the DB.1 job screen and/or the DB.6 Data Set Definition screen.

Scenario 1:

  • If the DB.1 CPU Job Definition screen has MAINT: N and the DB.6 Data Set Definition screen has TYPE: NORM, the data set will be added as a requirement for that job in the queue.

Scenario 2:

  • If the DB.1 CPU Job Definition screen has MAINT: Y and the DB.6 Data Set Definition screen has TYPE: NORM, the data set is always a satisfied requirement for this job in the queue.

Scenario 3:

  • If the DB.1 CPU Job Definition screen has MAINT: N and the DB.6 Data Set Definition screen has TYPE: PERM , the data set will NOT be added as a requirement for that job in the queue.

Scenario 4:

  • If the DB.1 CPU Job Definition screen has MAINT: Y and the DB.6 Data Set Definition screen has TYPE: PERM , the data set will NOT be added as a requirement for that job in the queue.