<?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: Export a WRS Report as a PDF File via Batch in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455468#M2459</link>
    <description>Well that is not the answer I have hoped for but you can't have everything in life I guess &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;Thank you a lot for the time and effort, I will just use the distribution feature in WRS.</description>
    <pubDate>Thu, 19 Apr 2018 04:33:31 GMT</pubDate>
    <dc:creator>Criptic</dc:creator>
    <dc:date>2018-04-19T04:33:31Z</dc:date>
    <item>
      <title>Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/454358#M2455</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let me first describe my situation: I have a report in WRS that is updated on a weekly basis and I need to distribute it as a PDF to our intranet.&lt;/P&gt;
&lt;P&gt;A possible solution of course is to recreate the report in SAS coding and create my own PDF but before I sink time into that I wanted to ask if there is a possibility by using the functionalities that SAS already provides.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I came across this&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=biwaag&amp;amp;docsetTarget=p08wf0d0eyhu96n1dpbab4vw9d3z.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=de" target="_blank"&gt;Processing Reports outside of SAS Web Report Studio&lt;/A&gt;&amp;nbsp;after some searching. So I build myself the following command (I'm on AIX 7.1, SAS 9.4M2, WRS 4.4):&lt;/P&gt;
&lt;P&gt;/sas/sasV9.4_prod/Config/Lev3/ReportBatch/rptbatch.sh --batch --spring-xml-file file:/sas/sasV9.4_prod/Config/Lev3/Applications/SASBIReportServices4.4/spring.xml --username XXX --password&amp;nbsp;XXXXXX --repository Foundation --source "A5441WV5.AY00II9K"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Log in CommandLine:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Reading options from command line.&lt;BR /&gt;Validating options.&lt;BR /&gt;Starting platform services.&lt;BR /&gt;Logging in as user: sas_adm&lt;BR /&gt;Generating output...&lt;BR /&gt;WARN [main] 2018-04-16 08:54:27,412 [unknown:unknown] com.sas.report.render.view.pdf.itext.font.F&lt;BR /&gt;ontMapper - Font "Arial" is not installed.&lt;BR /&gt;WARN [main] 2018-04-16 08:55:02,473 [unknown:unknown] com.sas.report.output.management.batch.BatchDriver - Batch generation succeeded for Report: SBIP://METASERVER/Reports/Berichtsforum/Kraftfahrt/K_Segmente.srx(Report).&lt;BR /&gt;Done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Content of Log-File:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;WARN [main] 2018-04-16 08:54:27,412 [unknown:unknown] com.sas.report.render.view.pdf.itext.font.FontMapper - Font "Arial" is not installed.&lt;BR /&gt;WARN [main] 2018-04-16 08:55:02,473 [unknown:unknown] com.sas.report.output.management.batch.BatchDriver - Batch generation succeeded for Report: SBIP://METASERVER/Reports/Berichtsforum/Kraftfahrt/K_Segmente.srx(Report).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And now I have two questions:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Can I ignore these warnings?&lt;/LI&gt;
&lt;LI&gt;Was a PDF generated and if so where is it?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I hope you can help me&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Criptic&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 06:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/454358#M2455</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-04-16T06:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/454514#M2456</link>
      <description>&lt;P&gt;I believe the PDF is stored in the SAS Content Server. I don't think there is an easy way to retrieve it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all you need to do is get a PDF so that you can post it to your internet,&amp;nbsp;I think it would be easier to just use Web Report Studio to distribute the report to yourself. If you need to use a command line, then you can distribute via command line as well. The information is in the same instructions that you found: &lt;A href="http://go.documentation.sas.com/?docsetId=biwaag&amp;amp;docsetTarget=p08wf0d0eyhu96n1dpbab4vw9d3z.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Processing Reports outside of SAS Web Report Studio&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 17:22:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/454514#M2456</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2018-04-16T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455038#M2457</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13745"&gt;@Madelyn_SAS&lt;/a&gt;&amp;nbsp;thank you for your reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I only need to get the PDF but I need to do that on a weekly basis and distribute it to a folder where another application uploads it to the intranet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know that I could schedule that distribution via WRS but I can only send it via E-Mail and then I would still have to manually copy the PDF to the directory and I want to avoid doing that if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help me with the instruction for the cl please?&lt;/P&gt;
&lt;P&gt;In batch mode it looks like you said the PDF gets stored in the SAS Content Server, so too me it looks like I need to use the burst or extract option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using burst I get the following Error:&lt;/P&gt;
&lt;P&gt;ERROR [main] 2018-04-18 08:15:31,827 [unknown:unknown] com.sas.report.output.management.ErrorReporter - An error occurred: The report /Reports/Berichtsforum/Kraftfahrt/K_Segmente.srx has no associated burst definition.&lt;BR /&gt;com.sas.report.output.management.OutputManagementException: The report /Reports/Berichtsforum/Kraftfahrt/K_Segmente.srx has no associated burst definition.&lt;BR /&gt; at com.sas.report.output.management.DefaultOutputDriverFactory.getUnambiguousBurstDefinitionFromReport(DefaultOutputDriverFactory.java:305)&lt;BR /&gt; at com.sas.report.output.management.BurstOutputInformationGenerator.generate(BurstOutputInformationGenerator.java:31)&lt;BR /&gt; at com.sas.report.output.management.OutputGenerator.generateOutput(OutputGenerator.java:284)&lt;BR /&gt; at com.sas.report.output.management.OutputGenerator.run(OutputGenerator.java:243)&lt;BR /&gt; at com.sas.report.output.management.OutputGenerator.run(OutputGenerator.java:377)&lt;BR /&gt; at com.sas.report.output.management.OutputGenerator.main(OutputGenerator.java:413)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I add a burst definition to a report?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using extract it requires a prompt file - How do I create such a file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for both modes I have the question how I direct the output to where I want it to go?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 06:18:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455038#M2457</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-04-18T06:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455229#M2458</link>
      <description>&lt;P&gt;I'm sorry but you will not be able to use either of the command line options to create and then store a PDF in a file system location somewhere. The burst command is specifically for sending a PDF to a recipient list via email or to a publication channel. You cannot instead send the PDF to a folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also discussed this with a co-worker. We think your options are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the report in Web Report Studio, select &lt;STRONG&gt;File &amp;gt; Print&lt;/STRONG&gt;, and manually copy the PDF to a folder location.&lt;/LI&gt;
&lt;LI&gt;Distribute the report to yourself as a PDF and then manually copy the PDF to a folder location.&lt;/LI&gt;
&lt;LI&gt;Open the report in Microsoft Word, and select &lt;STRONG&gt;File &amp;gt; Save As &amp;gt; PDF&lt;/STRONG&gt;, and then&amp;nbsp;manually copy the PDF to a folder location. &amp;nbsp;(This option &amp;nbsp;assumes that you have SAS Add-In for Microsoft Office available.)&lt;/LI&gt;
&lt;/UL&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, 18 Apr 2018 14:49:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455229#M2458</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2018-04-18T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455468#M2459</link>
      <description>Well that is not the answer I have hoped for but you can't have everything in life I guess &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;Thank you a lot for the time and effort, I will just use the distribution feature in WRS.</description>
      <pubDate>Thu, 19 Apr 2018 04:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/455468#M2459</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-04-19T04:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/472132#M2471</link>
      <description>&lt;P&gt;As you said, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/50279"&gt;@Criptic&lt;/a&gt;, just WRS is not going to be maintained much longer (!) -&lt;BR /&gt;so if you're interested in changing this to a Viya and/or Visual Analytics discussion, I'm sure you'll find some creativity flowing towards many a different solution.&lt;/P&gt;&lt;P&gt;@For example, in a slightly unrelated post from Ahmed_alAttar, there's mention of &amp;lt;href=&lt;A href="https://sassoftware.github.io/saspy/install.html" target="_blank"&gt;https://sassoftware.github.io/saspy/install.html&lt;/A&gt;&amp;gt; which is a module that can be used in Viya and SAS Studio to create custom features using Python.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/472132#M2471</guid>
      <dc:creator>ccaulkins912</dc:creator>
      <dc:date>2018-06-21T14:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/472385#M2472</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/165364"&gt;@ccaulkins912&lt;/a&gt;&amp;nbsp;do you have any offical information for that - that would be really usefull for me. Like a SAS note or an annoucment?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 07:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/472385#M2472</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-06-22T07:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export a WRS Report as a PDF File via Batch</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/472451#M2473</link>
      <description>&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Connect-SASPY-to-remote-SAS-host/m-p/472093" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Connect-SASPY-to-remote-SAS-host/m-p/472093&lt;/A&gt;</description>
      <pubDate>Fri, 22 Jun 2018 12:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/Export-a-WRS-Report-as-a-PDF-File-via-Batch/m-p/472451#M2473</guid>
      <dc:creator>ccaulkins912</dc:creator>
      <dc:date>2018-06-22T12:29:48Z</dc:date>
    </item>
  </channel>
</rss>

