<?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 to convert variables which can handle both numeric and character data? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691461#M210465</link>
    <description>I have mentioned those variables in message. I want only those variables&lt;BR /&gt;can read both numeric and character data. Do you know any formats which can&lt;BR /&gt;Achieve that?&lt;BR /&gt;</description>
    <pubDate>Wed, 14 Oct 2020 05:54:06 GMT</pubDate>
    <dc:creator>Rakesh93</dc:creator>
    <dc:date>2020-10-14T05:54:06Z</dc:date>
    <item>
      <title>How to convert variables which can handle both numeric and character data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691454#M210460</link>
      <description>I have a lab dataset in which LBSTNRHI, LBSTNRLO, LBREFID , LBSTNRHI_US, LBSTNRLO_US are there. I want to convert these variable so that they could handle both character data type as well as numeric data type. Kindly share your answers with programming code. &lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Wed, 14 Oct 2020 05:40:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691454#M210460</guid>
      <dc:creator>Rakesh93</dc:creator>
      <dc:date>2020-10-14T05:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert variables which can handle both numeric and character data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691458#M210463</link>
      <description>&lt;P&gt;Only SAS character variables can store both character and numeric data. Use PROC CONTENTS to confirm if your variables are either character or numeric:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data = MyLib.MyTable;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Oct 2020 05:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691458#M210463</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-10-14T05:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert variables which can handle both numeric and character data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691461#M210465</link>
      <description>I have mentioned those variables in message. I want only those variables&lt;BR /&gt;can read both numeric and character data. Do you know any formats which can&lt;BR /&gt;Achieve that?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Oct 2020 05:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691461#M210465</guid>
      <dc:creator>Rakesh93</dc:creator>
      <dc:date>2020-10-14T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert variables which can handle both numeric and character data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691462#M210466</link>
      <description>&lt;P&gt;If LBSTNRHI, LBSTNRLO, LBREFID , LBSTNRHI_US, LBSTNRLO_US are character variables then they can store both character and numeric data. Use PROC CONTENTS as I showed you to confirm if they are character or not.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 06:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-variables-which-can-handle-both-numeric-and/m-p/691462#M210466</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-10-14T06:37:33Z</dc:date>
    </item>
  </channel>
</rss>

