Amadeus cookies policy - you'll see this message only once.

Amadeus use cookies on this website. They help us to know a little bit about you and how you use our website, which improves the browsing experience and marketing - both for you and for others. They are stored locally on your computer or mobile device. To accept cookies, continue browsing as normal. Or, go to the privacy policy for more information.

SAS® Viya™: Viewing CAS Tables Within SAS Studio

When assigning CAS tables and caslibs within SAS Studio, the log gives us information detailing the tables which have been assigned to each caslib.  However, there is no view to see the caslibs and castables which are available at any one time. 

Within SAS studio, a Snippet has been added named Generate SAS librefs for caslibs.  This generates a list of caslibs within the Libraries section of SAS Studio.  The code to generate the SAS libref is as follows:

SAS Viya Viewing CAS Tables within SAS Studio Image 1

Once the code is run, you should be able to view all of the available caslibs as identified by the symbol:

SAS Viya Viewing CAS Tables within SAS Studio Image 2

These caslibs can be referenced as any other data set within SAS studio i.e. casuser.carscsvdata.

SAS Viya Viewing CAS Tables within SAS Studio Image 3

Within the log we can verify that this is running in CAS: 

SAS Viya Viewing CAS Tables within SAS Studio Image 4