BookmarkSubscribeRSS Feed
HongqiuGu
Calcite | Level 5

Hi, guys.

I have just switched from SAS DM to SAS EG.

One feature of EG is  Auto-completion,including user-defined macro. But it only restricted to macro defined through the active program. The question is I have hundreds of defined macros, each macro is defined in a separated sas file. I have tried to use  MAUTOSOURCE , and the  Auto-completion doesn't work then.  I also tried  INCLUDE AND FILENAME STATEMENT,  it doesn't work either.

So, any suggestion on how to make EG Auto-completes  hundreds of  user-defined macros?

Any suggestion will be highly appreciated .

Thanks.

3 REPLIES 3
HongqiuGu
Calcite | Level 5

Keyboard MACRO may be a solution. Any other method?

ChrisHemedinger
Community Manager

Perhaps editor abbreviations, which might be what you meant by "keyboard macro".

Take SAS program editor abbreviations to the next level - The SAS Dummy

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
HongqiuGu
Calcite | Level 5

Thanks Chris.

You got exact what I mean.

Editor abbreviations is a kind of choice, but may not the best choice, Since Macro I defined may have lots of  positional parameters. Auto-completion can also give some hints of what these parameters means  when I 'm typing in EG, but Editor abbreviations will not.

Macro Auto-completion  can only be done in the some code node in EG.  If EG can do this in different code nodes, that would be better.

Thanks.

Hongqiu.

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
  • 3 replies
  • 1302 views
  • 6 likes
  • 2 in conversation