Hello Patrick,
The JCLNEAT feature of JCLCheck may be used to alter JCL members. Suggestions:
1. Use the JCLNEAT REXX interface. It's documented here:
Use the JCLNeat REXX Programming Interface2. Use JCLCheck follows by JCLNeat with the Global Editing (CHANGES DD *) or Global String Replacement (GSRCNTL DD *) option:
a. Run JCLCheck to validate the entire JCL library
b. Search JCLCheck SYSPRINT for PROC members with matching DSN prefix. Expanded JCL is in Report 2.
c. Run JCLNEAT to change these members using either Global Editing or Global String Replacement.
References:
Global String Replacement Global Editing Required Execution JCL for JCLNeatkiki.pham@broadcom.com
Original Message:
Sent: 11-03-2020 10:39 AM
From: Patrick Cribbs
Subject: SMS Conversion - remove =SER for specified DSN prefixes
i am trying to find all PROCLIB members with datasets with a given DSN prefix and VOL=SER=PRD###. I need to expand the symbolics within the procedures to do the search. Is there a way of accomplishing this using JCLCHECK and PDSMAN? I need to remove the VOL=SER references because of an SMS conversion.