<?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: Input data inside data step in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59430#M12876</link>
    <description>Thank you for the note. The missing period is the problem. After I used '$30.', it worked!&lt;BR /&gt;
&lt;BR /&gt;
-FD</description>
    <pubDate>Mon, 02 Aug 2010 18:52:56 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-08-02T18:52:56Z</dc:date>
    <item>
      <title>Input data inside data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59428#M12874</link>
      <description>I need to read in some data within a data step. If I use $30, then the results are blank. If I just use $ for ds_name, then only the first 8 characters are read. The data is one record per line. What else should I do? I am using SAS8.2&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
-FD&lt;BR /&gt;
data test;&lt;BR /&gt;
 input ds_name $30 ;&lt;BR /&gt;
 datalines;&lt;BR /&gt;
prestudy&lt;BR /&gt;
qs160009&lt;BR /&gt;
suppqs160009&lt;BR /&gt;
qs160012&lt;BR /&gt;
suppqs160012&lt;BR /&gt;
qs160014&lt;BR /&gt;
suppqs160014&lt;BR /&gt;
qs160016&lt;BR /&gt;
suppqs160016&lt;BR /&gt;
qs160018&lt;BR /&gt;
suppqs160018&lt;BR /&gt;
qs160019;&lt;BR /&gt;
run;</description>
      <pubDate>Mon, 02 Aug 2010 17:53:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59428#M12874</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-02T17:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Input data inside data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59429#M12875</link>
      <description>Your use of the INFORMAT $30 is incorrect - it requires a trailing period.&lt;BR /&gt;
&lt;BR /&gt;
Also, suggest you work to get up to a more current, supported SAS version as soon as possible.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 02 Aug 2010 17:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59429#M12875</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-02T17:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Input data inside data step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59430#M12876</link>
      <description>Thank you for the note. The missing period is the problem. After I used '$30.', it worked!&lt;BR /&gt;
&lt;BR /&gt;
-FD</description>
      <pubDate>Mon, 02 Aug 2010 18:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-data-inside-data-step/m-p/59430#M12876</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-02T18:52:56Z</dc:date>
    </item>
  </channel>
</rss>

