Maybe I was a bit unclear, I want to compare whole datasets. I have a dataset generated by a script, it should replace an existing dataset if the contents of those two are different. I need a function or procedure which works like %sysfunc(exist(dataset)) which returns a boolean value (true, false) which can be used in an if-Statement.
... View more