<?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: Display Macro Parameters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214635#M39618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let fiscal_year = "2014/15" "2013/14";&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file='C:\TEMP\text.xls' &lt;/P&gt;&lt;P&gt;&amp;nbsp; options( embedded_titles='yes' embedded_footnotes='yes' )&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;title1 %sysfunc(quote(Fiscal Year &amp;amp;fiscal_year));&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 10:07:01 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-07-31T10:07:01Z</dc:date>
    <item>
      <title>Display Macro Parameters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214631#M39614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several user specified macro parameters that I'd like to supply on the final report for documentation purposes. Some of fields have embedded single quotes so I can't default switch to single quotes easily. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;%let fiscal_year = "2014/15" "2013/14";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling with how to pass this to my output, which is ODS Tagsets.ExcelXP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently trying&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ODS TEXT ="Years" &amp;amp;fiscal_year; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 21:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214631#M39614</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-07-30T21:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Display Macro Parameters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214632#M39615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;ODS&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;TEXT&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(quote(Years &amp;amp;fiscal_year));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 22:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214632#M39615</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-07-30T22:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display Macro Parameters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214633#M39616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Except I don't think ODS TEXT= is supported by&amp;nbsp; ExcelXP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe incorporate it into a TITLE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214633#M39616</guid>
      <dc:creator>JerryLeBreton</dc:creator>
      <dc:date>2015-07-31T07:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display Macro Parameters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214634#M39617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, don't think ODS Text works for that tagset.&amp;nbsp; Titles also appear only in the print preview, so maybe not useful&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;One suggestion I have is this.&amp;nbsp; The macro variables are stored in the SASHELP.VMACRO dataset.&amp;nbsp; Why not proc report this, putting a where clause on for the macro's you want to, then proc report your other data to the same sheet.&amp;nbsp; Hence two proc reports one sheet?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:01:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214634#M39617</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-07-31T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display Macro Parameters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214635#M39618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let fiscal_year = "2014/15" "2013/14";&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file='C:\TEMP\text.xls' &lt;/P&gt;&lt;P&gt;&amp;nbsp; options( embedded_titles='yes' embedded_footnotes='yes' )&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;title1 %sysfunc(quote(Fiscal Year &amp;amp;fiscal_year));&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class; run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:07:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214635#M39618</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-31T10:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Display Macro Parameters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214636#M39619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom and Data _null_'s solution work and the title is in the worksheet. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Display-Macro-Parameters/m-p/214636#M39619</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-07-31T15:07:37Z</dc:date>
    </item>
  </channel>
</rss>

