I have three SAS datasets, ds1, ds2, ds3. Each of the datasets contains one observation and consists of one date variable. I am trying to write some macro code that will keep looping until the values of the date variable in each of the datasets is the same and no dates are missing in either of the datasets. Once that condition is met, the code writes a message to the log via a put statement and ends the loop. Otherwise, the loop waits for 10 seconds and then continues to check for the condition. Please provide simple examples. Thanks.
... View more