<?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: Reading PD format data in the input satment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-PD-format-data-in-the-input-satment/m-p/225923#M40606</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you saying that you were able to read the value with PDx but wanted to display it afterwards with Zw.d? &amp;nbsp;You can't read the data with z8, since that's a format, not an informat, and you have to use informats to read data. Can you show an example of the data? &amp;nbsp;Seems unusual that your source values would be in IBM packed decimal format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a list of informats:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001239776.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001239776.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2015 19:21:21 GMT</pubDate>
    <dc:creator>evp000</dc:creator>
    <dc:date>2015-09-16T19:21:21Z</dc:date>
    <item>
      <title>Reading PD format data in the input satment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-PD-format-data-in-the-input-satment/m-p/225658#M40527</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am having the below program where COMP-3 fields are using PD formats.&lt;BR /&gt;I was trying to read the file having PD formats, using z8. for PD4. and z13.2 for PD6.2.&lt;BR /&gt;But getting invalid values when I use Zw.d formats for the PD's.&lt;/P&gt;
&lt;P&gt;Could anyone suggest which format I need to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA &lt;BR /&gt; TEMP_01 &lt;BR /&gt; ; &lt;BR /&gt; &lt;BR /&gt; INFILE &lt;BR /&gt; MRCUST &lt;BR /&gt; ; &lt;BR /&gt; &lt;BR /&gt; INPUT &lt;BR /&gt; @1 CUSTNUM $CHAR9. &lt;BR /&gt; @10 RNUM $CHAR9. &lt;BR /&gt; @19 RNUMCI $CHAR1. &lt;BR /&gt; @20 RCC $CHAR14. &lt;BR /&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8008"&gt;@22&lt;/a&gt; RCCSC $CHAR2. &lt;BR /&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8008"&gt;@22&lt;/a&gt; RCCPT $CHAR5. &lt;BR /&gt; @34 U_CR PD4. &lt;BR /&gt; @38 U_MTD PD4. &lt;BR /&gt; @42 U_QTD PD4. &lt;BR /&gt; @46 U_YTD PD4. &lt;BR /&gt; @50 U_L12 PD4. &lt;BR /&gt; @54 U_LY PD4. &lt;BR /&gt; @58 R_CR PD6.2 &lt;BR /&gt; @64 R_MTD PD6.2 &lt;BR /&gt; @70 R_QTD PD6.2 &lt;BR /&gt; @76 R_YTD PD6.2 &lt;BR /&gt; @82 R_L12 PD6.2 &lt;BR /&gt; @88 R_LY PD6.2&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sid&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 17:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-PD-format-data-in-the-input-satment/m-p/225658#M40527</guid>
      <dc:creator>Siddhartha</dc:creator>
      <dc:date>2015-09-15T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reading PD format data in the input satment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-PD-format-data-in-the-input-satment/m-p/225923#M40606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you saying that you were able to read the value with PDx but wanted to display it afterwards with Zw.d? &amp;nbsp;You can't read the data with z8, since that's a format, not an informat, and you have to use informats to read data. Can you show an example of the data? &amp;nbsp;Seems unusual that your source values would be in IBM packed decimal format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a list of informats:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001239776.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a001239776.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 19:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-PD-format-data-in-the-input-satment/m-p/225923#M40606</guid>
      <dc:creator>evp000</dc:creator>
      <dc:date>2015-09-16T19:21:21Z</dc:date>
    </item>
  </channel>
</rss>

