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
 

 

Renaming GDG Generations through REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Renaming GDG Generations through REXX
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: 1738
Location: Bloomington, IL

PostPosted: Thu Feb 28, 2013 5:57 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 28, 2013 6:35 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 28, 2013 7:06 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Feb 28, 2013 7:12 pm    Post subject: Reply to: Renaming GDG Generations through REXX
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

Site Director


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

PostPosted: Fri Mar 01, 2013 7:29 am    Post subject:
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    Post subject: RT: dick scherrer
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    Post subject: RT: Anuj Dhawan
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: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 01, 2013 2:55 pm    Post subject:
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    Post subject: RT: expat
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: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 01, 2013 3:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


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