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

Hi

I am using SAS EG4.1 and wanted to know if there is a way I can create a template that stores text/standard code in it ?

I then wanted to use the template by a shortcut key.

Detail: I would like to include standard program header into a new SAS program eveytime I create one. At the click of the shortcut key/template, the header should be pasted

as a block of text on a new program.

Please let me know.

Thanks,

Venkata Darbha


1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

You can use an Editor abbreviation for this.  Read more about it here:

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

In EG 4.1 it's a little different though.  Select Code->Add Abbreviation to get started.

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!

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

You can use an Editor abbreviation for this.  Read more about it here:

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

In EG 4.1 it's a little different though.  Select Code->Add Abbreviation to get started.

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!
OS2Rules
Obsidian | Level 7

What kind of output are you creating?

I had a template that used the posthtml tags to write a fixed footnote on every web report I created.  I sure that you should be able to do the same for a title with prehtml.  

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
  • 1342 views
  • 0 likes
  • 3 in conversation