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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.