<?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: how do we separate numeric variables and character variables from a dataset to other two dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408468#M99730</link>
    <description>I can't imagine any reason to do this, except for using proc iml.&lt;BR /&gt;&lt;BR /&gt;Untested code:&lt;BR /&gt;data onlyChar(keep= _character_) onlyNum(keep= _numeric_) ;&lt;BR /&gt;set have;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Not sure that _character_ and _numeric_ can be used in this place. If not you have to query sashelp.vcolumn twice and create two macro-variables containing the variable names. Something like&lt;BR /&gt;proc sql noprint ;&lt;BR /&gt;  select name into :charity separated by " "&lt;BR /&gt;  from sashelp.vcolumn &lt;BR /&gt;  where memname = upcase("want") and type = "num" ;&lt;BR /&gt;Quit;&lt;BR /&gt;&lt;BR /&gt;I am sure you figure out the second select by yourself.</description>
    <pubDate>Mon, 30 Oct 2017 04:54:34 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2017-10-30T04:54:34Z</dc:date>
    <item>
      <title>how do we separate numeric variables and character variables from a dataset to other two datasets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408464#M99727</link>
      <description>&lt;P&gt;How do we separate numeric variables and charcter variables from a dataset to other tow dataset one with numeric and one with character variables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 04:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408464#M99727</guid>
      <dc:creator>rajeshalwayswel</dc:creator>
      <dc:date>2017-10-30T04:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: how do we separate numeric variables and character variables from a dataset to other two dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408468#M99730</link>
      <description>I can't imagine any reason to do this, except for using proc iml.&lt;BR /&gt;&lt;BR /&gt;Untested code:&lt;BR /&gt;data onlyChar(keep= _character_) onlyNum(keep= _numeric_) ;&lt;BR /&gt;set have;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Not sure that _character_ and _numeric_ can be used in this place. If not you have to query sashelp.vcolumn twice and create two macro-variables containing the variable names. Something like&lt;BR /&gt;proc sql noprint ;&lt;BR /&gt;  select name into :charity separated by " "&lt;BR /&gt;  from sashelp.vcolumn &lt;BR /&gt;  where memname = upcase("want") and type = "num" ;&lt;BR /&gt;Quit;&lt;BR /&gt;&lt;BR /&gt;I am sure you figure out the second select by yourself.</description>
      <pubDate>Mon, 30 Oct 2017 04:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408468#M99730</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2017-10-30T04:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: how do we separate numeric variables and character variables from a dataset to other two dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408481#M99735</link>
      <description>&lt;P&gt;Thank's...&amp;nbsp; you written in data step it really helpful.....&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 05:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-we-separate-numeric-variables-and-character-variables/m-p/408481#M99735</guid>
      <dc:creator>rajeshalwayswel</dc:creator>
      <dc:date>2017-10-30T05:28:11Z</dc:date>
    </item>
  </channel>
</rss>

