BookmarkSubscribeRSS Feed
tdwilliams1
Calcite | Level 5

SAS Enterprise Guide 8.1 (EG) does not display the autocomplete list for snippets within a macro definition (i.e., between %MACRO and %MEND keywords.

 

EG does display the autocomplete for the snippet outside of the macro definition. EG also displays the autocomplete list for macro variables within the macro 

 

I have included screenshots below for the macro %ThisMacro and the snippet _Boo

 

%macro ThisMacro(
Var=/*boo*/
);

%mend;

Outside of the macro definition the autocomplete menu appears for snippet _Boo

a.png

Inside the macro definition, the autocomplete menu for macro variables appears

c.png

 

But inside the macro definition, the autocomplete menu for snippets does not appear

b.png

1 REPLY 1
r_behata
Barite | Level 11

I have an older version of SAS EG (7.15) and  see a similar behavior, the abbreviations does not seems to work inside macros for some reason.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1055 views
  • 0 likes
  • 2 in conversation