JCLCheck

 View Only
  • 1.  SMS Conversion - remove =SER for specified DSN prefixes

    Posted Nov 03, 2020 10:40 AM
    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.


  • 2.  RE: SMS Conversion - remove =SER for specified DSN prefixes

    Broadcom Employee
    Posted Nov 04, 2020 02:54 PM
    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 Interface

    2. 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 JCLNeat

    kiki.pham@broadcom.com