Dynamically adding a JCL library to CA 7

Document ID : KB000024627
Last Modified Date : 14/02/2018
Show Technical Document Details


This document describes how to dynamically allocate a JCL library to CA 7.


If you need to dynamically add a JCL library to CA 7 and do not want to take a CA 7 product outage by recycling, you can use the following CA 7 top line command:


The INDEX keyword defines the symbolic index associated with the JCL statement. A symbolic index is referred to as a JCLLIB on the DB.1 panel. A symbolic index consists of an ampersand (&) followed by up to 15 alphanumeric characters.

You can also define the JCL library as an alternate library to an existing JCL library by using the ALT=xxx keyword. Where xxx defines the INDEX value from a previously defined JCL library that is searched prior to this one.


Once you dynamically define a JCL library an index value of 255 will be assigned. To display all the JCL libraries defined to CA 7 including the dynamically added libraries, you can issue command:


You also can delete or update the current dynamically allocated library via the /JCL command. Please see the CA 7 Commands Guide for all options for the /JCL command.

Remember this is a dynamically added library and therefore if CA 7 is restarted the JCL library is no longer defined unless JCLDEFS=VSAM is specified on the RESIDENT statement in the initialization file.

Additional Information:

As always, please contact CA Technologies support for CA 7 if you have further questions.