12-19-2013 03:28 AM
Hello SAS community,
I am quite new to SAS (working here with 9.2 on Linux) and have a (hopefully) simple question:
Thanks in advance.
12-19-2013 04:39 AM
Thanks for your answer. Unfortunately, I did not find any system option called sasinit at the SAS Knowledge Base . Running sas -sasinit myprog.sas or sas myprog.sas -sasinit did not help either. I guess I am missing something essentially, right? :smileyblush:
12-19-2013 07:26 AM
Have a go with this command line:
/SAS/SASFoundation/9.4/sas -initstmt 'dm "pgm;include !HOME/xsetinit.sas;";'
The INITSTMT option allows to run SAS code when SAS starts. The DM statement allows to execute SAS Display Manager commands. The PGM command will activate the Program Editor window, then the INCLUDE command will load the text from a file into the editor