Combining Data Sets
Posted on 2012-09-14
I'm combining data sets in a program, but sometimes one or more of the data sets have zero records so when the program runs, it errors on that step because that data set may not exist. Is there a macro or if statement that can be used so that the program would continue?
So my combine SAS step would look like this:
Let's say the step that creates THE_SECOND_DATASET produces zero records? When it gets to this step, obviously it errors because that data set does not exist. How can I get by this???