Hi All,
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?
Many thanks
Regards,
David
It is very strange. I have never meet this problem.
You can try to use this way ALT + mouse.
Ksharp
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.
Hi Ksharp,
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....
Hi Art297,
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
Oh. Maybe I understand what you mean .
Try to use key UP DOWN RIGHT LEFT instead of mouse.
Ksharp
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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.