Hi.
I am New in sas di, and I need to start my job invoking the sas table with most recent creation date between a library with a lot of tables with the same prefix, for example: I need to use the table clients_201709 within the following options
clients_201708
clients_201709
clients_201710
thanks in Advanced for all your help.
That's first of all a design question before it comes to implementation. How do you know which month to pick-up?
You can use macro variables for file names (i.e. clients_&yyyymm) so once you're able to populate such a macro variable things become simple.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.