<?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: problem with Zw.d format while moving from SAS V9.1.3 to SAS V9.2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/problem-with-Zw-d-format-while-moving-from-SAS-V9-1-3-to-SAS-V9/m-p/70447#M15248</link>
    <description>You claim that PGM2 writes an external file but you fail to share the PUT logic used.  Also, without seeing at least sample/representative data to demonstrate what you data might look like is limiting constructive info / feedback, in my opinion.&lt;BR /&gt;
&lt;BR /&gt;
One option is to go directly to SAS Tech Support with all your detailed information, logs, data-sample, and open a track / issue to report your problem symptom.  Otherwise, I would recommend you create an instream DATALINES; example that demonstrates what data you have difficulty with, and provide exact SAS logs with PUTLOG _ALL_;   and LIST;   command type supporting information, for the forum subscribers (and lurkers equally important).&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Fri, 27 May 2011 13:41:06 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2011-05-27T13:41:06Z</dc:date>
    <item>
      <title>problem with Zw.d format while moving from SAS V9.1.3 to SAS V9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-Zw-d-format-while-moving-from-SAS-V9-1-3-to-SAS-V9/m-p/70446#M15247</link>
      <description>Hello All,&lt;BR /&gt;
I use base sas in a Z/OS environment.&lt;BR /&gt;
&lt;BR /&gt;
We have an existing code running without problems in production environment running on SAS V9.1.3 as shown below&lt;BR /&gt;
&lt;BR /&gt;
SAS PGM1 writes data to an external mainframe flat file in the below format.&lt;BR /&gt;
PUT @1   PARTNO          $CHAR18.&lt;BR /&gt;
- - -&lt;BR /&gt;
@52  PKGQTY          Z5.  &lt;BR /&gt;
@57  NET             Z16.2&lt;BR /&gt;
@73  LIST            Z16.2&lt;BR /&gt;
@89  EXCH_NET         16.2&lt;BR /&gt;
@105 EXCH_LST         16.2&lt;BR /&gt;
@121 RET_CR_NET       16.2&lt;BR /&gt;
@137 RET_CR_LST       16.2&lt;BR /&gt;
- - -&lt;BR /&gt;
@163 PER_100         $CHAR01.&lt;BR /&gt;
@164 WEIGHT          Z10.4   &lt;BR /&gt;
@174 LRGDIM          Z9.3    &lt;BR /&gt;
@183 MEDDIM          Z9.3    &lt;BR /&gt;
@192 SMLDIM          Z9.3    &lt;BR /&gt;
@201 PACTU           $CHAR04.&lt;BR /&gt;
- - -&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
SAS PGM2 reads the same file using below informat&lt;BR /&gt;
INPUT @1   PARTNO          $CHAR18.&lt;BR /&gt;
---&lt;BR /&gt;
@52  PKGQTY           5.  &lt;BR /&gt;
@57  NET              16.2&lt;BR /&gt;
@73  LIST             16.2&lt;BR /&gt;
@89  EXCH_NET         16.2&lt;BR /&gt;
@105 EXCH_LST         16.2&lt;BR /&gt;
@121 RET_CR_NET       16.2&lt;BR /&gt;
@137 RET_CR_LST       16.2&lt;BR /&gt;
---&lt;BR /&gt;
@163 PER_100         $CHAR01.&lt;BR /&gt;
@164 WEIGHT           10.4   &lt;BR /&gt;
@174 LRGDIM           9.3    &lt;BR /&gt;
@183 MEDDIM           9.3    &lt;BR /&gt;
@192 SMLDIM           9.3    &lt;BR /&gt;
@201 PACTU           $CHAR04.&lt;BR /&gt;
---&lt;BR /&gt;
;&lt;BR /&gt;
after some processing PGM2 writes the data to another external file in the same format that PGM1 had written to external file.&lt;BR /&gt;
&lt;BR /&gt;
Now we we run the same code in our test environment that runs on SAS V9.2 , PGM2 is failing to write the data to external file in the format specified. the field values are not getting written in proper positions.&lt;BR /&gt;
&lt;BR /&gt;
The input file used in both production and test environment was the same.&lt;BR /&gt;
&lt;BR /&gt;
I am getting the below note in sas spool &lt;BR /&gt;
&lt;I&gt;&lt;B&gt;NOTE: There were 42477 observations read from the data set WORK.PRFILE. &lt;BR /&gt;
NOTE: At least one W.D format was too small for the number to be printed.The decimal may be shifted by the "BEST" format&lt;/B&gt;.&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
Can anybody help me understand what is going wrong ?</description>
      <pubDate>Fri, 27 May 2011 05:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-Zw-d-format-while-moving-from-SAS-V9-1-3-to-SAS-V9/m-p/70446#M15247</guid>
      <dc:creator>saroj</dc:creator>
      <dc:date>2011-05-27T05:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem with Zw.d format while moving from SAS V9.1.3 to SAS V9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problem-with-Zw-d-format-while-moving-from-SAS-V9-1-3-to-SAS-V9/m-p/70447#M15248</link>
      <description>You claim that PGM2 writes an external file but you fail to share the PUT logic used.  Also, without seeing at least sample/representative data to demonstrate what you data might look like is limiting constructive info / feedback, in my opinion.&lt;BR /&gt;
&lt;BR /&gt;
One option is to go directly to SAS Tech Support with all your detailed information, logs, data-sample, and open a track / issue to report your problem symptom.  Otherwise, I would recommend you create an instream DATALINES; example that demonstrates what data you have difficulty with, and provide exact SAS logs with PUTLOG _ALL_;   and LIST;   command type supporting information, for the forum subscribers (and lurkers equally important).&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 27 May 2011 13:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problem-with-Zw-d-format-while-moving-from-SAS-V9-1-3-to-SAS-V9/m-p/70447#M15248</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-05-27T13:41:06Z</dc:date>
    </item>
  </channel>
</rss>

