Help using Base SAS procedures

using the keyboard

Reply
Super Contributor
Posts: 279

using the keyboard

is there a keyboard combo for "submit" similar to ctrl + e for clearing the output?
Regular Contributor
Posts: 165

Re: using the keyboard

Submit on windows is F8
Super Contributor
Posts: 279

Re: using the keyboard

thanks. apparently, my 'F' keys aren't working
Super User
Posts: 11,343

Re: using the keyboard

Try pressing F9. That may bring up the KEYS window.
You can enter commands such as SUBMIT for any of the key choices shown.
If F9 doesn't work and the SAS command box is in you tool bar type KEYS and press enter to start the window.
Super Contributor
Posts: 279

Re: using the keyboard

I found KEYS under the TOOLS menu and I typed submit beside CTL G.

when i presse CTRL G, I get a pop up box and says to enter the line number. When I click ok,nothing happens.
Regular Contributor
Posts: 165

Re: using the keyboard

CTRT+G is already a shortcut for goto line (I don't know why it isn't listed in the dmkeys section but it is in Enhanced Editor Keys). Try using CTRL+J instead.
New Contributor
Posts: 4

Re: using the keyboard

Ctrl+G doesn't work as it works as go to line by default. Try assigning "SUBMIT" to CTR+J. This works perfectly.
Super Contributor
Posts: 279

Re: using the keyboard

Yes, it does work perfectly. Thanks.

What does "zoom off; submit" mean?
Regular Contributor
Posts: 165

Re: using the keyboard

I think the "zoom off" is if you have the editor maximazed SAS will first restore the window and then submit the program.
New Contributor
Posts: 4

Re: using the keyboard

"Zoom off; Submit" this command restores down the program editor window and runs the code. So that you can see the log running. This will be useful when you are working on Proc Download.
Super User
Posts: 11,343

Re: using the keyboard

Here are a couple of other things to add to the KEYS menu:

If you use a lot of PROC PRINT just to look at the last data created try this:
vt _last_ mode=edit;

To clear out the results, output and log window and return to the enhanced editor:
odsresults;select all;clear;log;clear;wpgm;
Super Contributor
Posts: 279

Re: using the keyboard

this sounds helpful. I'm not sure where to put vt _last_ mode=edit;

do i assign it to an available KEY?
Occasional Contributor
Posts: 15

Re: using the keyboard

I use the PF12 key and it clears both the output and the log, I looked at my keys setup and did not see any customized setup and yet it works. Try it, see if it works for you.
Super Contributor
Posts: 279

Re: using the keyboard

i don't what you mean by PF12 key. I have an F12 key.
Occasional Contributor
Posts: 15

Re: using the keyboard

Sorry I meant F12.
Ask a Question
Discussion stats
  • 14 replies
  • 240 views
  • 0 likes
  • 5 in conversation