<?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: File path to casuser lib in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984858#M379744</link>
    <description>&lt;P&gt;Just a quick note on terminology ... tables versus files ...&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When you refer to a table in a CASLIB, that table (with data structured in rows and columns) is in-memory.&lt;/LI&gt;
&lt;LI&gt;When you refer to a file, this could be a *.pdf file, a *.docx file or a *.sashdat file (such a .sashdat file also contains your table data, but is saved to disk with the intention of converting it back into an in-memory table at a later stage).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2026 08:25:21 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2026-03-17T08:25:21Z</dc:date>
    <item>
      <title>File path to casuser lib</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984852#M379742</link>
      <description>&lt;P&gt;Hi all, this is a very basic question but it's got me stumped.&amp;nbsp; I have been using SAS Viya up to now, but I'm trying to dive into SAS programming to extend some capabilities.&amp;nbsp; I'm trying to reference data in my personal casuser lib, but I can't figure out the file path.&amp;nbsp; Can someone help me with what the file path would be to reference a file in my casuser lib?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 23:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984852#M379742</guid>
      <dc:creator>nickcz</dc:creator>
      <dc:date>2026-03-16T23:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: File path to casuser lib</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984857#M379743</link>
      <description>&lt;P&gt;You don’t need the file path at all to read or process a table in a CASLIB.&lt;/P&gt;
&lt;P&gt;Moreover, the table is stored in memory (although it can also be dumped as a *.sashdat file in the on-disk portion of your CASLIB).&lt;/P&gt;
&lt;P&gt;And also ... not all CASLIBs are path-based. There are also external&amp;nbsp;&lt;SPAN&gt;database-oriented CASLIBs (like for Oracle, for Teradata, for DB2, ...).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’ll give you a few ways to find out the paths associated with (path-based) CASLIBs, but I’d be surprised if you ever needed those paths in a SAS-program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you could go into a bit more detail about what you’re trying to achieve ...&amp;nbsp;then you won’t take any unnecessary detours.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* SEE INFO in LOG-screen and SEE INFO in RESULTS-screen */
cas mySession sessopts=(caslib=casuser timeout=1800 locale="en_US");
caslib _all_ assign;
caslib _all_ list;
libname mycas cas sessref=mySession;

proc casutil incaslib=casuser; 
 list files;
*list tables; 
quit;
/* end of program */&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 08:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984857#M379743</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2026-03-17T08:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: File path to casuser lib</title>
      <link>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984858#M379744</link>
      <description>&lt;P&gt;Just a quick note on terminology ... tables versus files ...&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When you refer to a table in a CASLIB, that table (with data structured in rows and columns) is in-memory.&lt;/LI&gt;
&lt;LI&gt;When you refer to a file, this could be a *.pdf file, a *.docx file or a *.sashdat file (such a .sashdat file also contains your table data, but is saved to disk with the intention of converting it back into an in-memory table at a later stage).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 08:25:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/File-path-to-casuser-lib/m-p/984858#M379744</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2026-03-17T08:25:21Z</dc:date>
    </item>
  </channel>
</rss>

