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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1277 views
  • 0 likes
  • 2 in conversation