LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 4 Jan 2008 07:26:20 -0800
Reply-To:     Peter <crawfordsoftware@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter <crawfordsoftware@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: 3 days executing a program
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On 4 Jan, 14:24, wie...@INED.FR (Andre Wielki) wrote: > Hi all, > I don't remember well if i use > > options dtreset; > ... > %macro... ; > %do i=1 %to ... ; > %put i=&i; > %put %sysfunc(putn("&sysdate"d,eurdfwdx.)); > > %end; > %mend; > > would the printed date change on sturday and sunday > or remain in the start state date today friday? > > My collegue can not wait until monday and here in Paris is it already friday 15h25! > > TIA > Andre > -- > André WIELKI > INED (Institut National d'Etudes Démographiques) > Service Informatique > 133 Boulevard Davout 75980 Paris Cedex 20 > mél : wie...@ined.fr tél : 33 (0) 1 56 06 21 54

:-) Monday....

&sysdate is fixed when a SAS session starts; option dtReset has no effect on &systime ; try option dtReset; %put &systime %sysfunc( datetime(), datetime);

It does have effect on the time reported on a title line. option dtReset ; title "%sysfunc( datetime(), datetime) &systime "; proc print data= sashelp.class(obs=1); run;

So I conclude that the option dtReset does not affect &systime and &sysdate .

PeterC


Back to: Top of message | Previous page | Main SAS-L page