22 %logout(s100_sr_hra_curr_qtr_pull_2016) ;
_
180
WARNING: Apparent invocation of macro LOGOUT not resolved.
ERROR 180-322: Statement is not valid or it is used out of proper order.
I keep getting this error is, and I am not sure why
A statement starting with %name tells SAS that you want to use the Macro Name, or in your case LOGOUT.
The macro must either be compilied in the session running, be in disk location that the autocall option can file macro code files ot compile or stored a precompiled macro library that SAS knows where to find.
Apparently your program has not met one of those requirements and so SAS cannot find the macro LOGOUT.
You may have to talk to the source of that part of your program to findout where the code for the Logout macro resides as I suspect you did not write that bit of code.
A statement starting with %name tells SAS that you want to use the Macro Name, or in your case LOGOUT.
The macro must either be compilied in the session running, be in disk location that the autocall option can file macro code files ot compile or stored a precompiled macro library that SAS knows where to find.
Apparently your program has not met one of those requirements and so SAS cannot find the macro LOGOUT.
You may have to talk to the source of that part of your program to findout where the code for the Logout macro resides as I suspect you did not write that bit of code.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.