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: 1764
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: 10272
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 Convert CLIST to REXX cvnlynn CLIST & REXX 2 Tue Jun 27, 2017 2:06 am
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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