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 (September 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 7 Sep 2004 16:18:08 -0500
Reply-To:     "Dunn, Toby" <Toby.Dunn@TEA.STATE.TX.US>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Dunn, Toby" <Toby.Dunn@TEA.STATE.TX.US>
Subject:      Re: Have you seen this ERROR Message: Width specified forformat
              DATE is invalid?
Comments: To: Venky Chakravarthy <venky.chakravarthy@PFIZER.COM>
Content-Type: text/plain; charset="us-ascii"

Venky,

Its not fixed in 9.1.2:

179 data _null_; 180 a = '01nov2004'd; 181 put a=date4.; ------ 29 ERROR 29-185: Width specified for format DATE is invalid.

182 put a=date5.; 183 put a=date9.; 184 put a=date10.; ------- 29 ERROR 29-185: Width specified for format DATE is invalid.

185 186 run;

It has been my understanding from a little birdie that it is only in the enhanced editor that you will get these SCL errors like this. Perhaps that is why he doesn't use the enhanced editor.

Toby Dunn

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Venky Chakravarthy Sent: Tuesday, September 07, 2004 4:14 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Have you seen this ERROR Message: Width specified forformat DATE is invalid?

The NOTE about the SCL source line was introduced in version 7 and apparently corrected in version 9. I believe this happens only when using the enhanced editor and NOT when using the regular program editor. See

http://support.sas.com/techsup/unotes/SN/004/004767.html

Venky

On Fri, 3 Sep 2004 16:46:40 -0600, Jack Hamilton <JackHamilton@FIRSTHEALTH.COM> wrote:

>It means that you (or SAS on your behalf) attempted to specify the DATE >format but used an invalid width. Valid values are 5-9. > >===== >1 data _null_; >2 a = '01nov2004'd; >NOTE: SCL source line. >3 put a=date4.; > ------ > 29 >ERROR 29-185: Width specified for format DATE is invalid. > >4 put a=date5.; >5 put a=date9.; >NOTE: SCL source line. >6 put a=date10.; > ------- > 29 >ERROR 29-185: Width specified for format DATE is invalid. > >7 run; >===== > >I'd like an explanation of why "NOTE: SCL source line" is a legitimate >message when I'm not using SCL. Any takers? > > > > >-- >JackHamilton@FirstHealth.com >Manager, Technical Development >Metrics Department, First Health >West Sacramento, California USA > >>>> "Kitty Lee" <kitty_lee04@YAHOO.COM> 09/03/2004 3:37 PM >>> >Hi, > >Have you seen this error message? > >ERROR: Width specified for format DATE is invalid. > >If so, please let me know what it means, thanks so much in advance. > >kitty > > >--------------------------------- >Do you Yahoo!? >New and Improved Yahoo! Mail - 100MB free storage!


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