Get the max date data set or recent data set

Reply
Contributor
Posts: 41

Get the max date data set or recent data set

Hi All,

I need to get the most updated file from a sas library/folder having different sets of data sets. I want recent data set from AAAA201312  and BBBB201312

ex:

     AAAA201310

     AAAA201311

     AAAA201312

     AAAA201309

     BBBB201310

     BBBB201311

     BBBB201312

     BBBB201309

      Thanks in advance.

Super User
Posts: 5,257

Re: Get the max date data set or recent data set

Your requirement is a bit vague, so will my suggestion be...

You'll probably need to look for some kind of macro logic to determine the name(s) of the most recent data sets, and in conjunction with that deploy your new data set...?

Data never sleeps
Ask a Question
Discussion stats
  • 1 reply
  • 152 views
  • 0 likes
  • 2 in conversation