An Idea Exchange for SAS software and services

by SAS Employee jocham
on ‎12-22-2014 11:14 AM


If you set the option DTRESET, do you get the results you would like?  Ex: Add this to the top of your program:

options dtreset;

Here is the documentation for this option: SAS(R) 9.3 System Options: Reference, Second Edition



by Frequent Contributor
on ‎12-22-2014 12:08 PM

Thank you for suggesting the DTRESET option

It does what I was hoping to do

I would delete this idea, but I couldn't find that option

by Super User
on ‎12-24-2014 12:08 PM

Its still not a bad idea, the default setting isn't what most people expect, unless you've been using SAS for a while Smiley Happy

by Frequent Contributor
on ‎12-24-2014 01:40 PM

I think what we really need is to improve the Help articles for the DATE and the DTRESET options.

We need links at the bottom (in the "See Also" section) pointing to each other's articles.

Currently, the "See Also" section points to the "The SAS Log" article which indirectly mentions the DTRESET option, but I think the DATE and the DTRESET options are so closely related that they should be mentioned directly in their respective Help articles.

by Respected Advisor
on ‎12-26-2014 02:24 PM

Ditto. The  current returned value is almost useless. It used to be that processes had to be restarted often because they were very unstable, so the start date was not far from the current datetime. That is not so much the case anymore. The default value should reflect that.


by Valued Guide
on ‎01-01-2015 04:25 PM

WorkAround 1

Try option FULLSTIMER.

end of step NOTEs will include a current timestamp.

WorkAround 2

prepare substitute &SASDATE at start of each job with

%let sasdate= %sysfunc( date(), date9) ;

Idea Statuses
Top Liked Authors