<?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 packed decimal to text ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81632#M17607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tom &lt;/P&gt;&lt;P&gt;That is what I intended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OHt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also some very useful papers on the support.sas.com website on the topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2012 17:24:39 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2012-04-13T17:24:39Z</dc:date>
    <item>
      <title>How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81625#M17600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have ftp a file that contains paked decimal from Mainframe(MVS- no SAS) to unix using 'EXEC PGM=FTP'. Is there any way to convert the packed decimal to numeric or char in Unix ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 16:45:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81625#M17600</guid>
      <dc:creator>oht</dc:creator>
      <dc:date>2012-04-12T16:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81626#M17601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's probably relatively easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a few examples of what the data look like after being transferred (hex codes, please), and what values they should become?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 18:26:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81626#M17601</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-04-12T18:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81627#M17602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just make sure to move the file as BINARY and not ASCII with FTP.&lt;/P&gt;&lt;P&gt;Then you should be able to read it with SAS using PD informat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 18:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81627#M17602</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-04-12T18:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81628#M17603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We did try to ftp in binary format and then use the SAS PD to read in the data. However, the pack decimal vaules all become missing.values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We finally able to convert the pd to flat file with COBALT and then FTP and it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom,Astounding, really thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 19:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81628#M17603</guid>
      <dc:creator>oht</dc:creator>
      <dc:date>2012-04-12T19:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81629#M17604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For future reference, PD OFF-mvs is not the same as PD ON-mvs&lt;/P&gt;&lt;P&gt;To read data in binary mvs PD format use the informat S370FPD.&lt;/P&gt;&lt;P&gt;There are several of these S370Fxxx formats designed to help with the task of reading ebcdic data (as well as $ebcdic itself)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not S3270FPD ( 3270 is an IBM terminal data ) Message was edited by: Peter Crawford&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 19:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81629#M17604</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-04-12T19:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81630#M17605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Peter, I am sorry I get confused with 'PD OFF-mvs is not the same as PD ON-mvs'&amp;nbsp; ? Do you mean I can read in the MVS PD data in unix using informat S370FPD if the file was FTP in binary ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 11:43:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81630#M17605</guid>
      <dc:creator>oht</dc:creator>
      <dc:date>2012-04-13T11:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81631#M17606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what he meant.&amp;nbsp; There are a number of useful formats/informats that should allow you to both read and write data that can be moved to/from IBM mainframe.&amp;nbsp;&amp;nbsp; For example I was just using the S370FIB to write binary integers with the byte order in the direction I wanted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 13:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81631#M17606</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-04-13T13:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert packed decimal to text ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81632#M17607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tom &lt;/P&gt;&lt;P&gt;That is what I intended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OHt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also some very useful papers on the support.sas.com website on the topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 17:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-packed-decimal-to-text/m-p/81632#M17607</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-04-13T17:24:39Z</dc:date>
    </item>
  </channel>
</rss>

