<?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: No logical assign for filename fic in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906433#M357920</link>
    <description>&lt;P&gt;This is a temporary file being created only for this macro variable to calculate a date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I point to a file repository if I don't have one?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 13:28:18 GMT</pubDate>
    <dc:creator>MILKYLOVE</dc:creator>
    <dc:date>2023-12-06T13:28:18Z</dc:date>
    <item>
      <title>Error: No logical assign for filename fic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906428#M357915</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a syntax error for below's code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ERROR:&amp;nbsp; No logical assign for filename FIC&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Can anyone please help?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%macro param_date();
             data _null_;
                 infile fic;
                input exec $12.;
                call symput("exec",compress(exec));
            run;
         
             data _null_;
                 %if ^%symexist(exec) %then %do;
                     data _null_;
                         set param.LANCEMENT_IMAGES_W6(where=(DT_DEB_PASSAGE&amp;lt;=date()&amp;lt;=DT_FIN_PASSAGE));
                         call symput('lib', cat(ANNEE_IMAGE, SEMAINE_IMAGE));
                         call symput('mois', LOWCASE(cat(ANNEE_IMAGE, SEMAINE_IMAGE))); 
                         call symputx("date_exec","'"||put(date(),date9.)||"'d","G");
                         call symputx("DATE_EXTRACTION","'"||put(intnx('week.2',date(),0,'e'),date9.)||"'d","G");
 
                     run;
                 %end;
                 %else %if &amp;amp;exec. ne %then %do;
                     data _null;
                         set param.LANCEMENT_IMAGES_W6(where=(DT_DEB_PASSAGE&amp;lt;=&amp;amp;exec.&amp;lt;=DT_FIN_PASSAGE));
                         call symput('lib', cat(ANNEE_IMAGE, SEMAINE_IMAGE));
                         call symput('mois', LOWCASE(cat(ANNEE_IMAGE, SEMAINE_IMAGE))); 
                         call symputx("date_exec","'"||put(dt_image,date9.)||"'d","G");
                         call symputx("DATE_EXTRACTION","'"||put(dt_image,date9.)||"'d","G"); 
                         call symputx("DATE_PREMIERE_PASS","'28MAR2018'd","G"); 
                     run;
                 %end;
             run;
         %mend;
         
         %param_date;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Dec 2023 12:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906428#M357915</guid>
      <dc:creator>MILKYLOVE</dc:creator>
      <dc:date>2023-12-06T12:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: No logical assign for filename fic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906432#M357919</link>
      <description>&lt;P&gt;SAS doesn't know what fic is, because you haven't defined it. You need to tell SAS what file you want to denote as fic by using a &lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/lestmtsglobal/p05r9vhhqbhfzun1qo9mw64s4700.htm" target="_self"&gt;FILENAME statement&lt;/A&gt; to point to the desired file.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 13:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906432#M357919</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-12-06T13:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: No logical assign for filename fic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906433#M357920</link>
      <description>&lt;P&gt;This is a temporary file being created only for this macro variable to calculate a date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I point to a file repository if I don't have one?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 13:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906433#M357920</guid>
      <dc:creator>MILKYLOVE</dc:creator>
      <dc:date>2023-12-06T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error: No logical assign for filename fic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906436#M357922</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/404650"&gt;@MILKYLOVE&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I point to a file repository if I don't have one?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your logic is flawed somewhere. The code requires reading something from the file identified as FIC, and yet you don't have such a file. You tell me how to fix this in words (not in SAS code), because I don't know what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 13:36:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-No-logical-assign-for-filename-fic/m-p/906436#M357922</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-12-06T13:36:09Z</dc:date>
    </item>
  </channel>
</rss>

