Martin,

So long as nothing has written over the beginning of the damaged PDS, you
might be able to recover the Directory.  If you knew the specific DCB
attributes of the PDS, you could try to create a job that would just open
and close the dataset with the DCB needed.  It might restore the Directory
to its normal function.  So long as the number of directory blocks, Lrecl
and Blksize are the same before it was trashed, it should work to reset the
directory.  Unless the file is compressed or moved, the directory will still
be where it was.  So all you need to do is make the file a PO again.

If when you list the PDS and it shows everything (directory blocks, lrecl
blksize) except it is now PS instead of PO, you might get by with just
opening and closing it as a PO file.  Otherwise, I would just open and close
with all the parms in DCB.

Other option is to look a PDS, a utility that might have a FIX command in
it.  See link:  http://www.cbttape.org/freepds.htm

Lizette Koehler

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to