<?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 SAS Report destination for batch? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273041#M15949</link>
    <description>&lt;P&gt;Hi, I know that the default output style for EG is SAS Report and the code works fine. But when I run the same code in batch (Linux), it's failing with a message of :&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: The width of InstanceName is not between 1 and 115. Adjust the column width or line size.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;NOTE: This affects LISTING output.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the ODS destination of DOCUMENT the same as EGs' SAS Report? &amp;nbsp;If not, what do I use to mimic what EG is doing? I don't need the style to be LISTING.&lt;/P&gt;
&lt;P&gt;TIA!&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2016 14:59:37 GMT</pubDate>
    <dc:creator>mbuchecker</dc:creator>
    <dc:date>2016-05-25T14:59:37Z</dc:date>
    <item>
      <title>SAS Report destination for batch?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273041#M15949</link>
      <description>&lt;P&gt;Hi, I know that the default output style for EG is SAS Report and the code works fine. But when I run the same code in batch (Linux), it's failing with a message of :&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ERROR: The width of InstanceName is not between 1 and 115. Adjust the column width or line size.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;NOTE: This affects LISTING output.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the ODS destination of DOCUMENT the same as EGs' SAS Report? &amp;nbsp;If not, what do I use to mimic what EG is doing? I don't need the style to be LISTING.&lt;/P&gt;
&lt;P&gt;TIA!&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 14:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273041#M15949</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2016-05-25T14:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Report destination for batch?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273162#M15954</link>
      <description>The DOCUMENT destination is NOT the same as SASReport in EG. SASReport is an XML output and the DOCUMENT destination is a binary item store that stores your output objects so they can be "replayed" to other ODS destinations.&lt;BR /&gt;&lt;BR /&gt;You could try ODS LISTING CLOSE; before your code in Linux. Are you trying to create SASReport XML (.SRX) file in Linux in batch? Or are you creating another file type. &lt;BR /&gt;&lt;BR /&gt;I believe that message usually appears when &lt;BR /&gt;1) the LISTING destination is open (as it would be in batch) and &lt;BR /&gt;2) the calculated value needed for the line size of the report in LISTING exceeds the value of the LINESIZE system option.&lt;BR /&gt;&lt;BR /&gt;  Here's a paper &lt;A href="https://support.sas.com/resources/papers/sgf09/318-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/sgf09/318-2009.pdf&lt;/A&gt; about using ODS DOCUMENT and PROC DOCUMENT to "replay" output -- as you can see on page 13/14 the PROC DOCUMENT "replay" has to be within an ODS "sandwich".&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 25 May 2016 23:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273162#M15954</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-05-25T23:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Report destination for batch?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273371#M15955</link>
      <description>&lt;P&gt;Thanks Cynthia. I knew SASReport was XML, but knew nothing about DOCUMENT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Closing the LISTING and&amp;nbsp;using ODS EXCEL did the trick.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 19:27:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Report-destination-for-batch/m-p/273371#M15955</guid>
      <dc:creator>mbuchecker</dc:creator>
      <dc:date>2016-05-26T19:27:47Z</dc:date>
    </item>
  </channel>
</rss>

