<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: why do i have such warning message? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68110#M19504</link>
    <description>sorry for the late response.&lt;BR /&gt;
&lt;BR /&gt;
Thank you all for help.</description>
    <pubDate>Wed, 25 May 2011 03:13:43 GMT</pubDate>
    <dc:creator>littlestone</dc:creator>
    <dc:date>2011-05-25T03:13:43Z</dc:date>
    <item>
      <title>why do i have such warning message?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68107#M19501</link>
      <description>dear all, here is my code:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
input SS;&lt;BR /&gt;
cards;&lt;BR /&gt;
123456789&lt;BR /&gt;
234567891&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
set test (rename=(SS=ID));&lt;BR /&gt;
SS=put(ID,$9.);&lt;BR /&gt;
drop ID;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
After running the code, I got following message in the log:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
566  SS=put(ID,$9.);&lt;BR /&gt;
WARNING: Variable ID has already been defined as numeric.&lt;BR /&gt;
567  drop ID;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The strange thing is: if I change the code:&lt;BR /&gt;
&lt;BR /&gt;
SS=put(ID,$9.);&lt;BR /&gt;
&lt;BR /&gt;
to:&lt;BR /&gt;
&lt;BR /&gt;
SS=put(ID,ssn11.);&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is no any warning message.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone clarify why is the warning message? Thanks.</description>
      <pubDate>Sat, 21 May 2011 03:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68107#M19501</guid>
      <dc:creator>littlestone</dc:creator>
      <dc:date>2011-05-21T03:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: why do i have such warning message?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68108#M19502</link>
      <description>Your SAS variable ID is defined as a SAS NUMERIC type variable while you are attempting to use a SAS CHARACTER type format (it has the leading "$" character prefix in the name). &lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
variable has already been defined as numeric site:sas.com</description>
      <pubDate>Sat, 21 May 2011 08:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68108#M19502</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-05-21T08:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: why do i have such warning message?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68109#M19503</link>
      <description>Just as Scott said. Your id is numeric variable and your $9. is character format ,So they are not matched.&lt;BR /&gt;
So try to &lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
input SS;&lt;BR /&gt;
cards;&lt;BR /&gt;
123456789&lt;BR /&gt;
234567891&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
set test (rename=(SS=ID));&lt;BR /&gt;
SS=put(ID,9.);&lt;BR /&gt;
drop ID;&lt;BR /&gt;
run;&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Mon, 23 May 2011 00:27:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68109#M19503</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-23T00:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: why do i have such warning message?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68110#M19504</link>
      <description>sorry for the late response.&lt;BR /&gt;
&lt;BR /&gt;
Thank you all for help.</description>
      <pubDate>Wed, 25 May 2011 03:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/why-do-i-have-such-warning-message/m-p/68110#M19504</guid>
      <dc:creator>littlestone</dc:creator>
      <dc:date>2011-05-25T03:13:43Z</dc:date>
    </item>
  </channel>
</rss>

