Date: Wed, 20 Dec 2000 17:27:44 -0800
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Subject: Re: Dynamically Naming SAS Dataset with Today's Date
In-Reply-To: <sa40f32f.057@SLCM02.firsthealth.com>; from
JackHamilton@FIRSTHEALTH.COM on Wed, Dec 20,
2000 at 05:58:04PM -0700
Content-Type: multipart/signed; micalg=pgp-sha1;
mmddyy8. would by Y2K (or Y2100) compliant.
on Wed, Dec 20, 2000 at 05:58:04PM -0700, Jack Hamilton (JackHamilton@FIRSTHEALTH.COM) wrote:
> Something like this:
> 1 data D%sysfunc(today(), mmddyy6.);
> 2 a = 1;
> 3 output;
> 4 run;
> NOTE: The data set WORK.D122000 has 1 observations and 1 variables.
> This uses the macro language, but not a macro.
> Development Manager, Technical Group
> METRICS Department, First Health
> West Sacramento, California USA
> >>> <gregory.john.toland@CENSUS.GOV> 12/20/2000 4:40 PM >>>
> How does one have a dataset with the name of Today's Date? If the program
> were run Today the dataset would be called CR122000. If it were run
> tomorrow it would be called CR122100. Is this possible with macros using
> %SYSFUNC? It's been a year since my days of using the SAS MACRO Language.
> Any help/advise would be great. Thanks!
> Gregory J Toland
> Sr. Systems Architect
> CHM, Inc.
> (301) 457-8058
Karsten M. Self <email@example.com> http://kmself.home.netcom.com/
Evangelist, Zelerate, Inc. http://www.zelerate.org
What part of "Gestalt" don't you understand? There is no K5 cabal