<?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: re: Format Error Message in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-Format-Error-Message/m-p/201026#M13409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With Put statements you need to control everything, including line counts and such. You could use multiple Put statements but changes to the output format or document properties may not look very good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try File Print ODS and Put _ods_;&lt;/P&gt;&lt;P&gt;I would be very tempted to see if I could get an ODS Text statement to work.&lt;/P&gt;&lt;P&gt;I don't use PDF much but with RTF this would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods text="A query for the Purchase History for Client, John Smith, for the period of January&lt;/P&gt;&lt;P&gt;1, 2014 to December 31, 2014 has revealed that no purchases have been made for this&lt;/P&gt;&lt;P&gt;client during this time period.";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would work. For readability in a code editor I would break the line at which point you want a blank space at the beginning of each line for the ODS processor to put a space in the right spot. Also you may get a message about "current quote exceeds ..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 16:04:59 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-06-09T16:04:59Z</dc:date>
    <item>
      <title>re: Format Error Message</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-Format-Error-Message/m-p/201025#M13408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...I am trying to insert a Error Message when a dataset has no records. I am creating a pdf file and would like to be able to format the text message so that it is left justified and continues onto the next line without breaking within a word. For example, right now it end the first line with "Janu" and continues onto the second line with "ary". Would like it to resemble the same format as if it would be typed in a Word document. Any help would be greatly appreciated....Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-family: 'Courier New';"&gt;DATA&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;_NULL_&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; &amp;amp;nobs = &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-family: 'Courier New';"&gt;0&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;THEN&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;DO&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;FILE&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;PRINT&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;PUT&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;"A query for the Purchase History for Client, John Smith, for the period of January 1, 2014 to December 31, 2014 has revealed that no purchases have been made for this client during this time period."&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;END&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;STOP&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 15:51:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-Format-Error-Message/m-p/201025#M13408</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2015-06-09T15:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: re: Format Error Message</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-Format-Error-Message/m-p/201026#M13409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With Put statements you need to control everything, including line counts and such. You could use multiple Put statements but changes to the output format or document properties may not look very good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or try File Print ODS and Put _ods_;&lt;/P&gt;&lt;P&gt;I would be very tempted to see if I could get an ODS Text statement to work.&lt;/P&gt;&lt;P&gt;I don't use PDF much but with RTF this would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods text="A query for the Purchase History for Client, John Smith, for the period of January&lt;/P&gt;&lt;P&gt;1, 2014 to December 31, 2014 has revealed that no purchases have been made for this&lt;/P&gt;&lt;P&gt;client during this time period.";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would work. For readability in a code editor I would break the line at which point you want a blank space at the beginning of each line for the ODS processor to put a space in the right spot. Also you may get a message about "current quote exceeds ..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 16:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-Format-Error-Message/m-p/201026#M13409</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-09T16:04:59Z</dc:date>
    </item>
  </channel>
</rss>

