How to recover a PDS member

5 pts.
Tags:
Dataset
Mainframe Datasets
Partitioned Data Sets (PDS)
PDS
z/OS
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

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Moinak
    can we HIDE any members withis a PDS ? please post me the prorcess.
    10 pointsBadges:
    report
  • Psydr
    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 pointsBadges:
    report
  • chandrasbe

    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 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following