<?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 data format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866694#M342288</link>
    <description>&lt;P&gt;what is s370fpd8.7 format, I read the documentation but not getting it&lt;/P&gt;
&lt;P&gt;in my data I am getting 2 decimal points but not sure what the informats had done any rounding truncating in reading the data as I dont have the source text file..&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 08:34:14 GMT</pubDate>
    <dc:creator>HeatherNewton</dc:creator>
    <dc:date>2023-03-28T08:34:14Z</dc:date>
    <item>
      <title>data format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866694#M342288</link>
      <description>&lt;P&gt;what is s370fpd8.7 format, I read the documentation but not getting it&lt;/P&gt;
&lt;P&gt;in my data I am getting 2 decimal points but not sure what the informats had done any rounding truncating in reading the data as I dont have the source text file..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:34:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866694#M342288</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2023-03-28T08:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: data format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866696#M342290</link>
      <description>&lt;P&gt;A packed decimal format is a format consisting of hexadecimal numbers, e.g. "132431"x -&amp;gt; 132431. The format was used quite a lot in the older days, when the time it took to convert a number from hexadecimal to decimal representation actually mattered. If you are not on the mainframe, your input variable may not look like pure numbers, as mainframe data are in EBCDIC, not ASCII representation. Also, there is a sign (at the end if I remember correctly, which will look something like a hexadecimal "C" or "F").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you read data with the&amp;nbsp;&lt;SPAN&gt;s370fpd8.7 informat, SAS reads 8 bytes, which are translated to 15 digits and a sign, the last 7 digits are considered to be decimals. When you get 2 decimals on the output, it is either because the last 5 digits in all numbers are zeros, or because your SAS program has put a format, e.g. 15.2 on the output variable.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 09:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866696#M342290</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2023-03-28T09:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: data format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866704#M342294</link>
      <description>&lt;P&gt;Just to give you some background: this method is called BCD, for Binary Coded Decimal. Each nibble (4 bits) holds a decimal digit, can easily be used in binary calculations, but is still simply readable by humans when displayed in hex formatting (which IBM mainframe file viewers usually do). And space consumption is half of what you need when every byte (8 bits) holds a digit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the S370xxxx formats and informats are designed to handle numeric data originating from (or being sent to) IBM mainframes.&lt;/P&gt;
&lt;P&gt;Similarly, the $EBCDIC character (in)formats encode/decode text being used on mainframes.&lt;/P&gt;
&lt;P&gt;EBCDIC stands for Extended Binary Coded Decimal Interchange Code.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 11:21:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-format/m-p/866704#M342294</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-28T11:21:25Z</dc:date>
    </item>
  </channel>
</rss>

