<?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: Dynamically produce Text in PDF Document Using Ods pdf text in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189394#M13001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, thank you so much for posting this &lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-reading/"&gt;&lt;SPAN style="color: #4f4f4f;"&gt;pdf editing&lt;/SPAN&gt;&lt;/A&gt; issue here.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Since you have solved the &lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-text-extract/"&gt;&lt;SPAN style="color: #4f4f4f;"&gt;pdf text processing&lt;/SPAN&gt;&lt;/A&gt; problem, would you please mark it as solved. Thanks.&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 03:57:08 GMT</pubDate>
    <dc:creator>cathyhill</dc:creator>
    <dc:date>2014-04-29T03:57:08Z</dc:date>
    <item>
      <title>Dynamically produce Text in PDF Document Using Ods pdf text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189391#M12998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write a line in a report that is execute only is there is missing data. As an example below: New York does not report so I would like to print that in my report and not print anything is all sites report. I've gotten this far, but don't know how to produce the ods pdf text statement dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf;&lt;/P&gt;&lt;P&gt;data test_data;&lt;/P&gt;&lt;P&gt;input site&amp;nbsp; $30. ;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;Dallas Ft Worth&lt;/P&gt;&lt;P&gt;Cleveland&lt;/P&gt;&lt;P&gt;Chicago&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data lookup;&lt;/P&gt;&lt;P&gt;input facility $30. ;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;Dallas Ft Worth&lt;/P&gt;&lt;P&gt;Cleveland&lt;/P&gt;&lt;P&gt;Chicago&lt;/P&gt;&lt;P&gt;New York&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table WhoIsMissing&lt;/P&gt;&lt;P&gt;as select a.site, b.facility&lt;/P&gt;&lt;P&gt;from test_data as a&lt;/P&gt;&lt;P&gt;right join lookup as b&lt;/P&gt;&lt;P&gt;on a.site=b.facility;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*put the name into a macro variable;*/&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;select&amp;nbsp; facility into:missing&lt;/P&gt;&lt;P&gt;from whoismissing&lt;/P&gt;&lt;P&gt;where site='';&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;missing;&lt;/P&gt;&lt;P&gt;/*If there is no value in the macro variable then do nothing.*/&lt;/P&gt;&lt;P&gt;/*if there is a data value in the macro variable the print it*/&lt;/P&gt;&lt;P&gt;/*stumped here on how to do this dynamically*/&lt;/P&gt;&lt;P&gt;/*Also not sure how to deal with two or more missing sites*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ods pdf text="^S={font=('Arial' ,12pt, bold ) just=center } Site &amp;amp;Missing is missing";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods pdf close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 20:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189391#M12998</guid>
      <dc:creator>BigD</dc:creator>
      <dc:date>2014-02-27T20:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically produce Text in PDF Document Using Ods pdf text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189392#M12999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. %if %then %do to control macro execution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro test(value);&lt;/P&gt;&lt;P&gt;%if &amp;amp;value=%str() %then %do;&lt;/P&gt;&lt;P&gt;%put "Macro Variable is empty";&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%else %do;&lt;/P&gt;&lt;P&gt;%put "Macro Variable is:" &amp;amp;value;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%test();&lt;/P&gt;&lt;P&gt;%test(one);&lt;/P&gt;&lt;P&gt;%test(23);&lt;/P&gt;&lt;P&gt;%test();&lt;/P&gt;&lt;P&gt;%test(3kdjklfa);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 21:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189392#M12999</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-27T21:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically produce Text in PDF Document Using Ods pdf text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189393#M13000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Works nicely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 14:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189393#M13000</guid>
      <dc:creator>BigD</dc:creator>
      <dc:date>2014-02-28T14:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically produce Text in PDF Document Using Ods pdf text</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189394#M13001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, thank you so much for posting this &lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-reading/"&gt;&lt;SPAN style="color: #4f4f4f;"&gt;pdf editing&lt;/SPAN&gt;&lt;/A&gt; issue here.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Since you have solved the &lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-text-extract/"&gt;&lt;SPAN style="color: #4f4f4f;"&gt;pdf text processing&lt;/SPAN&gt;&lt;/A&gt; problem, would you please mark it as solved. Thanks.&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 03:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynamically-produce-Text-in-PDF-Document-Using-Ods-pdf-text/m-p/189394#M13001</guid>
      <dc:creator>cathyhill</dc:creator>
      <dc:date>2014-04-29T03:57:08Z</dc:date>
    </item>
  </channel>
</rss>

