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 (December 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 20 Dec 2000 17:27:44 -0800
Reply-To:     kmself@IX.NETCOM.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         kmself@IX.NETCOM.COM
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;
protocol="application/pgp-signature";

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. > > > > > -- > JackHamilton@FirstHealth.com > 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 > tolan002@census.gov

-- Karsten M. Self <kmself@ix.netcom.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 http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


[application/pgp-signature]


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