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 to recover deleted members of a pds

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: REXX to recover deleted members of a pds
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: 1522
Location: Chennai

PostPosted: Tue Jan 25, 2011 3:42 pm    Post subject:
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: 1522
Location: Chennai

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

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

http://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    Post subject:
Reply with quote

There is a utility called PDS on the CBT tape www.cbttape.org 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    Post subject: Reply to: REXX to recover deleted members of a pds
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    Post subject:
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    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 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. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
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
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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