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

Renaming GDG Generations through REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thanga Senthil Raja.

New User


Joined: 16 Nov 2012
Posts: 6
Location: India

PostPosted: Thu Feb 28, 2013 5:44 pm
Reply with quote

Hi! I need to rename all members of GDG Generations via REXX..

anyone post REXX program for that..


thanks.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Feb 28, 2013 5:57 pm
Reply with quote

And you'll pay our standard billing rates for doing your work for you, yes? icon_razz.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Feb 28, 2013 6:35 pm
Reply with quote

Let's start with what you've done and where you might have stuck?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Feb 28, 2013 7:06 pm
Reply with quote

Or even the need to perform such a thing icon_rolleyes.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 28, 2013 7:12 pm
Reply with quote

cm' on You guys
don' t You know that "that' s the requirement" icon_wink.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 01, 2013 7:29 am
Reply with quote

Hello and welcome to the forum,

Why does someone believe you need to do this?

When you say "rename", do you mean to copy all generations to a new dataset name?
Back to top
View user's profile Send private message
Thanga Senthil Raja.

New User


Joined: 16 Nov 2012
Posts: 6
Location: India

PostPosted: Fri Mar 01, 2013 2:34 pm
Reply with quote

Thanks dick scherrer

no it not mean that to copy all generations to new dataset name.

question: Is it possible to rename all generations without copying to other locations?
Back to top
View user's profile Send private message
Thanga Senthil Raja.

New User


Joined: 16 Nov 2012
Posts: 6
Location: India

PostPosted: Fri Mar 01, 2013 2:37 pm
Reply with quote

Hello Anuj,

i already succeed in renaming all pds members with rexx.

now started researching whether its possible to rename GDG generations with rexx?

is it possible? if so guide me icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Mar 01, 2013 2:55 pm
Reply with quote

Yes, it is possible using REXX, but please explain WHY you need to do this.

How did you rename the PDS members, and can this methodology not be used for dataset names ?
Back to top
View user's profile Send private message
Thanga Senthil Raja.

New User


Joined: 16 Nov 2012
Posts: 6
Location: India

PostPosted: Fri Mar 01, 2013 3:09 pm
Reply with quote

Thanks for your reply expat

I rename PDS members using "ISPEXEC LMMREN" command but it not works with GDG dataset ..
same as this can u give atleast some clue which way ?

Just to learn i'm trying this .. I'm fresh to mainframe
no business needs so dont worry abt this .. icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Mar 01, 2013 3:29 pm
Reply with quote

Invoke IDCAMS under REXX and use the ALTER function
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top