Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
svrekha, your profile lists you as a "software engineer", so I would think you'd already be familiar with sequential dataset processing.
You can't delete records from a sequential dataset. All you can do is copy all of the records you want to keep to a new dataset, skip the one you wish to delete, and create the new dataset. Then, if desired, delete or rename the current dataset and copy the contents of the new dataset into the existing dataset. Obviously, it would be beneficial for you to not write your own process, but rather use an existing utility for this.
Other than that standard process, the only other way to remove a record from a sequential dataset is by editing it. Edit it, find the record, delete the record, then save it.
Am giving the an input in the screen ,,,, it should check whether the input given in the screen is equal to the record in the dataset ,, if yes , it should delete /skip the record ,,,,
It checks till the EOF , if found it will delete ....
Please let me know if you need any details