Code used:
proc casutil;
load data=sashelp.cars casout="mycars";
run;
Now Using this code, It cretaes a sas dataset in my active CAS library, but it is not loaded. I have to manually load the table.
How can i load it from code?
This statement just loads the table in your local session. Using VA would create a new session and this table wouldn't be visible.
If you want to load a table accessible across sessions - you will need to promote it. Example:
proc casutil;
load data=sashelp.cars casout="mycars";
promote casdata="mycars";
run;
More information about promoting table is in the user doc.
Hope this helps!
Falko
This statement just loads the table in your local session. Using VA would create a new session and this table wouldn't be visible.
If you want to load a table accessible across sessions - you will need to promote it. Example:
proc casutil;
load data=sashelp.cars casout="mycars";
promote casdata="mycars";
run;
More information about promoting table is in the user doc.
Hope this helps!
Falko
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.