Joined: 26 Apr 2004 Posts: 4648 Location: Raleigh, NC, USA
You can't "DELETE" records from sequential datasets. You have to read the first record, toss it, them read-and-write from the second record to the EOF. You'll have to use a different output dataset. Then, once you're done, you can delete the original, and rename the new dataset to the old name.