BookmarkSubscribeRSS Feed
Ebele
Obsidian | Level 7

Hi,

I'm connecting from EG 5.1 to a SAS 9.3 z/Os workspace server. In the workspace server log the macro %enterpriseguide is included and submitted.

In EG 4.1, this code was included in the egauto.sas.

But where can I find the source code of %enterpriseguide in 5.1?

Kind regards,

Ebele


3 REPLIES 3
ChrisHemedinger
Community Manager

If you select File->Export->Export All Code in Process Flow, you'll see a code preview that contains all of the macros that SAS Enterprise Guide defines.

If you need to provide your own modifications to one of these macros, you can insert your own macro definition in Tools->Options->SAS Programs: Submit SAS code when server is connected.

submit.png

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Ebele
Obsidian | Level 7

Hi Chris,

Thanks. The export All Code provides me the wrapper code. In this wrapper code, I can find the %enterpriseguide. Thanks for that.

But when you add additional SAS code, for instance when a server is connected, this code is submitted after the wrapper code is submitted.

I'm looking for a way to edit the %enterpriseguide macro in the wrapper code (for every user in the company). There is filename allocation statement (egtmpdir) which I want to change.

Kind regards,

Ebele


Ebele
Obsidian | Level 7

Contacted support about this: in EG 5.1 you can still add a Enterpriseguide.sas to the install directory of EG 5.1.

In this file you can make modifications to the wrapper code. It overrides the default wrappercode.

Kind Regards,
Ebele

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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