<?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: Warning in Title Statement in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3613#M1547</link>
    <description>SAS will resolve macro variables in double-quoted strings. Try this:&lt;BR /&gt;
&lt;BR /&gt;
[pre]%let theMonth = June;&lt;BR /&gt;
%let theYear = 2007;&lt;BR /&gt;
title "All newly made accounts on &amp;amp;theMonth/&amp;amp;theYear";[/pre]</description>
    <pubDate>Tue, 26 Jun 2007 12:32:46 GMT</pubDate>
    <dc:creator>Tim_SAS</dc:creator>
    <dc:date>2007-06-26T12:32:46Z</dc:date>
    <item>
      <title>Warning in Title Statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3612#M1546</link>
      <description>Hi gyes.&lt;BR /&gt;
&lt;BR /&gt;
Please, explain me why it says warning.&lt;BR /&gt;
theMonth and theYear are parameters.&lt;BR /&gt;
My Code:&lt;BR /&gt;
&lt;B&gt;proc print data=table1;&lt;BR /&gt;
       title 'All newly made accounts on' &amp;amp;theMonth/&amp;amp;theYear;&lt;BR /&gt;
run;&lt;/B&gt;&lt;BR /&gt;
And it says next warning:&lt;BR /&gt;
&lt;I&gt;The TITLE statement is ambiguous due to valid options or unquoted text.&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
I have already tried in this way:&lt;BR /&gt;
&lt;B&gt;proc print data=table1;&lt;BR /&gt;
       title 'All newly made accounts on' !! &amp;amp;theMonth/&amp;amp;theYear;&lt;BR /&gt;
run;&lt;/B&gt;&lt;BR /&gt;
But it does not recognize &lt;B&gt;!!&lt;/B&gt; as concatenation mark.&lt;BR /&gt;
&lt;BR /&gt;
Also it could be great if instead number of month, I can output name of month. I know that there is special format for it, but I cannot apply it.

P.S.: May be this post must be in EG Forum...&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: Ihor</description>
      <pubDate>Tue, 26 Jun 2007 12:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3612#M1546</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T12:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Warning in Title Statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3613#M1547</link>
      <description>SAS will resolve macro variables in double-quoted strings. Try this:&lt;BR /&gt;
&lt;BR /&gt;
[pre]%let theMonth = June;&lt;BR /&gt;
%let theYear = 2007;&lt;BR /&gt;
title "All newly made accounts on &amp;amp;theMonth/&amp;amp;theYear";[/pre]</description>
      <pubDate>Tue, 26 Jun 2007 12:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3613#M1547</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2007-06-26T12:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Warning in Title Statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3614#M1548</link>
      <description>Thanks. It really works.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Also it could be great if instead number of month, I can output name of month. I know that there is special format for it, but I cannot apply it.&lt;/B&gt;</description>
      <pubDate>Tue, 26 Jun 2007 12:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3614#M1548</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-26T12:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Warning in Title Statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3615#M1549</link>
      <description>I'm not sure what you are trying to do here.  You have created a macro symbol that contains the month name, and the title will reflect that name, not the month number.&lt;BR /&gt;
&lt;BR /&gt;
If you are trying to create the month name and year automatically from the system date, then I have to tell you not to.  When you report June's performance at the end of the month, it is likely to be July, and the report will be mistitled.&lt;BR /&gt;
&lt;BR /&gt;
I presume you have some record selection process to identify the current transactions, and you should tie the record selection to the title in a single common step.  If you provide that code to the forum, I can look at refining it.&lt;BR /&gt;
&lt;BR /&gt;
Kind regards&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 27 Jun 2007 03:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Warning-in-Title-Statement/m-p/3615#M1549</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-06-27T03:00:22Z</dc:date>
    </item>
  </channel>
</rss>

