Need help: Rename JCL for each members



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Need help: Rename JCL for each members

Postby Rayster » Thu Jul 11, 2013 11:35 pm

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
Rayster
 
Posts: 8
Joined: Mon Dec 20, 2010 9:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help: Rename JCL for each members

Postby dick scherrer » Fri Jul 12, 2013 1:24 am

Hello,

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

Maybe then someone can offer a suggestion.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Need help: Rename JCL for each members

Postby prino » Fri Jul 12, 2013 1:33 am

Try Jay Moseley's PDSUPDTE...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: Need help: Rename JCL for each members

Postby Blackthorn » Fri Jul 12, 2013 2:00 pm

An ISPF edit macro should do the job quite nicely.
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Need help: Rename JCL for each members

Postby Rayster » Fri Jul 12, 2013 2:20 pm

^ Can you site an example?

I can't believe I can't remember this one lol. Anyway, will try your suggestion guys. :D
Rayster
 
Posts: 8
Joined: Mon Dec 20, 2010 9:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help: Rename JCL for each members

Postby dick scherrer » Fri Jul 12, 2013 7:56 pm

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 . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Need help: Rename JCL for each members

Postby enrico-sorichetti » Fri Jul 12, 2013 9:15 pm

see here for a working example of a MASS change REXX/ISPF application

http://ibmmainframes.com/about60794.html
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Need help: Rename JCL for each members

Postby Ed Goodman » Mon Jul 15, 2013 6:28 pm

Do you have access to utilities such as File-Aid or FileManager?
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post