BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
upadhi
Quartz | Level 8

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
FalkoSchulz
SAS Employee

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

View solution in original post

1 REPLY 1
FalkoSchulz
SAS Employee

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

sas-innovate-white.png

Missed SAS Innovate in Orlando?

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.

 

Register now

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 1 reply
  • 991 views
  • 0 likes
  • 2 in conversation