View previous topic :: View next topic
|
Author |
Message |
jgantena
New User
Joined: 13 Aug 2008 Posts: 8 Location: Hyderabad
|
|
|
|
Hi
Could someone help me on this.
I tried to delete a record in flat file using Easytrieve. But could not succeed.
The syntax i used was
"WRITE filename DELETE"
but i believe this works for VSAM file only.
Experts please help on this.
Regards,
Jayadev |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
True, thats for VSAM datasets.
The only way to do it in EZT is :
read the file
skip the offending record
write the file.
For code see the users/reference guide. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
if You use easytrieve why post in the cobol forum ??
moved where it belongs |
|
Back to top |
|
|
|