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 (August 2011, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 17 Aug 2011 09:57:01 -0500
Reply-To:     "Data _null_;" <iebupdte@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Data _null_;" <iebupdte@GMAIL.COM>
Subject:      Re: What is this NOTE indicating ??
Comments: To: SAS_learner <proccontents@gmail.com>
In-Reply-To:  <CAPo+ggvYp0+TCbvXPL5TiU-=RuxBfu4H80F2xdtVNMmDutYnKA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Scan(Label,1,1)

SCAN(string, count<,charlist <,modifiers>>)

Think about it.

On Wed, Aug 17, 2011 at 9:49 AM, SAS_learner <proccontents@gmail.com> wrote: > Hello all, > > In the log it is complaining that I have implicitly converting Num to > character but the Label is char variable then why this NOTE > 1170 data List_swollen; > 1171 set List_sja28 ; > 1172 if Strip(Scan(Label,1,1)) =: "PIP" then cond1 = 1 ; > 1173 else if Strip(Scan(Label,1,1)) =: "Thumb" then cond1 = 1; > 1174 else if Strip(Scan(Label,1,1)) =: "MCP" then cond1 = 2 ; > 1175 else cond1 = 3 ; > 1176 run; > > NOTE: Numeric values have been converted to character values at the places > given by: (Line):(Column). > 1172:25 1173:30 1174:30 > NOTE: There were 28 observations read from the data set WORK.LIST_SJA28. > NOTE: The data set WORK.LIST_SWOLLEN has 28 observations and 4 variables. > NOTE: DATA statement used (Total process time): > real time 0.01 seconds > cpu time 0.01 seconds >


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