Hello all.
I have 10 lines of SAS code, but I want only submit line 3,5,6,7.I want submit it in command lane. subtop command can only submit top lines. what can I do?
Thanks!
Hi,
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.
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.
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;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: