IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Rename First three qualifer in all members of a PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Thu Dec 14, 2006 2:27 pm
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

Global Moderator


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

PostPosted: Thu Dec 14, 2006 6:12 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Rexx pattern matching on PS qualifer ... CLIST & REXX 1
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts REXX editmacro to compare two members... CLIST & REXX 7
No new posts Easy way to delete selected members f... IBM Tools 12
Search our Forums:

Back to Top