in <newdataset> check if the dataset already exists