<?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: report program, log and output windows in one file, in pdf format when best in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70277#M8065</link>
    <description>Suggestion: consolidate your post here - usually not necessary to post in multiple forums, as most subscribers and other audience read them all.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=11060&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=11060&amp;amp;tstart=0&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Mon, 06 Sep 2010 20:04:15 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-09-06T20:04:15Z</dc:date>
    <item>
      <title>report program, log and output windows in one file, in pdf format when best</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70276#M8064</link>
      <description>I need to routinely generate a pdf file containing the program, log file, and output results.  I am currently copy and past all of those in word and generate a pdf there.  This is boring and tiring.  I am wondering is someone has already had the code to automate it?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Mon, 06 Sep 2010 17:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70276#M8064</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-06T17:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: report program, log and output windows in one file, in pdf format when best</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70277#M8065</link>
      <description>Suggestion: consolidate your post here - usually not necessary to post in multiple forums, as most subscribers and other audience read them all.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?threadID=11060&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=11060&amp;amp;tstart=0&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 06 Sep 2010 20:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70277#M8065</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-09-06T20:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: report program, log and output windows in one file, in pdf format when best</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70278#M8066</link>
      <description>Hi:&lt;BR /&gt;
  PDF format is a proprietary format -- meant to be opened with Adobe Acrobat Reader and meant to be created from either an Adobe product or a software application like SAS (ODS PDF).&lt;BR /&gt;
 &lt;BR /&gt;
  ODS PDF will easily take your REPORT output or outputs (what would normally go to the LISTING window) and put it into a PDF file. However, due to the nature of PDF files, you cannot use SAS to combine 2 PDF files together. So, if you have REPORT1.PDF and REPORT2.PDF, you could not use SAS to combine them into 1 new PDF. That's because Adobe has file start and file end control commands in each file that make their combining with SAS virtually impossible to do.&lt;BR /&gt;
 &lt;BR /&gt;
  However, with an Adobe product, you could combine REPORT1.PDF and REPORT2.PDF together.&lt;BR /&gt;
 &lt;BR /&gt;
  The SAS program (.SAS) and the SAS log file (.LOG) (when saved to an external file) are just ASCII text files. There is no direct way to convert a program file or a log file to PDF format. However, you CAN read a .SAS or .LOG file into a SAS dataset and then, once in dataset format, you can write the file back out to ODS PDF form.  The reason I mentioned about REPORT1.PDF and REPORT2.PDF up above, however, is the relevant point here. You would need for your program to be "finished" before you could grab your .LOG file -- so that means the while it is theoretically possible to have the report and .SAS file in one PDF file, your .LOG file would be in a second PDF file and you could not combine the two PDF files together with SAS -- you'd have to use either an Adobe product or a 3rd party product to combine the files together. So, if you were going to use an Adobe product or a 3rd party product, you might as well just create your report with ODS PDF and then use the 3rd party product to create 1 file of the .LOG and .SAS files along with the report PDF. &lt;BR /&gt;
 &lt;BR /&gt;
There have been several previous forum postings about printing the log to either RTF or PDF (or HTML) and/or printing the program to PDF. A search with the forum search facility should help you find those previous posts.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 06 Sep 2010 20:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70278#M8066</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-06T20:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: report program, log and output windows in one file, in pdf format when best</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70279#M8067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is any direct way because sas generates a ascii file.&lt;/P&gt;&lt;P&gt;But once its there you can combine them using ODS PDF --&amp;gt; Data step to import those log files --&amp;gt; Proc print to a pdf file!! &lt;A __jive_macro_name="tag" class="jive_macro jive_macro_tag" data-objecttype="null" href="https://communities.sas.com/" tag="simple"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 03:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/report-program-log-and-output-windows-in-one-file-in-pdf-format/m-p/70279#M8067</guid>
      <dc:creator>Dreamer</dc:creator>
      <dc:date>2014-10-02T03:58:20Z</dc:date>
    </item>
  </channel>
</rss>

