BookmarkSubscribeRSS Feed
Pyrite | Level 9

good afternoon,

I was wondering how to export data sources between viya environments. I have only found something like below, but this exports the definition of the caslib but it does not export the data sources. How to do that? I have CLI. Pls advise.


Export the Sales Data caslib.

/opt/sas/viya/home/bin/sas-admin --output json cas caslibs show-info --name "Sales Data" --server=cas-shared-default > /tmp/salescaslib.json

Amethyst | Level 16

Hello @touwen_k ,


the import and export functionality is mainly for the "metadata" in SAS Viya, hence the definitions. The actual data you can copy and re-use as long as you have the formats in place as well.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2 in conversation