JCL Exit

A JCL Exit is a module that you can use to modify a generated Job before it is submitted to the internal reader. Usually, when you create a z/OS Job in the AE and start it, the generated Job is sent to the z/OS Agent which completes it and executes it in the target system. However, when you use a JCL Exit, the Agent calls this specific module before it executes the Job. As a result, you can change the JCL in z/OS subsequently. You can add, change, or evaluate JCL lines, thereby preventing the start of particular programs, for example.

This page includes the following:

You can either create the JCL Exit module in Assembler code or C programming language. The Agent only loads one JCL Exit module.

The supplied image contains a folder for z/OS Agents. It includes a sample module in the uc4jcle.asm file (Assembler) which inserts comment lines. It also contains a description of how you can assemble this module.

Note: You can individually activate the JCL Exit module for each z/OS Agent. The module is loaded when the Agent starts.

Configuring the C Module (default)

Configuring the Assembler Module

See also: