Not sure this helps. Only works when you have full SAS on the local machine and
only works with the old text editor.
- You have full SAS and you use the old text editor on your local machine
- PuTty and SAS connect(SSH) to a unix/windows server
You can create a command macro and assign it to a function key.
If you highlight the code the function key will send the core to the server for execution.
Put something like this on the function key
store;note notesubmit '%rsubh';
The store command saves the highlighted text in the clipboard. The command macro reads the clipboard and submits the code to the unix server.
The store command only works with the old text editor. It ws turned off in all subsequent editors.
%macro rsubhh /cmd;
store;note;notesubmit '%rsubha;';
%mend rsubhh;
%macro rsubhha /cmd;
FILENAME clp clipbrd ;
DATA _NULL_;
INFILE clp;
INPUT;
file "shared drive";
put _infile_;
RUN;
dm "out;clear;";
footnote;
rsubmit;
%inc "shared drive";
run;clear;
endrsubmit;
%mend rsubhha
;