Page 1 of 1

Need help: Rename JCL for each members

PostPosted: Thu Jul 11, 2013 11:35 pm
by Rayster
Hi guys! It's been a while to visit the forum

My situation: I have a Rename JCL that renames the inside of each Member (e.g. A PDS with a list of all control cards. It replaces the regions inside to a new one for a new testing environment)

For clearer explanation, here's an example below:

For example, a pds: ROCKON.THEWELL.CNTRLCRD has 2 control card member namely, CONTROL1 and CONTROL2. The code inside each control card has the program name, environment, db2 program etc. Now, with the help of the JCL, you will only specify the correct column and PDS for the change to happen.

I hope you do get my point here. I am not trying to rename a dataset, but instead the code inside the datasets in the specified PDS. Preferred with the starting column of the 'old' name to a 'new' name. Hopefully, anyone can help me picture this out thru codes and what best utility to use. Thank in advance guys. :D

Re: Need help: Rename JCL for each members

PostPosted: Fri Jul 12, 2013 1:24 am
by dick scherrer
Hello,

Suggest you post what you "have" and the rules to change it.

Maybe then someone can offer a suggestion.

Re: Need help: Rename JCL for each members

PostPosted: Fri Jul 12, 2013 1:33 am
by prino
Try Jay Moseley's PDSUPDTE...

Re: Need help: Rename JCL for each members

PostPosted: Fri Jul 12, 2013 2:00 pm
by Blackthorn
An ISPF edit macro should do the job quite nicely.

Re: Need help: Rename JCL for each members

PostPosted: Fri Jul 12, 2013 2:20 pm
by Rayster
^ Can you site an example?

I can't believe I can't remember this one lol. Anyway, will try your suggestion guys. :D

Re: Need help: Rename JCL for each members

PostPosted: Fri Jul 12, 2013 7:56 pm
by dick scherrer
Hello,

Generically you have been given "ways". I still:
Suggest you post what you "have" and the rules to change it.

If more of us better understood just what you are trying to do, we may have more specific (usable) suggestions . . .

Re: Need help: Rename JCL for each members

PostPosted: Fri Jul 12, 2013 9:15 pm
by enrico-sorichetti
see here for a working example of a MASS change REXX/ISPF application

http://ibmmainframes.com/about60794.html

Re: Need help: Rename JCL for each members

PostPosted: Mon Jul 15, 2013 6:28 pm
by Ed Goodman
Do you have access to utilities such as File-Aid or FileManager?