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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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