Saving a program in SAS® Studio affects the cursor placement after the Code window refreshes


After you click the Save As button within SAS Studio to save changes to a program, the cursor jumps to the first line of code when the Code window refreshes.

Workaround

Before clicking Save As, make a note of your place (the line number). Then, after you complete the save, you can use the Line # box to go directly to that line.  

"Line #" box