<?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 character value to binary value  and assign to another  binary value using data s in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295673#M61814</link>
    <description>&lt;P&gt;I found a similar thread in sas commnities, hope this answers your query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Convert-character-variable-into-numeric-binary-variables-for/td-p/134503" target="_self"&gt;https://communities.sas.com/t5/General-SAS-Programming/Convert-character-variable-into-numeric-binary-variables-for/td-p/134503&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2016 01:59:14 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2016-09-01T01:59:14Z</dc:date>
    <item>
      <title>How to convert character value to binary value  and assign to another  binary value using data step?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295672#M61813</link>
      <description>&lt;P&gt;&lt;BR /&gt;My_table has two fields, one is defined as [c_array] char(20), with values like ‘123456781ABCD234’. Another field is defined as [b_array] binary(8). The task is to convert value of c_array into binary and assign it to b_array.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 01:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295672#M61813</guid>
      <dc:creator>Defense</dc:creator>
      <dc:date>2016-09-01T01:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert character value to binary value  and assign to another  binary value using data s</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295673#M61814</link>
      <description>&lt;P&gt;I found a similar thread in sas commnities, hope this answers your query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/Convert-character-variable-into-numeric-binary-variables-for/td-p/134503" target="_self"&gt;https://communities.sas.com/t5/General-SAS-Programming/Convert-character-variable-into-numeric-binary-variables-for/td-p/134503&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 01:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295673#M61814</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-09-01T01:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert character value to binary value  and assign to another  binary value using data s</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295681#M61818</link>
      <description>&lt;P&gt;Beware of truncation. 20 hexadecimal numbers will require at least 80 bits of binary storage.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 02:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295681#M61818</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-01T02:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert character value to binary value  and assign to another  binary value using data s</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295838#M61863</link>
      <description>&lt;P&gt;&amp;nbsp;Are you doing a hex to binary conversion like &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats﻿&lt;/a&gt;&amp;nbsp;suggested, or a char to binary conversion? If hex-binary, given the length is 20, you may need to&amp;nbsp;read it in as hex one&amp;nbsp;digit at a time, and spit it out as binary,&amp;nbsp;then&amp;nbsp;concatenate them together to the length of 80.&amp;nbsp;&amp;nbsp;If char-binary, there is a format $binaryw. you may need to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take a look at format/informat $binaryw and binaryw.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 14:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-character-value-to-binary-value-and-assign-to/m-p/295838#M61863</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2016-09-01T14:06:31Z</dc:date>
    </item>
  </channel>
</rss>

