Monty Spivak of the IBM Mainframe Discussion List <[email protected]>
wrote on 08/19/2010 09:45:16 AM:

> I am is seeking a JCL "Mass Editor" (basically, multiple file search
> and replace in an LPAR). We have 3,000 JCL scripts and are seeking
> to make changes to upgrade SAS versions. Would you know of an
> appropriate tools to use (I know that someone could write scripts to
> examine the JCL scripts, but it would be a lot nicer if one would
> just be able to use a "search and conditionally replace" against all
> of the JCL in an LPAR).
>

Some ideas.  First, eliminate the "version" in the DSNAME for your runtime
libraries, and then you won't have do a mass change again.

1) Use the PDS REPLACE command (CBT File 182) which does an update in
place.  Run first with the NOWRITE operand.
2) Write an ISPF Edit Macro and use the Mark Zelden EDMACALL or Lionel Dyck
EDITALL rexx exec to ISPF Edit every member with the macro.

Regards,
John K

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to