<?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 Dataflux expression returns no values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Dataflux-expression-returns-no-values/m-p/846133#M334665</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;I have a VERY basic question to ask, I am sure I am missing something completely but for the life of me I can't see what.&lt;/P&gt;
&lt;P&gt;I need to create a macro variable with the current datetime in a specific format. I am using an expression node, but when I preview the expression node, there is no value in the field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code (I added some test variables, and all of these are empty when I preview the node):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pre-processing:&lt;/P&gt;
&lt;P&gt;string CurrDateTime&lt;BR /&gt;date test1&lt;BR /&gt;string test2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;CurrDateTime=formatdate(today(),"YYYYMMDD_hhmmss")&lt;BR /&gt;test1 = today()&lt;BR /&gt;test2="This is a test string"&lt;BR /&gt;varset ("Inp_CurrDateTime", CurrDateTime)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone can tell me what obvious step I am missing, I would be very grateful.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 12:47:23 GMT</pubDate>
    <dc:creator>HeidiDT</dc:creator>
    <dc:date>2022-11-24T12:47:23Z</dc:date>
    <item>
      <title>Dataflux expression returns no values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dataflux-expression-returns-no-values/m-p/846133#M334665</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;I have a VERY basic question to ask, I am sure I am missing something completely but for the life of me I can't see what.&lt;/P&gt;
&lt;P&gt;I need to create a macro variable with the current datetime in a specific format. I am using an expression node, but when I preview the expression node, there is no value in the field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code (I added some test variables, and all of these are empty when I preview the node):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pre-processing:&lt;/P&gt;
&lt;P&gt;string CurrDateTime&lt;BR /&gt;date test1&lt;BR /&gt;string test2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;CurrDateTime=formatdate(today(),"YYYYMMDD_hhmmss")&lt;BR /&gt;test1 = today()&lt;BR /&gt;test2="This is a test string"&lt;BR /&gt;varset ("Inp_CurrDateTime", CurrDateTime)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone can tell me what obvious step I am missing, I would be very grateful.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 12:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dataflux-expression-returns-no-values/m-p/846133#M334665</guid>
      <dc:creator>HeidiDT</dc:creator>
      <dc:date>2022-11-24T12:47:23Z</dc:date>
    </item>
  </channel>
</rss>

