<?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: SAS Doesn't Recognize Programs in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917263#M1746</link>
    <description>&lt;P&gt;since it seems I cannot submit the full code, I copied the portion with the error below. Does this help?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;262        
 263         %* include main macro;
 264         %INCLUDE IN0(V2424P1M)/SOURCE2;
 WARNING: Physical file does not exist, /home/u886104/RiskAdjustment/programs/V2424P1M.sas.
 ERROR: Cannot %INCLUDE member V2424P1M in the aggregate IN0.
 265        
 266         %V2424P1M(INP      =IN1.PERSON,
             _
             180
 WARNING: Apparent invocation of macro V2424P1M not resolved.
 ERROR 180-322: Statement is not valid or it is used out of proper order.
 
 267                   IND      =IN2.DIAG,
 268                   OUTDATA  =OUT.PERSON,
 269                   IDVAR    =MBI,
 270                   KEEPVAR  =MBI &amp;amp;INPUTVARS &amp;amp;SCOREVARS &amp;amp;DEMVARS
 271                             &amp;amp;HCCV24_list86 &amp;amp;CCV24_list86,
 272                   SEDITS   =1,
 273                   DATE_ASOF="1FEB2024"D);
 
 274        
 275        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 285        &lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Feb 2024 22:27:51 GMT</pubDate>
    <dc:creator>DUBS</dc:creator>
    <dc:date>2024-02-21T22:27:51Z</dc:date>
    <item>
      <title>SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917192#M1730</link>
      <description>&lt;P&gt;I uploaded some programs to SAS Studio but as shown in the screenshot in the attached file, SAS doesn't seem to recognize them. I verified that the uploaded programs use UTF-8 consistent with SAS studio. What else might the problem be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917192#M1730</guid>
      <dc:creator>DUBS</dc:creator>
      <dc:date>2024-02-21T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917194#M1731</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;In your code, you issue a LIBNAME statement, then call the CONTENTS procedure referencing the library in your LIBNAME statement. The CONTENTS procedure lists only SAS datasets (file extension .sas7bdat). It does not list all file types in a folder. In particular it will not list SAS programs (file extension .sas).&lt;BR /&gt;&lt;BR /&gt;You get that warning about "No matching members" because your programs folder does not have any SAS datasets in it.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917194#M1731</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-02-21T17:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917195#M1732</link>
      <description>&lt;P&gt;Instead, I suggest you point your LIBNAME statement to either your INPUT or OUTPUT folders, since those folders have SAS datasets in them.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:12:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917195#M1732</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-02-21T17:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917197#M1733</link>
      <description>&lt;P&gt;If you want to run the programs just open them into the editor window and submit them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC CONTENTS is for looking a datasets, not programs.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917197#M1733</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-21T17:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917201#M1734</link>
      <description>&lt;P&gt;Hello Jackie - Thank you for your reply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think my problem is more related to the files in the program folder. I thought proc contents would be a simple way of showing this but I understand now why it isn't, thank you again for the clarification.&amp;nbsp; Attached is another screenshot form code that references one of the files in the program folder.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I would appreciate any additional thoughts.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917201#M1734</guid>
      <dc:creator>DUBS</dc:creator>
      <dc:date>2024-02-21T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917206#M1735</link>
      <description>Please post your images directly into the forum, not as attachments.</description>
      <pubDate>Wed, 21 Feb 2024 18:14:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917206#M1735</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-02-21T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917207#M1736</link>
      <description>Right click on the program you're trying to load, select properties. Compare the path to the path in the error messages and look for any differences, noting that the server is case sensitive.</description>
      <pubDate>Wed, 21 Feb 2024 18:16:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917207#M1736</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-02-21T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917208#M1737</link>
      <description>&lt;P&gt;Do&amp;nbsp;&lt;STRONG&gt;NOT&lt;/STRONG&gt; post&amp;nbsp;&lt;U&gt;pictures&lt;/U&gt; of logs. Cooy/paste the log text into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 18:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917208#M1737</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-21T18:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917210#M1738</link>
      <description>&lt;P&gt;SAS on Demand runs on a UNIX server, which is case sensitive. V1234.sas is different from v1234.sas!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 18:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917210#M1738</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-21T18:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917217#M1739</link>
      <description>&lt;P&gt;Hi, I suggest you post the entirety of your log here. After inspection of your second log image, I cannot immediately see why you are getting the "Physical file does not exist" warning. The file path in the warning seems to correspond to an existing folder.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As another commenter added, you can copy your entire log then post it here directly using a particular button in the SAS Communities post editor. Also, you can right click on a file to get its full path, then copy and paste the Location field. This will ensure you didn't make any mistakes in the file path. For example:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JackieJ_SAS_0-1708541254151.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93976i47C93EC5F29CC297/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JackieJ_SAS_0-1708541254151.png" alt="JackieJ_SAS_0-1708541254151.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 18:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917217#M1739</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-02-21T18:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917245#M1744</link>
      <description>&lt;P&gt;when i post my entire code, it looks like my response gets removed (the code is quite lengthy). with that in mind should i add it in an attachment?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 20:58:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917245#M1744</guid>
      <dc:creator>DUBS</dc:creator>
      <dc:date>2024-02-21T20:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917263#M1746</link>
      <description>&lt;P&gt;since it seems I cannot submit the full code, I copied the portion with the error below. Does this help?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;262        
 263         %* include main macro;
 264         %INCLUDE IN0(V2424P1M)/SOURCE2;
 WARNING: Physical file does not exist, /home/u886104/RiskAdjustment/programs/V2424P1M.sas.
 ERROR: Cannot %INCLUDE member V2424P1M in the aggregate IN0.
 265        
 266         %V2424P1M(INP      =IN1.PERSON,
             _
             180
 WARNING: Apparent invocation of macro V2424P1M not resolved.
 ERROR 180-322: Statement is not valid or it is used out of proper order.
 
 267                   IND      =IN2.DIAG,
 268                   OUTDATA  =OUT.PERSON,
 269                   IDVAR    =MBI,
 270                   KEEPVAR  =MBI &amp;amp;INPUTVARS &amp;amp;SCOREVARS &amp;amp;DEMVARS
 271                             &amp;amp;HCCV24_list86 &amp;amp;CCV24_list86,
 272                   SEDITS   =1,
 273                   DATE_ASOF="1FEB2024"D);
 
 274        
 275        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 285        &lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Feb 2024 22:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917263#M1746</guid>
      <dc:creator>DUBS</dc:creator>
      <dc:date>2024-02-21T22:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Doesn't Recognize Programs</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917268#M1747</link>
      <description>&lt;P&gt;The most likely cause is that you have the wrong filename.&lt;/P&gt;
&lt;P&gt;Since the of this path looks like the name in the picture your put into a WORD file and uploaded before then perhaps the issue in the username part of the path?&lt;/P&gt;
&lt;PRE&gt;/home/u886104/RiskAdjustment/programs/V2424P1M.sas&lt;/PRE&gt;
&lt;P&gt;Perhaps the u should be uppercase?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you accidently typed the wrong userid?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So first try fixing where you defined the fileref IN0. That is where SAS got the&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/home/u886104/RiskAdjustment/programs&lt;/PRE&gt;
&lt;P&gt;part of the path it is showing in the error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or try eliminating the IN0 filref and just %INCLUDE the file using its actual name instead of making SAS piece the parts together.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or use ~ in place of the /home/uxxxxx part of the path.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%INCLUDE "~/RiskAdjustment/programs/V2424P1M.sas" / source2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The later errors don't matter now as they are just a side effect of the file not being included.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 22:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/SAS-Doesn-t-Recognize-Programs/m-p/917268#M1747</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-21T22:43:26Z</dc:date>
    </item>
  </channel>
</rss>

