03-12-2012 09:56 PM
When I use my mouse to select few lines of SAS code for debugging, SAS 9.2 will automatically selected it from the first line.
I never encounter this when I was using 9.1.
Other than to select the codes patiently and carefully till the last ";" of my code, anyone has solution / trick for abovementioned query?
03-12-2012 10:40 PM
I've noticed odd mouse selection with 9.2 as well. I've gotten around it by left clicking where I want to start, holding down the shift key, and then lift clicking at the very start of the line following the lines I want to run.
03-12-2012 11:07 PM
I use Alt + mouse and Alt + shift + mouse click to select codes vertically.
If you want to know how this problem occurs, try this >>>
hold <Shift> button, select a procedure step until "RUN;" from the middle part of your SAS program...
Then you continue to select a space or tab after the "RUN;"
The SAS 9.2 will automatically make a selection start from line1....
Thanks for your help... But apparentely this doesn't work...
When I accidentally selected a space after RUN; the problem hit my back again...
I have been struggling this after I had installed my 9.2.... sigh
03-13-2012 11:24 AM
I don't know if this will help but since it will run the datastep/proc/ macro compile from where the cursor is located it may be of help.
Go to the editor tools to create a keyboard macro.
Add the commands to:
Move cursor to column 1
Collapse current line
Extend selection down
give the macro a name you like and save. Then assign a key combination to the macro.
This will select all of the code with in a datastep, sql block or proc. Then run. It does leave the executed code collapsed though.