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

REXX code to rename list of datasets at a time?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

PostPosted: Wed Feb 22, 2012 6:40 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Feb 22, 2012 6:42 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Feb 23, 2012 4:38 pm
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: 1788
Location: Bloomington, IL

PostPosted: Thu Feb 23, 2012 4:52 pm
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: 8797
Location: Welsh Wales

PostPosted: Thu Feb 23, 2012 5:00 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 23, 2012 6:14 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


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