06-12-2013 11:56 AM
Each time before I run SAS codes I would like to clear the work library using following codes:
proc datasets lib=work kill nolist memtype=data;
I don't want to type these codes each time, so I try to assign these codes to a keystroke or a toolbar shortcut. I googled and followed instructions (such as this one: VCU TS - Creating Keyboard and Toolbar Shortcuts in SAS) ;however it does not seem to work.
Did anyone know how to assign these codes to a keystroke or a toolbar shortcut? Thanks.
06-12-2013 12:39 PM
Check out the following SAS Global Forum papers, they will illustrate how to do that
Hope it helps,
06-12-2013 01:15 PM
Thank you very much. It works now.
For those who are interested, the trick is to use gsubmit. In my case, I entered following to the keystroke.
gsubmit " proc datasets lib=work kill nolist memtype=data;quit; "