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

renaming pds and files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhisinghal2002

New User


Joined: 02 Jul 2008
Posts: 12
Location: Delhi

PostPosted: Mon Nov 15, 2010 11:33 am
Reply with quote

Hello everybody,

I want to rename 1000 datasets including PDS's & Files. Can anyone provide me a simple method for doing so... icon_smile.gif

Sorry , For my english...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Nov 15, 2010 2:08 pm
Reply with quote

Do you have any pattern in your renaming operation? If yes, REXX could be the appropriate solution. IEHPROGM is another solution, but it is more rigid.

By the way, there is no such thing as "PDS's & files". They are all datasets. Some are partitioned datasets and some are sequential datasets.

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

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Mon Nov 15, 2010 7:15 pm
Reply with quote

IDCAMS as well.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 15, 2010 7:22 pm
Reply with quote

Or even DFdss (PGM=ADRDSSU)
Back to top
View user's profile Send private message
abhisinghal2002

New User


Joined: 02 Jul 2008
Posts: 12
Location: Delhi

PostPosted: Mon Nov 22, 2010 2:52 pm
Reply with quote

ofer71:

Yes, the High level qualifier is same for all the Partitioned and Sequential Dataset's ... icon_cool.gif.

To all:

can any one of you plz provide me any example of how this can be achieved?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 22, 2010 3:43 pm
Reply with quote

Have we (you) actually read the documentation of the the two solutions offered so far. It is a week since you posted and were offered two possible solutions.

If NO - then go read it and stop asking for your work to be done for you
if YES - what problems have you encountered. Also show the code that you have used along with the error messages and codes.
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top