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
 

 

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: 6966
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: 1746
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: 10211
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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm


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