<?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: 13 digit number in sas input in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685657#M24307</link>
    <description>&lt;P&gt;The code below works for me. But why do you need a 13 digit numeric? Why numeric, are you going to use it in some numerical way such as adding them up and finding an average? I doubt it. Such identifiers ought to be character, you would make your life much simpler if you made them character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data firstdataset;
   input Score  13. Name : $10. (xyz1-xyz3)($1.);
   format score best16.;
datalines;
123456789012 raje Abc
1234567890123 nbvc Abc
65 aaaaa bbb
95 abdef ccc
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 22 Sep 2020 11:22:18 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-09-22T11:22:18Z</dc:date>
    <item>
      <title>13 digit number in sas input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685651#M24306</link>
      <description>&lt;PRE&gt;data firstdataset;
   input Score  13. Name : $10. (xyz1-xyz3)($1.);
datalines;
123456789012 raje Abc
1234567890123 nbvc Abc
65 aaaaa bbb
95 abdef ccc
;
proc print;run;&lt;/PRE&gt;
&lt;P&gt;as per this code 13 digits has to be read for score varible.&lt;BR /&gt;q1: first line score 12 digits only..how it is displaying correct number in dataset? even though shortage of one digit&lt;/P&gt;
&lt;P&gt;score has to read 13 digits in third line and it is giving error , i agree. but how come first line successfully ?read?&lt;/P&gt;
&lt;P&gt;q2: 13 digit numbers ,how can i export into csv?as it is giving exponenetial numbers? when converting to numbers, those are truncating..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685651#M24306</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-09-22T11:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: 13 digit number in sas input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685657#M24307</link>
      <description>&lt;P&gt;The code below works for me. But why do you need a 13 digit numeric? Why numeric, are you going to use it in some numerical way such as adding them up and finding an average? I doubt it. Such identifiers ought to be character, you would make your life much simpler if you made them character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data firstdataset;
   input Score  13. Name : $10. (xyz1-xyz3)($1.);
   format score best16.;
datalines;
123456789012 raje Abc
1234567890123 nbvc Abc
65 aaaaa bbb
95 abdef ccc
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:22:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685657#M24307</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-22T11:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: 13 digit number in sas input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685666#M24308</link>
      <description>thanks for quick reply and suggestions.&lt;BR /&gt;I learned and worked on sas  but still I am not comfortable with types of  input methods(list,formatted,fixed) etc. how the compiler/pdv is preforming internally while these...will post another question shortly.</description>
      <pubDate>Tue, 22 Sep 2020 12:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/13-digit-number-in-sas-input/m-p/685666#M24308</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-09-22T12:08:48Z</dc:date>
    </item>
  </channel>
</rss>

