Re: EOF at Beginning of PDS

2005-07-28 Thread Martin Kline
Is there a way to repair this PDS? Here are some options, but before I'd start any of them, I'd take a volume backup/copy to be sure I could restore the data set to its current status. DO NOT COMPRESS THE FILE! If you have a backup of the volume, you could restore the single track. If you have

Re: EOF at Beginning of PDS

2005-07-28 Thread Bernd Oppolzer
I once repaired a PDS with a damaged directory. I opened it (with an ASSEMBLER program) as a normal sequential file and wrote every line to another PDS with member namens like M001, M002, and so on. On every end-of-file condition, I stopped the current member in the target PDS and

EOF at Beginning of PDS

2005-07-27 Thread Martin, Mike
All, Apparently someone opened (for output) and closed a PDS as a sequential file which put an EOF at the beginning of the file where the directory entries start. Is there a way to repair this PDS? DITTO shows the following... Rec Type Len 1...5...105...205. ** Begin

Re: EOF at Beginning of PDS

2005-07-27 Thread Mike Bell
Assuming you have backups, DF/DSS can restore just a single track. that will overlay the EOF. Problem is that the directory entries might not be correct so you might still be recovering data. I don't know of any automated tools for this kind of recovery. The other choice is to build a track of

Re: EOF at Beginning of PDS

2005-07-27 Thread Lizette Koehler
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