Desktop productivity for business analysts and programmers

WARNING: Apparent invocation of macro LOGOUT not resolved.

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 19
Accepted Solution

WARNING: Apparent invocation of macro LOGOUT not resolved.

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


Accepted Solutions
Solution
‎04-20-2017 10:01 AM
Grand Advisor
Posts: 10,235

Re: WARNING: Apparent invocation of macro LOGOUT not resolved.

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


All Replies
Solution
‎04-20-2017 10:01 AM
Grand Advisor
Posts: 10,235

Re: WARNING: Apparent invocation of macro LOGOUT not resolved.

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.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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