Seems like it should be simple, but I'm baffled.
I have a need to output datasets using the Output Data tool even if those datasets are empty.
In other words, I have 10 datasets that I output to .csv's for further processing. This further processing demands that 10 .csv's always exist, even if a given dataset is empty. So if a dataset is empty, I only want to output the header row... no other data.
Problem is, if an empty dataset is passed into the Output Data tool, it appears that it will not actually write a file. And if I pass in a dataset with just an empty row, I get a file but it has the header row and an extra row of delimiters for the empty data.
Anyone have any ideas?