BookmarkSubscribeRSS Feed
John89
Calcite | Level 5

Hi - When I import data into SAS Viya using the manage data tab, this data is not immediately available within the file structures in 'Develop code' tab, is there a libname statement required to access this data? I am able to view data in sas studio which has been imported in SAS drive.

3 REPLIES 3
FredrikE
Rhodochrosite | Level 12

Hi!

When you import data using VA it will be loaded into memory.

 

To be able to use this in studio you will need to create a CAS session and define a libname.

 

Something like this:

 

cas mysession;

libname mylib cas caslib=casuser;  (or whatever cas libname you loaded the data into 🙂 )

 

You should be able to see the libname in studio.

 

//Fredrik

John89
Calcite | Level 5
Is this the same when it is loaded into manage date rather than VA?
Pmyosh
Obsidian | Level 7
When you import the data using Manage Data module, you have to click the Thunderbolt icon(somewhere in the upper right corner) to load the data into the memory.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2446 views
  • 1 like
  • 3 in conversation