BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
laura6728
Obsidian | Level 7

Is it possible to have default code appear when I open a new program in Enterprise Guide?  For instance, our department has a program header that we place at the top of all of our programs. Is there a way to make that appear when I open a new program to enter code? Right now I have to open the header in notepad++ and copy/paste it in; just trying to see if there is a way to utilize my time better 🙂

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
CaseySmith
SAS Employee

Hi @laura6728, check out Program->Add Abreviation Macro.  You can add your program header as an abbreviation macro and then when you type that abbreviation in the editor, it will show a popup with your abbreviation, then you can select it (Enter or double-click) to insert your header code into your program.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

View solution in original post

2 REPLIES 2
CaseySmith
SAS Employee

Hi @laura6728, check out Program->Add Abreviation Macro.  You can add your program header as an abbreviation macro and then when you type that abbreviation in the editor, it will show a popup with your abbreviation, then you can select it (Enter or double-click) to insert your header code into your program.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

laura6728
Obsidian | Level 7

That works perfectly, thank you so much!

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
  • 2 replies
  • 1678 views
  • 1 like
  • 2 in conversation