View previous topic :: View next topic
|
Author |
Message |
sandhyaimmadi
New User
Joined: 18 Aug 2008 Posts: 50 Location: Bangalore
|
|
|
|
Hi,
Why deletion of records is not possible in an ESDS file.
I know we can logically delete a record in ESDS but not physically.
But, I would like to know the exact reason.
Thanks,
Sandhya. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
What does it mean to physically delete a record from a file? |
|
Back to top |
|
|
sandhyaimmadi
New User
Joined: 18 Aug 2008 Posts: 50 Location: Bangalore
|
|
|
|
I mean deleting a record using DELETE FILENAME RECORD like how we performing for KSDS and RRDS |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
May I suggest that you go to the IBM website and look for the redbook VSAM Demystified, down load the document and read it. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I am asking you to actually THINK -- so consider what it means to physically delete a record from an ESDS file, as opposed to physically deleting a record from a KSDS file. How is the record accessed? If you remove that record, how do you access the following records?
The same questions apply to deleting records from ANY sequential file, not just an ESDS. A KSDS or RRDS file has different characteristics than a sequential or ESDS file, and those characteristics directly impact the answer to your question. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Quote: |
I am asking you to actually THINK |
I thought capitalized THINK was an IBM trademark. |
|
Back to top |
|
|
|