BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Rsadiq
Calcite | Level 5

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

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

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.

View solution in original post

1 REPLY 1
ballardw
Super User

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.

sas-innovate-2024.png

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.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1974 views
  • 0 likes
  • 2 in conversation