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 (June 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 26 Jun 2003 15:36:24 -0400
Reply-To:     "Braten, Michael (Exchange)" <mbraten@BEAR.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Braten, Michael (Exchange)" <mbraten@BEAR.COM>
Subject:      Re: Date MMDDYYYY8.
Comments: To: "Chakravarthy, Venky" <Venky.Chakravarthy@PFIZER.COM>
Content-Type: text/plain

I NEED MORE COFFEE!

I meant MMDDYY10.

-----Original Message----- From: Chakravarthy, Venky [mailto:Venky.Chakravarthy@PFIZER.COM] Sent: Thursday, June 26, 2003 2:24 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Date MMDDYYYY8.

Jishnu,

The specified format does not exist as a SAS supplied format. If you are looking to write today's date as 06262003 without any separators for the month, day and year portion use:

data _null_; call symput('ASOF',put(date(),mmddyyn8.)); run;

which gives:

52 %put <<<&asof.>>> ; <<<06262003>>>

__________________________ Venky Chakravarthy E-mail: swovcc@hotmail.com

-----Original Message----- From: Jishnu [mailto:jishguha@YAHOO.COM] Sent: Thursday, June 26, 2003 2:02 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Date MMDDYYYY8.

Hi I facing problem with this code:

data _null_; call symput('ASOF',put(date(),mmddyyyy8.)); run;

data _null_; NOTE: SCL source line. 2009 call symput('ASOF',put(date(),MMDDYYYY8.)); ---------- 48 ERROR 48-59: The format MMDDYYYY was not found or could not be loaded.

2010 run;

I want the date in MMDDYYYY format how can I change that

Thanks

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.

**************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. ***********************************************************************


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