For performance purposes, consider using more JCL libraries with fewer members in each library.
During installation, JCL files are defined to CA7ONL in the initialization file with JCL statements. You can add or remove the JCL statements as needed by making the initialization file changes and shutting down and restarting CA7ONL.
To add dynamically a JCL library without bouncing CA7ONL, use the following top line command:
/JCL,OPT=ADD,INDEX=indexc,DSN=your.jcl.library
The INDEX keyword defines the symbolic index that is 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. The xxx defines the INDEX value from a previously defined JCL library that is searched before this one.
/JCL,OPT=ADD,INDEX=indexc,DSN=your.jcl.library,ALT=001
After you define a JCL library dynamically, an index value of 255 is assigned. To display all the JCL libraries that are defined to CA7ONL including the dynamically added libraries, issue the following top line command:
/DISPLAY,ST=JCLVAR
You also can delete or update the current dynamically allocated library using the /JCL command. Remember, this library is a dynamically added library. If you restart CA7ONL, the JCL library is only defined when you specify JCLDEFS=VSAM on the RESIDENT statement in the initialization file.
Business Value:
This best practice ensures flexibility in JCL library use.
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|