05-19-2016 10:37 AM
Gotta say I never execute code from the command line. What I would say though is that the editor is advanced enought to comment out code, click to the left of the line to highlight the whole code line and press cntrl + / to comment out the row. Then you can just submit the program. Far easier once you get used to it.
05-20-2016 04:33 AM
I would agree with @LinusH, IDE's are available for all OS's, at all levels and are designed to make testing, editing and such like far easier than typing things in at the command line.
05-19-2016 01:55 PM
05-19-2016 06:54 PM
is it helpful? (assume your program is stored in temp.sas)
data _null_; length command $100.; infile "~/temp.sas" ; input; if _n_ in (1 3 5) then call execute(_infile_); run;