How to dynamically allocate a different subsystem when calling Scheduler CAJCCMD0 program?
search cancel

How to dynamically allocate a different subsystem when calling Scheduler CAJCCMD0 program?

book

Article ID: 136457

calendar_today

Updated On:

Products

Scheduler Job Management

Issue/Introduction

Program CAJCCMD0 is the Scheduler Tracking Command Interface.

Call to Scheduler CAJCCMD0 defaults to the subsystem id of SCHD.   How to dynamically call a different Scheduler subsystem id?

 

Resolution

 If using a different subsystem id, for example SCHX, a dynamic allocation of the $$SCHX DDNAME to DUMMY must be done prior to the call to CAJCCMD0 program.   Use the DYNALLOC (SVC 99) or the BPXWDYN service for the allocation.



Additional Information

Scheduler Bookshelf

Scheduler Systems Programmer Guide Chapter 7 User Exits and APIs