<?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 Proc import : numeric values are imported as character in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-numeric-values-are-imported-as-character/m-p/854091#M337560</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering how to import correctly the values while proc import.&lt;/P&gt;
&lt;P&gt;My code is :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	proc import out= ZC20_test
		datafile = 'XXXX\Test_VL.xlsx'
		dbms = xlsx;
		sheet = "ZC20";
		getnames = yes;
	run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would like to have the values from the row=7 (in attached file) in numeric format, but all the values are on character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;
&lt;P&gt;I joined the file.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 14:33:15 GMT</pubDate>
    <dc:creator>SASdevAnneMarie</dc:creator>
    <dc:date>2023-01-17T14:33:15Z</dc:date>
    <item>
      <title>Proc import : numeric values are imported as character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-numeric-values-are-imported-as-character/m-p/854091#M337560</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering how to import correctly the values while proc import.&lt;/P&gt;
&lt;P&gt;My code is :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	proc import out= ZC20_test
		datafile = 'XXXX\Test_VL.xlsx'
		dbms = xlsx;
		sheet = "ZC20";
		getnames = yes;
	run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would like to have the values from the row=7 (in attached file) in numeric format, but all the values are on character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;
&lt;P&gt;I joined the file.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 14:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-numeric-values-are-imported-as-character/m-p/854091#M337560</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2023-01-17T14:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import : numeric values are imported as character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-import-numeric-values-are-imported-as-character/m-p/854095#M337561</link>
      <description>&lt;UL&gt;
&lt;LI&gt;Define a named range starting in row 7, and use that in IMPORT&lt;/LI&gt;
&lt;LI&gt;Or save the whole thing to csv and read it with a DATA step and FIRSTOBS=8&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 17 Jan 2023 14:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-import-numeric-values-are-imported-as-character/m-p/854095#M337561</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-17T14:50:37Z</dc:date>
    </item>
  </channel>
</rss>

