<?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 Data input Statement in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888054#M39409</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to create a table with data. where the first column must be numerical(integer) and second column must be float number.&lt;/P&gt;&lt;P&gt;The following code does it except first 9 rows where int number is less then 10.&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;DATA Lapse_Multipliers;
  input Years 1-2 Lapse_Multipliers 3-6;
  DATALINES;
1	1
2	1
3	1
4	1
5	1
6	0.9
7	0.8
8	0.7
9	0.5
10	1
11	1
12	1
13	1
14	1
15	1
16	0.9
17	0.8
18	0.7
19	0.5
20	1
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It returns:&lt;/P&gt;&lt;PRE&gt;.	1
.	1
.	1
.	1
.	1
.	0.9
.	0.8
.	0.7
.	0.5
10	1
11	1
12	1
13	1
14	1
15	1
16	0.9
17	0.8
18	0.7
19	0.5
20	1&lt;/PRE&gt;&lt;P&gt;What am I missing?&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2023 09:52:48 GMT</pubDate>
    <dc:creator>IgorR</dc:creator>
    <dc:date>2023-08-06T09:52:48Z</dc:date>
    <item>
      <title>Data input Statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888054#M39409</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to create a table with data. where the first column must be numerical(integer) and second column must be float number.&lt;/P&gt;&lt;P&gt;The following code does it except first 9 rows where int number is less then 10.&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;DATA Lapse_Multipliers;
  input Years 1-2 Lapse_Multipliers 3-6;
  DATALINES;
1	1
2	1
3	1
4	1
5	1
6	0.9
7	0.8
8	0.7
9	0.5
10	1
11	1
12	1
13	1
14	1
15	1
16	0.9
17	0.8
18	0.7
19	0.5
20	1
;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It returns:&lt;/P&gt;&lt;PRE&gt;.	1
.	1
.	1
.	1
.	1
.	0.9
.	0.8
.	0.7
.	0.5
10	1
11	1
12	1
13	1
14	1
15	1
16	0.9
17	0.8
18	0.7
19	0.5
20	1&lt;/PRE&gt;&lt;P&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 09:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888054#M39409</guid>
      <dc:creator>IgorR</dc:creator>
      <dc:date>2023-08-06T09:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data input Statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888055#M39410</link>
      <description>&lt;P&gt;Do not use tabs in DATALINES blocks, unless you want to use them explicitly as delimiters, in which case your code should be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data lapse_multipliers;
infile datalines dlm="09"x dsd;
input Years Lapse_Multipliers;
datalines;
1	1&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Aug 2023 11:05:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888055#M39410</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-06T11:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data input Statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888058#M39413</link>
      <description>Thank you!&lt;BR /&gt;Now it works.&lt;BR /&gt;The data in datalines comes with Tabs because I'm copy-pasting the data from excel file.</description>
      <pubDate>Sun, 06 Aug 2023 11:36:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888058#M39413</guid>
      <dc:creator>IgorR</dc:creator>
      <dc:date>2023-08-06T11:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data input Statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888063#M39415</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446395"&gt;@IgorR&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you!&lt;BR /&gt;Now it works.&lt;BR /&gt;The data in datalines comes with Tabs because I'm copy-pasting the data from excel file.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You must be stuck with using SAS/Studio interface instead of Display Manager.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Display Manager you are protected from the tabs that accidentally get into your code because when you SUBMIT the code any tabs are replaced by the appropriate number of spaces to move to the next tab stop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that SAS let's you fix this by changing your preferences settings so that spaces are substituted for tabs.&amp;nbsp; So when typing you can still hit the TAB key to indent code, but without the complication of having actual '09'x characters hiding in your code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1691328565210.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86485i51D6C6A633387A9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tom_0-1691328565210.png" alt="Tom_0-1691328565210.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 13:29:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Data-input-Statement/m-p/888063#M39415</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-08-06T13:29:36Z</dc:date>
    </item>
  </channel>
</rss>

