<?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: Logo in mainframe pdf report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74295#M8460</link>
    <description>Hi:&lt;BR /&gt;
   Well, it seems like the main difference might be that you're not using ESCAPECHAR in the PROC REPORT style override, but you are using ESCAPECHAR in the TITLE statement???&lt;BR /&gt;
 &lt;BR /&gt;
  That definitely seems like a puzzle for Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Tue, 06 Oct 2009 05:42:15 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-10-06T05:42:15Z</dc:date>
    <item>
      <title>Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74291#M8456</link>
      <description>How can I get a logo into a pdf report with mainframe?&lt;BR /&gt;
&lt;BR /&gt;
Ods pdf text='(*ESC*)S={"/path/logo.jpg"}'; &lt;BR /&gt;
&lt;BR /&gt;
doesn't put the logo into the document even tough the logo reference on the proc report heading does that.</description>
      <pubDate>Mon, 05 Oct 2009 14:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74291#M8456</guid>
      <dc:creator>Virpi</dc:creator>
      <dc:date>2009-10-05T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74292#M8457</link>
      <description>I think you need to define a single escape character for SAS to send the right bits to pdf. Something like:&lt;BR /&gt;
&lt;BR /&gt;
ODS ESCAPECHAR = '^';&lt;BR /&gt;
&lt;BR /&gt;
Ods pdf text= '^S={"/path/logo.jpg"}';</description>
      <pubDate>Mon, 05 Oct 2009 22:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74292#M8457</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2009-10-05T22:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74293#M8458</link>
      <description>Hi:&lt;BR /&gt;
  When creating an ODS PDF or RTF file, the location of any image must be the physical location of the image when the PDF or RTF file is -created- ... so you must be certain that /path/logo.jpg is indeed the correct MAINFRAME path location for the logo. (...since any graphic images are converted to internal PDF or RTF format when the file is created, if the file is created on the mainframe, then the image file location must be accessible to the mainframe.)&lt;BR /&gt;
&lt;BR /&gt;
  The (*ESC*) method of specifying the ESCAPECHAR is the "universal" method (as opposed to the one character method) -- so that's OK. The issue, I think, partly depends on the version of SAS that you're using (there were issues in creating PDF files with ODS in SAS 8 and early SAS 9 that no longer exist in SAS 9.2); whether you are indeed specifying the image location correctly -- what you are specifying looks like a UNIX file location, so I'm assuming that you might be trying to pull the image from an AIX drive or Unix web server?? If so, you have to be sure that the server is available to your SAS job --when it runs-- (not when you open the file).&lt;BR /&gt;
 &lt;BR /&gt;
  You might end up needing to work with Tech Support on this, they could actually test the code on a mainframe configuration.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 06 Oct 2009 03:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74293#M8458</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-10-06T03:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74294#M8459</link>
      <description>The strange part in this seems that I can get the logo into proc report title (with style(report)={preimage}-definition) or with data _null_-step and the logo path on column header or data section but not with ods pdf text-statement.&lt;BR /&gt;
&lt;BR /&gt;
So the path to the logo should be OK as it can be seen when on columnheader, reportheader or in columndata.</description>
      <pubDate>Tue, 06 Oct 2009 04:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74294#M8459</guid>
      <dc:creator>Virpi</dc:creator>
      <dc:date>2009-10-06T04:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74295#M8460</link>
      <description>Hi:&lt;BR /&gt;
   Well, it seems like the main difference might be that you're not using ESCAPECHAR in the PROC REPORT style override, but you are using ESCAPECHAR in the TITLE statement???&lt;BR /&gt;
 &lt;BR /&gt;
  That definitely seems like a puzzle for Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 06 Oct 2009 05:42:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74295#M8460</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-10-06T05:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74296#M8461</link>
      <description>Your code needs to be explicit with preimage= or postimage=  as well as what Cynthia mentioned about specifying an accurate zFS/HFS location for your image (jpg) file.  This code works for a z/OS (IBM mainframe) generated PDF document:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods pdf file="/u/websrv/perf/test/test_ods.pdf"; &lt;BR /&gt;
%let txt = This is my Title.....See Me Roar;&lt;BR /&gt;
ods pdf text="^S={preimage=""/u/websrv/images/corp_logo1.jpg""} &amp;amp;txt";  &lt;BR /&gt;
ods pdf close; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 06 Oct 2009 07:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74296#M8461</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-06T07:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74297#M8462</link>
      <description>Most strangest thing in this logo is that I have a logo in another report, the code is run from JCL and it is located on unix directory. There I have code like:&lt;BR /&gt;
&lt;BR /&gt;
ods escapechar= '?';&lt;BR /&gt;
ods pdf text="?S={just=right preimage=                          &lt;BR /&gt;
'/SYSTEM/var/Subdirectory/File/Logo.gif'}";  &lt;BR /&gt;
&lt;BR /&gt;
But when I run the same code on mainframe SAS (interactive session) there is no logo, only text. The same happends when the code is on MVS and the code is run trough JCL.</description>
      <pubDate>Wed, 07 Oct 2009 06:55:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74297#M8462</guid>
      <dc:creator>Virpi</dc:creator>
      <dc:date>2009-10-07T06:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74298#M8463</link>
      <description>You will need to ensure that the USS HFS/zFS filesystem is accessible from any/all z/OS MVS systems where you can run SAS.  I support a client where SAS is only licensed on one machine for sub-capacity licensing reasons, and so when I am accessing the USS filesystem contents through the mainframe browser, the URL prefix is different -- dedicated zFS for the SAS-licensed LPAR.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 07 Oct 2009 16:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74298#M8463</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-07T16:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74299#M8464</link>
      <description>The logo is to be seen on proc report heading, not with ods pdf text.</description>
      <pubDate>Fri, 09 Oct 2009 13:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74299#M8464</guid>
      <dc:creator>Virpi</dc:creator>
      <dc:date>2009-10-09T13:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Logo in mainframe pdf report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74300#M8465</link>
      <description>Suggest you reply to your post and COPY/PASTE your SAS-generated log with expanded code and all SAS diagnostic messages so that you can get the most effective feedback.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 09 Oct 2009 14:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Logo-in-mainframe-pdf-report/m-p/74300#M8465</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-09T14:26:53Z</dc:date>
    </item>
  </channel>
</rss>

