<?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 use RWI with ODS DOCUMENT to create a PDF report? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/547169#M22592</link>
    <description>&lt;P&gt;Thank You anyway...&lt;/P&gt;&lt;P&gt;I wrote an email to the referee for the RWI and I got the answer: as a matter of fact, RWI cannot be used with proc document&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2019 12:42:47 GMT</pubDate>
    <dc:creator>maxpgn</dc:creator>
    <dc:date>2019-03-29T12:42:47Z</dc:date>
    <item>
      <title>How to use RWI with ODS DOCUMENT to create a PDF report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/533861#M22350</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I hope you can help me with a problem i can't figure out. I need to create a PDF report in SAS 9.4. The report includes just one table, with a very complex header, so I used RWI (data _NULL_) to create it.&lt;/P&gt;&lt;P&gt;Now I need to replicate the table on another PDF report, so I thought it would have been a good idea to save the table as an ODS DOCUMENT so to use PROC DOCUMENT/REPLAY to insert the table on both reports.&lt;/P&gt;&lt;P&gt;Unfortunately, when I try to load the ODS DOCUMENT, I get an empty PDF. It seems that output created via the RWI cannot be saved as on ODS DOCUMENT.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a simplified version of my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Program number 1: to create the ODS DOCUMENT object M05_tab;&lt;/P&gt;&lt;P&gt;ODS _all_ CLOSE;&lt;/P&gt;&lt;P&gt;ods document name=DOCUMS.M05_TAB(WRITE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _NULL_;&lt;BR /&gt;&amp;nbsp; set work.M05_DATI_REP end=done;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _n_ eq 1 then do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; declare odsout t();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.table_start();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.head_start();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.row_start();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.format_cell(...);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t.format_cell(...);&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods document close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*program number 2: to use the ODS DOCUMENT Object;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;ods pdf file="filename.pdf" style=SasWeb Startpage = off NOTOC;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods layout gridded columns=1;&lt;/P&gt;&lt;P&gt;PROC DOCUMENT NAME=DOCUMS.M05_TAB;&lt;BR /&gt;REPLAY;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;ODS LAYOUT END;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You very much for your time and help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 08:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/533861#M22350</guid>
      <dc:creator>maxpgn</dc:creator>
      <dc:date>2019-02-08T08:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RWI with ODS DOCUMENT to create a PDF report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/533970#M22353</link>
      <description>Hi:&lt;BR /&gt;  You might want to ask your question of Tech Support. If RWI isn't supported by ODS DOCUMENT now, they may know of a workaround.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 08 Feb 2019 15:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/533970#M22353</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-02-08T15:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RWI with ODS DOCUMENT to create a PDF report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/533980#M22354</link>
      <description>Hi and thank you for answering. But is it possible that rwi is not supported by ods document? I read that it can be thought as another destination like pdf, html and so on.....</description>
      <pubDate>Fri, 08 Feb 2019 15:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/533980#M22354</guid>
      <dc:creator>maxpgn</dc:creator>
      <dc:date>2019-02-08T15:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RWI with ODS DOCUMENT to create a PDF report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/534019#M22355</link>
      <description>Hi:&lt;BR /&gt;  I do not know the definitive answer. When I try to use the RWI with ODS DOCUMENT, I do not get any error messages in the log but I also do not get any objects in the document store. I think that Tech Support can provide you with the definitive answer. I would have expected a NOTE or ERROR message in the log.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 08 Feb 2019 17:52:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/534019#M22355</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-02-08T17:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RWI with ODS DOCUMENT to create a PDF report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/547169#M22592</link>
      <description>&lt;P&gt;Thank You anyway...&lt;/P&gt;&lt;P&gt;I wrote an email to the referee for the RWI and I got the answer: as a matter of fact, RWI cannot be used with proc document&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 12:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-use-RWI-with-ODS-DOCUMENT-to-create-a-PDF-report/m-p/547169#M22592</guid>
      <dc:creator>maxpgn</dc:creator>
      <dc:date>2019-03-29T12:42:47Z</dc:date>
    </item>
  </channel>
</rss>

