<?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 some variable in list does not match type prescribeb in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205566#M4629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you make the data set?&lt;/P&gt;&lt;P&gt;SAS is not going to convert the types of your variables, it will just do what you ask.&amp;nbsp; Now if you tried to use PROC IMPORT to have SAS guess about what type of data you have in a CSV or EXCEL file then you might end up with some variables being defined as character.&amp;nbsp; It is better to write your own program to read the data and then you have control over how the variables are defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Jun 2015 17:37:13 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-06-14T17:37:13Z</dc:date>
    <item>
      <title>Why some variable in list does not match type prescribeb</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205565#M4628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I don't understand why SAS road variable in list does not match type prescribeb for this list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's all numeric data, but when i look in the librairy some data are in alphanum.. how can i change this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture d’écran 2015-06-13 à 22.48.48.png" class="jiveImage" src="https://communities.sas.com/legacyfs/online/10833_Capture d’écran 2015-06-13 à 22.48.48.png" style="font-size: 10pt; line-height: 1.5em; max-width: 450px; max-height: 600px;" /&gt;&lt;/P&gt;&lt;P&gt;In SAS, my da&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ta rc1 is&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;n&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;umeric, but not my other data like bg1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture d’écran 2015-06-13 à 22.46.02.png" class="jiveImage" height="305" src="https://communities.sas.com/legacyfs/online/10832_Capture d’écran 2015-06-13 à 22.46.02.png" style="height: 305px; width: 488.434163701068px;" width="488" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is't because i have 0 and . in my folder ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture d’écran 2015-06-13 à 22.51.00.png" class="jiveImage" height="309" src="https://communities.sas.com/legacyfs/online/10834_Capture d’écran 2015-06-13 à 22.51.00.png" style="width: 450px; height: 309px;" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks and sorry for my english &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 02:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205565#M4628</guid>
      <dc:creator>cathp</dc:creator>
      <dc:date>2015-06-14T02:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why some variable in list does not match type prescribeb</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205566#M4629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you make the data set?&lt;/P&gt;&lt;P&gt;SAS is not going to convert the types of your variables, it will just do what you ask.&amp;nbsp; Now if you tried to use PROC IMPORT to have SAS guess about what type of data you have in a CSV or EXCEL file then you might end up with some variables being defined as character.&amp;nbsp; It is better to write your own program to read the data and then you have control over how the variables are defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 17:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205566#M4629</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-06-14T17:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why some variable in list does not match type prescribeb</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205567#M4630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your first image Obs 13 has a period "." or rather a "Missing" value. check to see what value is in the input file. You may have an "O" (letter O) not a "0" number zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;William E Benjamin Jr&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/publishing/authors/benjamin.html" title="http://support.sas.com/publishing/authors/benjamin.html"&gt;SAS Press - William E. Benjamin, Jr. Author Page&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 21:02:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205567#M4630</guid>
      <dc:creator>wmebenjaminjr3</dc:creator>
      <dc:date>2015-06-14T21:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why some variable in list does not match type prescribeb</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205568#M4631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;My data are all numeric (see my data in excel on the bottom), but when I put it in SAS university, SAS read the data bq1 bq2 bq3 bgm1 bgm2 bgm3 as alphanum. Why ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="Capture d’écran 2015-06-14 à 20.41.03.png" class="jiveImage" height="317" src="https://communities.sas.com/legacyfs/online/10843_Capture d’écran 2015-06-14 à 20.41.03.png" style="max-width: 450px; max-height: 600px; height: 317px; width: 477.090301003345px;" width="450" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 00:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205568#M4631</guid>
      <dc:creator>cathp</dc:creator>
      <dc:date>2015-06-15T00:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why some variable in list does not match type prescribeb</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205569#M4632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your numbers are left aligned, typically numbers are right aligned.&amp;nbsp; I'm guessing that Excel has the cells formatted as text and SAS is assuming those formats.&amp;nbsp; Try right aligning number and setting to numbers in Excel before import and see if that helps the import.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 03:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Why-some-variable-in-list-does-not-match-type-prescribeb/m-p/205569#M4632</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-06-15T03:07:52Z</dc:date>
    </item>
  </channel>
</rss>

