View previous topic :: View next topic
|
Author |
Message |
reachcyrus
New User
Joined: 13 Jul 2007 Posts: 24 Location: chennai
|
|
|
|
i tried opening a ESDS file and deleted a record.Mvs responded with a error message as "operation cannot be done".
How to delete a record in ESDS file manually?
Why we are not able to delete record from a ESDS file?
could someone help me!
Cheers! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
How do you mean manually ? FileAid ? A program ?
When you delete an ESDS record, it is only a logical delete and the record will only be physically deleted when you next unload / reload the file. |
|
Back to top |
|
|
reachcyrus
New User
Joined: 13 Jul 2007 Posts: 24 Location: chennai
|
|
|
|
Hi expat,
using File aid.
i am not clear about your explanation. can you brief me.
cheers!! |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Cyrus,
Do you know what a tape file is?
Can you delete a record from a tape file without copying it to another file?
ESDS files are like that......
The only thing you can do "in place" is to mark the record so that when any other program reads that record, it will know that the record is "deleted". |
|
Back to top |
|
|
reachcyrus
New User
Joined: 13 Jul 2007 Posts: 24 Location: chennai
|
|
|
|
Hi william.
i got it.
but i need the reason, why it cannot be deleted physically.
any special reasons? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
reachcyrus wrote: |
but i need the reason, why it cannot be deleted physically.
any special reasons? |
Because there is no facility or process to remove the hole left when you would delete an ESDS record.
If the hole (the record's data replaced with low values?) was left in place, then all the other programs that read that file would have to know that the low value record was a deleted record - that it was "logically deleted"..... |
|
Back to top |
|
|
|