<?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 Using %sysfunc on a label in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-sysfunc-on-a-label/m-p/115070#M9758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using proc sql to create a table where I want the label of column "ART_PRO" to be the current week number and changes every week when pull the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;CREATE TABLE test_table AS&lt;/P&gt;&lt;P&gt;SELECT ART_PRO&lt;/P&gt;&lt;P&gt;FROM WORK.COM_VTA_SEM_ANT&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2013 08:42:48 GMT</pubDate>
    <dc:creator>PJorge</dc:creator>
    <dc:date>2013-06-21T08:42:48Z</dc:date>
    <item>
      <title>Using %sysfunc on a label</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-sysfunc-on-a-label/m-p/115070#M9758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using proc sql to create a table where I want the label of column "ART_PRO" to be the current week number and changes every week when pull the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;CREATE TABLE test_table AS&lt;/P&gt;&lt;P&gt;SELECT ART_PRO&lt;/P&gt;&lt;P&gt;FROM WORK.COM_VTA_SEM_ANT&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 08:42:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-sysfunc-on-a-label/m-p/115070#M9758</guid>
      <dc:creator>PJorge</dc:creator>
      <dc:date>2013-06-21T08:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using %sysfunc on a label</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-sysfunc-on-a-label/m-p/115071#M9759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;PROC SQL;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;CREATE TABLE test_table AS&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SELECT ART_PRO label="%sysfunc(week(%sysfunc(today())))"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FROM WORK.COM_VTA_SEM_ANT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 12:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-sysfunc-on-a-label/m-p/115071#M9759</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-06-21T12:48:02Z</dc:date>
    </item>
  </channel>
</rss>

