BookmarkSubscribeRSS Feed
Rsadiq
Calcite | Level 5

I am editting a code and keep coming across this error. Not sure how to correct it

 

 

 

NOTE: The macro LOGOUT completed compilation without errors.
      26 instructions 712 bytes.
96        +
97        +%make_directory(&logpath.) ;
           _
           180
WARNING: Apparent invocation of macro MAKE_DIRECTORY not resolved.
WARNING: Apparent symbolic reference LOGPATH not resolved.

ERROR 180-322: Statement is not valid or it is used out of proper order.

1 REPLY 1
Kurt_Bremser
Super User

You need to get the code where macro make_directory is defined and run it, so the macro is compiled. Then you can use it.

At the moment, the macro is not in your current environment.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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