Date: Wed, 18 Aug 2010 22:48:39 -0500
Reply-To: Yu Zhang <zhangyu05@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Yu Zhang <zhangyu05@GMAIL.COM>
Subject: Re: Question about Commaw.d informat
Content-Type: text/plain; charset=ISO-8859-1
Thank you for looking at this. the log you got is correct. I had a missing
statement (Missing S) in a program which was run earlier.
the missing statement is global in scope. so that is why my sample code was
OK. I failed to check the previous code and jump to conclusions.
I guess it is too late for me to stay on the L.
Again thank you.
On Wed, Aug 18, 2010 at 10:28 PM, Nat Wooding <firstname.lastname@example.org> wrote:
> When I run this code, I receive the log
> NOTE: Invalid argument to function INPUT at line 145 column 3.
> a=. _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.
> Which is what I would expect since you are associating a character string,
> "S" with a numeric informat.
> Are you certain that your log did not display the results that mine gave?
> Nat Wooding
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Yu
> Sent: Wednesday, August 18, 2010 11:12 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Question about Commaw.d informat
> while i am reading the some old post, i came across a strange output from
> the INPUT function.
> data _null_;
> put a=;
> the program runs OK without any complaining. however if you change the
> value to some thing other than 'S'/'s', the log shows 'invalid argument of
> input function' message.
> so this leads to me to believe that 'S' must have a special meaning. but
> what is it?
> can someone please let me know?