Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Rename First three qualifer in all members of a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
shrinivas_3
Warnings : 1

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Thu Dec 14, 2006 1:24 pm    Post subject: Rename First three qualifer in all members of a PDS
Reply with quote

Hi All

I have a PDS say 'aaaa.bbbb.cccc.dddd' which has about 70 members.
(they are Run JCls) .

Suppose in each member the DSN name start's with common qualifier as new.systest.jcl

Now i want new.systest.jcl to be changed to Intg.jcl in all the members.

Direct way is to open each member in Edit mode and use change all command (c all 'new.systest.jcl' 'Intg.jcl' )


Can this be done thru JCl ? (I one run all the common qualifer should be changed to new qualifer)

If yes please post the JCL syntax for the above.

Also if any other method or TSO command is available then let me know

Thanks
Shrinivas
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Dec 14, 2006 2:27 pm    Post subject:
Reply with quote

Since you want to change the content of member, the best method will be an ISPF Edit-Macro.

Alternatives are to read/write the member with REXX's EXECIO or the ISPF services LMMGET & LMMPUT.

O.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu Dec 14, 2006 6:12 pm    Post subject: Re: Rename First three qualifer in all members of a PDS
Reply with quote

shrinivas_3 wrote:
Can this be done thru JCL?


Yes, with the IPOUPDTE utility.

See this previous post for more details, or, of course, with a product like Fileaid.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Generic rename by pattern‏ Steve Coalbran CLIST & REXX 6 Mon May 30, 2016 9:34 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us