DATA Step, Macro, Functions and more

about sas template

Reply
Frequent Contributor
Posts: 90

about sas template

[ Edited ]

Does SAS have options to build a template? That is, when I open a new program, it will contain some comments like this:

 

/* date:                    */;

/*programmer:         */;

/*project:                */;

 

 

 

this likes "E-Mail Signature". 

 

 

 

Super User
Posts: 3,252

Re: about sas template

Posted in reply to Niugg2010

What you are describing is a program documentation section at the start of each program. SAS doesn't have such a facility but it is easy enough to create your own manually and then copy it from one program to another. That's what I do anyway.

PROC Star
Posts: 735

Re: about sas template

Posted in reply to Niugg2010

I think the closest you will get is to add an abbreviation (Tools --> Add Abbreviation)

 

Abb.PNG

 

Press OK and then type Documentation in your editor.

Frequent Contributor
Posts: 90

Re: about sas template

Thanks a lot. I got it. That is greet. By the way, how can I check the Abbreviation which I built and how to delete some useless ones? 

PROC Star
Posts: 735

Re: about sas template

Posted in reply to Niugg2010

Tools --> Keyboard Macros --> Macros

 

You will see this

 

Docu.PNG

 

And you can assign keys, edit the abbreviations, delete them etc Smiley Happy

Frequent Contributor
Posts: 90

Re: about sas template

Thanks a lot. learn a lot.

Super User
Posts: 3,252

Re: about sas template

[ Edited ]

Nice to know about Abbreviations in EG.

Ask a Question
Discussion stats
  • 6 replies
  • 365 views
  • 3 likes
  • 3 in conversation