Within a CASlib there are two areas for data:
the physical area, this is where you see files like .sashdat files or DBMS tables, this is referred to as files no matter the type of source
the in memory area, so a file loaded in to memory, this is referred to as table
Using the CAS libname engine you can only see the tables (data loaded into memory) but not the files.
To have a look at both, you can use the code below:
proc casutil incaslib="Public";
list files;
list tables;
quit;
The way you loaded the data into memory created a session scope table, so it is only visible to the specific CAS session that created the data.
To create a global scope table (promoted table) use this code sample:
proc casutil ;
/* need to drop a global scoped table */
droptable incaslib="Public" casdata="cars" quiet;
/* now load the table, in this we use a SAS data set */
load data=sashelp.cars outcaslib="Public" casout="cars" promote;
quit;
... View more