<?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: NewBee help in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3351#M1458</link>
    <description>the first &lt;B&gt;put&lt;/B&gt; (that you are using to convert to a numeric) should be &lt;B&gt;input&lt;/B&gt;.</description>
    <pubDate>Thu, 07 Jun 2007 21:16:00 GMT</pubDate>
    <dc:creator>DouglasMartin</dc:creator>
    <dc:date>2007-06-07T21:16:00Z</dc:date>
    <item>
      <title>NewBee help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3347#M1454</link>
      <description>hey i am a newbee in SAS...and i need a lot of help. could amyone please tell me how to modify permanent data sets in programs?&lt;BR /&gt;
thnx</description>
      <pubDate>Wed, 06 Jun 2007 13:06:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3347#M1454</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-06T13:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: NewBee help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3348#M1455</link>
      <description>Usually you use a datastep, which could look something like:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data MyLibrary.MyPermanentSASDataset; set MyLibrary.MyPermanentSASDataset;&lt;BR /&gt;
  * Place your modifications here, e.g.;&lt;BR /&gt;
  var2 = var1 * 2; &lt;BR /&gt;
run;</description>
      <pubDate>Wed, 06 Jun 2007 14:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3348#M1455</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-06T14:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: NewBee help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3349#M1456</link>
      <description>1.HOW do i read a tab separated text file using the DATA command?&lt;BR /&gt;
2.how do i edit a variable's properties of a permanent data set?(meaning changing it from character to numeric or vice versa)&lt;BR /&gt;
3. can i specify the format of the variables in the proc import command?</description>
      <pubDate>Thu, 07 Jun 2007 13:40:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3349#M1456</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-07T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: NewBee help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3350#M1457</link>
      <description>1. You could use something like this:&lt;BR /&gt;
data work.MyDSN;&lt;BR /&gt;
  infile "MyPathToMyRawDatafile\RawDataFile" dlm = '09'x;&lt;BR /&gt;
  input charvar1 $ charvar2 $ numvar1 ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
2. To change the type of a variable you could create a new variable and put the old variable into the new one. If you want you can drop the old variable as well;&lt;BR /&gt;
&lt;BR /&gt;
data MyDSN; set MyDSN;&lt;BR /&gt;
  length numvar_new 8 charvar_new $ 4;&lt;BR /&gt;
  numvar_new = put(charvar_old,1.0);&lt;BR /&gt;
  charvar_new = put(numvar_old,1.0);&lt;BR /&gt;
  * If the old variables are no longer wanted;&lt;BR /&gt;
  drop charvar_old numvar_old;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
3. The SAS Help Documentation does not mention such an option, thus the answer is: no. If you want to use formats you should add a datastep after the proc import in which you specify the formats for each variable OR you use a datastep to import (instead of proc import) and specify there which formats the variables should have.</description>
      <pubDate>Thu, 07 Jun 2007 14:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3350#M1457</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-07T14:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: NewBee help</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3351#M1458</link>
      <description>the first &lt;B&gt;put&lt;/B&gt; (that you are using to convert to a numeric) should be &lt;B&gt;input&lt;/B&gt;.</description>
      <pubDate>Thu, 07 Jun 2007 21:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NewBee-help/m-p/3351#M1458</guid>
      <dc:creator>DouglasMartin</dc:creator>
      <dc:date>2007-06-07T21:16:00Z</dc:date>
    </item>
  </channel>
</rss>

