Date: Fri, 15 Feb 2008 16:28:43 -0500
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Survey: Who uses keyboard abbreviations
Matt,
I have found keyboard abbreviations to be invaluable but, for the most
part, more what they can provide than as a way to reduce keystrokes.
That is, when one is continually adding examples of many import and export
types, statistical and graphic procedures, macro templates, etc., the
abbreviations themselves become less important (and impossible to remember)
than simply having a handy reference of sets of code that already have the
desired options set.
And, since the abbreviations can also be accessed by clicking on tools ->
Keyboard Macros -> Macros from the main menu, that has turned into my
principal abbreviation access mode.
In case any birdies are listening, I would like to see SAS incorporate a
search mechanism within the list of macros/abbreviations. Since one can
also store a description, as well as the desired abbreviation, such a
search capability could end up being quite powerful.
Art
----------
On Fri, 15 Feb 2008 13:14:01 -0500, Matt Pettis <matt.pettis@THOMSON.COM>
wrote:
>Hi,
>
>I've been training some people at work and decided to give them the
keyboard
>abbreviations I use to speed up my programming and train them on it. I
was
>curious how many other people take advantage of this SAS GUI option and,
if
>they do, what abbreviations they use.
>
>A few of the abbreviation I use frequently in my code and what they
resolve
>to follows...
>
>
>abbreviation: comm
>used for: comments that break the code into sections.
>text substitution:
>
>/*--------------------------------------------------------------------*\
>
>\*--------------------------------------------------------------------*/
>
>
>
>
>abbreviation: sum
>used for: getting a 'proc summary' skeleton to work with.
>text substitution:
>
>proc summary data=work nway missing;
> class ;
> var ;
> output out=temp(drop=_:) sum=;
> run;
>
>
>
>
>abbreviation: gpl
>used for: getting a 'proc glplot' skeleton that I most often use.
>text substitution:
>
>goptions reset=symbol reset=axis reset=legend;
>proc gplot data=temp;
> symbol1
> i=j
> w=2
> ;
> axis1
> value=(a=90 r=0)
> ;
> axis2
> label=(a=90 r=0)
> ;
> legend1
> label=('Legend')
> ;
> plot /
> haxis=axis1
> vaxis=axis2
> vzero
> legend=legend1
> overlay
> ;
> run;
> quit;
|