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

Hi all!

 

I'm new in using SAS Viya and I have the following case:

 

I  need to load/append the same table  to CAS every day

This table then used in SAS Viya 3.3 (actually in SAS VA) report.

 

The table

1. must be accessible to other users in SAS Viya - so I assume it should be in the Public library

     because when user create report based on a cas table from his own library this report is not working for other users 

     They see error : The data source used by object failed to load

2. need to have the same name because it's used in daily reports

 

By this moment I came to this approach:

 

1. drop table from CAS lib

2. load data with the same name to  Public caslib with PROMOTE option

 

But it takes time to load the whole table every time, so may be it's possible to make append?

We used append in LASR but I searched documentation I didn't find any solution to append existing global table.

 

This article describes only how to append table in your casuser library not to the Public one

https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table...

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
34reqrwe
Quartz | Level 8

 

This article describes only how to append table in your casuser library not to the Public one

https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table...

 

 

 


the method is the same , you just need to change the caslib reference to be your public library

View solution in original post

1 REPLY 1
34reqrwe
Quartz | Level 8

 

This article describes only how to append table in your casuser library not to the Public one

https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table...

 

 

 


the method is the same , you just need to change the caslib reference to be your public library

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1506 views
  • 1 like
  • 2 in conversation