Date: Mon, 12 May 2003 10:27:32 -0400
Reply-To: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Subject: Re: tip: v9 options date/time Reset
> From: Peter Flom [mailto:flom@NDRI.ORG]
> I remember asking this list about this question, and getting
> (ans using) the following in v8 (it also worked in V6)
> %macro now(fmt=datetime21.2) / cmd stmt;
> %sysfunc( datetime(), &fmt )
> %mend now;
> footnote %now;
> /* this macro, with the footnote call, prints the CURRENT
> date and time as a footnote, by default (as opposed to the
> date/time that SAS was started */
> How does the v9 option improve this (if at all)?
no kludge needed.
once you set the option DTRESET to True/Yes
options date dtreset;
the date in TITLE1 changes in every new step.
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
OpSys: Win_Pro Ver: 9.00 (TS M0)