Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
REXX code to rename list of datasets at a time?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
REVANTH D

New User


Joined: 22 Feb 2012
Posts: 2
Location: INDIA

PostPosted: Wed Feb 22, 2012 6:20 pm    Post subject: REXX code to rename list of datasets at a time?
Reply with quote

Can anyone send me the REXX code to rename list of datasets at a time?

I have 100 datasets starts with ABC.DEF.* and i need to remove HLQ ABC for all the datasets, Need to add GHI as second qualifier. Finally i should get the filenames like eg:DEF.GHI.*
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Feb 22, 2012 6:40 pm    Post subject:
Reply with quote

Quote:
Can anyone send me the REXX code to rename list of datasets at a time?


search the REXX forum, there are several threads concerning this topic

this wwebsite usually helps you with your work,
and
does not
do your work for you.
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: Wed Feb 22, 2012 6:42 pm    Post subject:
Reply with quote

I'll quite happily do it for 750 euro per day icon_biggrin.gif
Back to top
View user's profile Send private message
REVANTH D

New User


Joined: 22 Feb 2012
Posts: 2
Location: INDIA

PostPosted: Thu Feb 23, 2012 4:33 pm    Post subject: Reply to: REXX code to rename list of datasets at a time?
Reply with quote

Hi All

I didn't find in rexx forum,I was searching from long back, If anyone posts the rexx code,

i would really appreciate
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 23, 2012 4:38 pm    Post subject:
Reply with quote

What have you written so far which is causing the problems.

I know for a fact that I have posted code on here that uses DFdss to copy datasets to a new name, so if you find that then you will have 70% of your code already.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


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

PostPosted: Thu Feb 23, 2012 4:52 pm    Post subject: Re: Reply to: REXX code to rename list of datasets at a time
Reply with quote

REVANTH D wrote:
Hi All

I didn't find in rexx forum,I was searching from long back

One would think that, as you are an employee of a major outsourcing and supplemental staff firm, pretending that Rexx is among your skills, you would know how to do this.

expat has graciously offered to undertake your pathetic little task for a mere 750 Euro/day. Whilst I won't try to snatch the bread from his mouth, I'll bid Rs. 50,000 flat fee to fulfill the requiements as you have stated them if you and he don't come to agreement.

Or, you could look at this thread, which your long and careful search apparently utterly failed to find.
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 23, 2012 5:00 pm    Post subject:
Reply with quote

Akatsukami

I now bid a flat fee of 250 euro to point the OP to the exact code I have posted on this very forum and will fulfill his requirement using a Dfdss step to follow the REXX code.
Assumes that DFSORT is installed rather than any other sort product

However, the OP would have to make one minor change to perform a rename rather than the coded copy to new name.

Maybe another 200 euro to include that change icon_razz.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu Feb 23, 2012 6:14 pm    Post subject: Reply to: REXX code to rename list of datasets at a time?
Reply with quote

Quote:
Can anyone send me the REXX code to rename list of datasets at a time?


post some good reasons why we should provide free consultancy and programming services to Your employer TCS-INDIA
and make sure that they are good ones icon_evil.gif
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us