Page 1 of 1

deleting a particular record in rexx

PostPosted: Wed Nov 21, 2007 5:24 pm
by vsk_in4u
how to delete a particular record in dataset without copying it to another dataset by eliminating that single record...

Re: deleting a particular record in rexx

PostPosted: Wed Nov 21, 2007 9:16 pm
by MrSpock
You can't do that in QSAM processing. The entire dataset has to be read and then re-written with the deleted record omitted. It's not a good idea to read and write to the same dataset.

Just use an editor and delete the required record instead.