It's kind of basic, but can't remember this:
this is my variable
date_ with a format mmddyy10.
data test;
set one;
where date_ gt '02/03/2012'd;
run;
What's wrong with this?
where date_ gt '0MAR2012'd;
where date_ gt '0MAR2012'd;
Thanks!
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 save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.