Can we convert ESDS to KSDS?



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Can we convert ESDS to KSDS?

Postby ramya_MF » Thu Jan 31, 2013 2:18 pm

Can we convert ESDS to KSDS?
ramya_MF
 
Posts: 11
Joined: Fri Jul 20, 2012 4:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can we convert ESDS to KSDS?

Postby enrico-sorichetti » Thu Jan 31, 2013 2:26 pm

it depends! :mrgreen:

look at the manuals to understand ESDS vs. KSDS
for the KEY definition constraints
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: Can we convert ESDS to KSDS?

Postby steve-myers » Thu Jan 31, 2013 5:15 pm

It depends. You simply have not told us whether you want to do this in place, without copying the data, or if you can copy the ESDS data set to a KSDS data set.
  • In place - NO. Period. Full stop. End of story.
  • By copying - You must allocate the KSDS after determining the location and size of the key. Once you have done this, you can use the REPRO command in IDCAMS to create the data in the KSDS. If the REPRO fails, most likely you have specified the key in the KSDS incorrectly, and you will have to start over. If the key is correct, the ESDS is not sorted in key order, so you will have to start over, sort the ESDS, and then do the copy.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Can we convert ESDS to KSDS?

Postby ramya_MF » Fri Feb 01, 2013 11:58 am

Thank a lot Folks,

It's working.
ramya_MF
 
Posts: 11
Joined: Fri Jul 20, 2012 4:12 pm
Has thanked: 0 time
Been thanked: 0 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post