<?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: ERROR: Variable DATACOLLECTION_FINISHTIME not found in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814957#M321692</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56319"&gt;@nupedoc79&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look to the output of this little program :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%PUT &amp;amp;=CMTH.;
%PUT &amp;amp;=YR.; 
proc contents data=&amp;amp;CMTH&amp;amp;YR._MAS_IIS_MOB_SF_NEW /* directory */ details;
title 'Contents Using the DETAILS Option';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Are you sure you want to resolve both macro variables simultaneously? Maybe you want one of these to be resolved first such that a new macro variable name is constructed. The new macro variable name is then resolved in a "second round" by the macro processor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 20:29:17 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-05-24T20:29:17Z</dc:date>
    <item>
      <title>ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814950#M321687</link>
      <description>&lt;P&gt;I hear this a lot from people and I've said it a few times myself and find myself saying it today, "I written SAS code like this a thousand times without issue".... Any way the below code issues the&amp;nbsp;ERROR: Variable DATACOLLECTION_FINISHTIME not found&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tabulate data=&amp;amp;CMTH&amp;amp;YR._MAS_IIS_MOB_SF_NEW missing; &lt;BR /&gt;var DATACOLLECTION_FINISHTIME; &lt;BR /&gt;table DATACOLLECTION_FINISHTIME, n nmiss (min max median)*f=mmddyy10. range; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;A second pair of eyes would help. Thanks....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814950#M321687</guid>
      <dc:creator>nupedoc79</dc:creator>
      <dc:date>2022-05-24T20:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814951#M321688</link>
      <description>Does PROC CONTENTS show that the variable exists?</description>
      <pubDate>Tue, 24 May 2022 20:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814951#M321688</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-05-24T20:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814953#M321689</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814953#M321689</guid>
      <dc:creator>nupedoc79</dc:creator>
      <dc:date>2022-05-24T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814954#M321690</link>
      <description>&lt;P&gt;I verified the variable opening up and reviewing the SAS work dataset and the variable is present.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814954#M321690</guid>
      <dc:creator>nupedoc79</dc:creator>
      <dc:date>2022-05-24T20:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814956#M321691</link>
      <description>Run the proc contents, the variable name and label may be the issue. &lt;BR /&gt;Show the proc contents please.</description>
      <pubDate>Tue, 24 May 2022 20:28:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814956#M321691</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-05-24T20:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814957#M321692</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56319"&gt;@nupedoc79&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look to the output of this little program :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%PUT &amp;amp;=CMTH.;
%PUT &amp;amp;=YR.; 
proc contents data=&amp;amp;CMTH&amp;amp;YR._MAS_IIS_MOB_SF_NEW /* directory */ details;
title 'Contents Using the DETAILS Option';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Are you sure you want to resolve both macro variables simultaneously? Maybe you want one of these to be resolved first such that a new macro variable name is constructed. The new macro variable name is then resolved in a "second round" by the macro processor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814957#M321692</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-05-24T20:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814958#M321693</link>
      <description>&lt;P&gt;This is a guess without seeing your SAS log. You might need an extra dot for your SAS dataset macro variables name to resolve correctly:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=&amp;amp;CMTH&amp;amp;YR.._MAS_IIS_MOB_SF_NEW&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It depends on where the LIBREF and DATASET boundary is.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814958#M321693</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-05-24T20:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814959#M321694</link>
      <description>&lt;P&gt;You point is well taken. The two SAS macro variables resolve successfully in prior code in the program. I will however try your suggestion. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/814959#M321694</guid>
      <dc:creator>nupedoc79</dc:creator>
      <dc:date>2022-05-24T20:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Variable DATACOLLECTION_FINISHTIME not found</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/815170#M321747</link>
      <description>I resolved the issue. Thanks everyone &lt;BR /&gt;</description>
      <pubDate>Thu, 26 May 2022 05:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Variable-DATACOLLECTION-FINISHTIME-not-found/m-p/815170#M321747</guid>
      <dc:creator>nupedoc79</dc:creator>
      <dc:date>2022-05-26T05:50:09Z</dc:date>
    </item>
  </channel>
</rss>

