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

REXX to recover deleted members of a pds


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rahul1586

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Tue Jan 25, 2011 2:59 pm
Reply with quote

Hi,

Is there a way to recover deleted members of a PDS?



Thanks
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Jan 25, 2011 3:42 pm
Reply with quote

Hi,
You could do a HRECOVER with a new name for the restored PDS,

Go to ISPF Command Shell or option 6 on ISPF.
enter this command

Code:
HRECOVER 'PDS.WHICH.HAS.MISSING.MEMBERS' NEWNAME('PDS.RECVERED.BACKUP')


And look for the missing members on PDS.RECOVERED.BACKUP & copy it to PDS.WHICH.HAS.MISSING.MEMBERS.

As with REXX, I think you have to build upon the HRECOVER command.

Hope it helps.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Jan 25, 2011 3:47 pm
Reply with quote

Here is a thread with same problem (and a same solution as well icon_smile.gif )

ibmmainframes.com/post-56138.html

Hope it helps.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Jan 26, 2011 2:52 am
Reply with quote

There is a utility called PDS on the CBT tape Use [URL] BBCode for External Links to recover PDS members. It will create members from old member space as long as a compress of the PDS was not done.
Back to top
View user's profile Send private message
rahul1586

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Wed Jan 26, 2011 6:44 pm
Reply with quote

Thanks a lot...

I will try the options and post if any other errors occur.

Thanks again.
Back to top
View user's profile Send private message
Jeffrey Ranney

New User


Joined: 23 Dec 2010
Posts: 20
Location: USA

PostPosted: Tue Feb 08, 2011 4:53 pm
Reply with quote

While I have never used the HRECOVER command, I have always used the PDS tool to do EVERYTHING on the mainframe... better than sliced bread with peanut butter and marshmallow !!!
I am going to go try the HRECOVER command now... ciao !!
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 -> CLIST & REXX

 


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