Learning SAS? Welcome to the exclusive online community for all SAS learners.

OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Hi All,

 

I am trying to understand the RUN statement. Does it read above for other RUN statement and or the beginning of the file which contains a hidden line (OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECKSmiley Wink?

 

 

 

Example of log file:

 

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 /****************************************************************/
74 /* The INFILE statement uses a Microsoft Windows path. */
75 /* */
76 /* For UNIX, Linux, SAS University Edition, and SAS on Demand: */
77 /* Change the INFILE statement to: */
78 /* infile "&path/newemps.csv" dlm=','; */
79 /* */
80 /* For z/OS: */
81 /* Change the INFILE statement to: */
82 /* infile "&path..rawdata(newemps)" dlm=','; */
83 /****************************************************************/
84
85 data work.newsalesemps;
86 length First_Name $ 12 Last_Name $ 18
87 Job_Title $ 25;
88 infile "/folders/myfolders/newemps.csv" dlm=',';
89 input First_Name $ Last_Name $
90 Job_Title $ Salary /*numeric*/;
91 run;
 

Cheers Conrad


Accepted Solutions
Solution
‎03-13-2018 08:09 AM
Super User
Posts: 10,546

Re: OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Posted in reply to conrad_thiele

Your front-end (SAS Studio) sends code automatically before each of your submits that initializes this individual submit. In order to keep your log clean, log output is prevented by the first line. In line 71 (which is still "hidden"), there's another options statement that reverts this, so you get log output starting at line 72.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code

View solution in original post


All Replies
Solution
‎03-13-2018 08:09 AM
Super User
Posts: 10,546

Re: OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Posted in reply to conrad_thiele

Your front-end (SAS Studio) sends code automatically before each of your submits that initializes this individual submit. In order to keep your log clean, log output is prevented by the first line. In line 71 (which is still "hidden"), there's another options statement that reverts this, so you get log output starting at line 72.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 3

Re: OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Posted in reply to KurtBremser
Makes sense Smiley Happy
PROC Star
Posts: 1,471

Re: OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

Posted in reply to KurtBremser

Does SAS Studio give you an option to choose NOT to hide that bit of the log?  I always get nervous when stuff is hidden from me, code or otherwise.

: )

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 663 views
  • 0 likes
  • 3 in conversation