Previous Topic: JCLNeat—REXX Dynamic Option ChangesNext Topic: JCLNeat PACK Option—Maximum Keywords per Line


JCLNeat—REXX Insert and Delete JCL Statements

You can now easily insert and delete JCL statements from REXX with the new JCLNeat feature Dynamic JCL Statement Insertion and Deletion. This feature provides you with two options that you can use in the REXX program.

The first option is the new REXX variable, $CA.DELFLG. This variable deletes JCL statements. When you change the default for $CA.DELFLG from N to Y in the REXX program, the current statement is removed from the JCL. This variable is available on every call to the REXX program.

The second option lets you insert statements by using the REXX data stack. JCL statements can be placed on the stack by the REXX program. The statements are later retrieved and added to the JCL being processed. Existing REXX operators are used to place statements on the stack.

This enhancement affects only the JCLNeat supported REXX.

Note: Documentation changes are listed under "JCLNeat—Insert and Delete REXX JCL Statements" in the Documentation Changes section of the following guides: