@sg_kr wrote:
we deleted the data based on the if condition and we want those deleted data into another dataset
What DATA????
The program I showed was for reading a file into a dataset. Before it ran there was no dataset. So there was not "data" to delete. Only decisions to made about how to read the file. Like ignoring skipping page numbers when reading a book. or ignoring the ads on a webpage.