At 15:20 -0600 on 01/24/2013, Joel C. Ewing wrote about Re: DIFFERENTIATION OF VSAM DSNS:

I've never considered trying to recover KSDS records from just the DATA
component from a physical volume dump, but if this was a KSDS with INDEX
on a different volume that could be the case you face. If it can be done
by faking it as an ESDS, at best you could only recover the data records
in physical CI order, not key order, as any CI splits and CA splits in
the original KSDS would render the logical ordering of the CI's unknown
without the corresponding INDEX CI's.
     JC Ewing

Try allocating a new KSDS and doing a copy of the recovered DATA component (faked as an ESDS) into it. This will recreate the INDEX on the fly as you read the records (even though they are out of order) since you are adding the records to the KSDS not creating it from a sorted file.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to