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 (November 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 8 Nov 2005 09:16:34 -0800
Reply-To:     shiling99@YAHOO.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         shiling99@YAHOO.COM
Organization: http://groups.google.com
Subject:      Re: Invalid argument to function DATEJUL...
Comments: To: sas-l@uga.edu
In-Reply-To:  <A3D5552AD7F7BB4A978B8B4A376775F505B8B672@na1ecm60.dearborn.ford.com>
Content-Type: text/plain; charset="iso-8859-1"

Not all numeric numbers are valid Julian. That is probably why you have error messages. Please see the follow log.

238 data _null_; 239 do DCDCREDT=-1, 0, 1996234,96566; 240 CRDATE=DATEJUL(DCDCREDT); 241 if _error_=1 then put _all_; 242 end; 243 run;

NOTE: Invalid argument to function DATEJUL at line 240 column 12. DCDCREDT=-1 CRDATE=. _ERROR_=1 _N_=1 NOTE: Invalid argument to function DATEJUL at line 240 column 12. DCDCREDT=0 CRDATE=. _ERROR_=1 _N_=1 DCDCREDT=1996234 CRDATE=13382 _ERROR_=1 _N_=1 NOTE: Invalid argument to function DATEJUL at line 240 column 12. DCDCREDT=96566 CRDATE=. _ERROR_=1 _N_=1 DCDCREDT=96566 CRDATE=. _ERROR_=1 _N_=1 NOTE: Mathematical operations could not be performed at the following places. The results of the operations have been set to missing values. Each place is given by: (Number of times) at (Line):(Column). 3 at 240:12 NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.01 seconds


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