5 pts.
 How to recover a PDS member
z/os mainframe. A member from a partitioned dataset has been accidentally deleted . No backup.

I guess the deletion is done logically and not phisically untill next compress (a king of flag aside) . So, there must be a command that  let  recover the member (unflag it).

Coud anyone give some help? Thanks



Software/Hardware used:
Z/OS IBM MAINFRAME
ASKED: June 14, 2010  3:44 PM
UPDATED: April 30, 2012  10:03 PM

Answer Wiki:
You are correct about it being a logical delete until the next compress. At the front of the PDS is the PDS directory. This is where the logical delete takes place. One can (or at least used to be able to ) process the directory as a sequential dataset. But I haven't done this in 20+ years. My memory says that each directory entry has the member name, beginning location within the PDS, ending location, followed by the other info that can be kept in a PDS such as create date, modify date, by whom, etc. As far as I know, there is no MVS command to "undelete" a PDS member. There are 3rd party products. (I don't recall names since my current employer doesn't see the need for them.) If your PDS was backed up by HSM, you could HRECOVER it to a new name. Maybe your shop does disk pack dumps, check with your storage administrator. Or, do a web search using your favorite search engine in case no one can be more specific. You know, there might be something on the old CBT tape - check out CBT.org Here are a few more MVS specific web sites IBM Developer Works Dino Web Ring or TRexxers.com or IBMmainframeGURU.com
Last Wiki Answer Submitted:  June 16, 2010  3:01 pm  by  Meandyou   5,205 pts.
All Answer Wiki Contributors:  Meandyou   5,205 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

can we HIDE any members withis a PDS ?
please post me the prorcess.

 10 pts.

 

Using the PDSFAST utility (typically ISPF option 3.3) you can use the “RM” command to recover deleted members unless a Compress has already been performed.

 10 pts.

 

Try below  TSO command.

TSO PDS ‘your.pds’ RES REQSEC FIND REPEAT NOPROMPT

then it will ask you the member name which needs to be restored.

Good luck.

 10 pts.