This Knowledge Document provides examples on how to make changes to an entire JCL library using the JCLNeat 'Global String Replacement' (GSR) feature.
Release: 12.0
Component: JCLCheck Workload Automation
1. Change all UNIT=TAPE to UNIT=CART. The new JCL members will be written to data set name JCL.LIB.NEW:
2. Change all data set name PAYROLL.TEST.INPUT to PAYROLL.PROD.INPUT.
Multiple GSRCNTL statements may be combined. GSR feature may be combined with other JCLNEAT feature such as KEYWORD reordering and other reformatting functions.
As best practice after performing JCLNEAT functions, use JCLCheck to verify that the changes did not cause errors.