<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Append global table in CAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Append-global-table-in-CAS/m-p/492409#M129399</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new in using SAS Viya and I have the following case:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; need to load/append the same table&amp;nbsp; to&amp;nbsp;CAS every day&lt;/P&gt;&lt;P&gt;This table then used in SAS Viya 3.3 (actually&amp;nbsp;in SAS VA) report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;must be accessible to other users in SAS Viya - so I assume it&amp;nbsp;should be in the Public library&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;because when user create&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;report&amp;nbsp;based on a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cas&amp;nbsp;table&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from his own library this report is not working for other users&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;They see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;:&amp;nbsp;The&amp;nbsp;data source&amp;nbsp;used by object failed to load&lt;/P&gt;&lt;P&gt;2. need to have the same name because it's used in daily reports&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By this moment&amp;nbsp;I came to this approach:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. drop table from CAS lib&lt;/P&gt;&lt;P&gt;2. load data with the same name to&amp;nbsp; Public&amp;nbsp;caslib&amp;nbsp;with PROMOTE option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it takes time to load the whole table every time, so&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;may be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;it's possible to make append?&lt;/P&gt;&lt;P&gt;We used append in LASR but I searched documentation I didn't&amp;nbsp;find any solution to append existing global table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This article describes only how to append table in your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;casuser&amp;nbsp;library not to the Public one&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 18:32:24 GMT</pubDate>
    <dc:creator>BeNur</dc:creator>
    <dc:date>2018-09-04T18:32:24Z</dc:date>
    <item>
      <title>Append global table in CAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-global-table-in-CAS/m-p/492409#M129399</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new in using SAS Viya and I have the following case:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; need to load/append the same table&amp;nbsp; to&amp;nbsp;CAS every day&lt;/P&gt;&lt;P&gt;This table then used in SAS Viya 3.3 (actually&amp;nbsp;in SAS VA) report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;must be accessible to other users in SAS Viya - so I assume it&amp;nbsp;should be in the Public library&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;because when user create&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;report&amp;nbsp;based on a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cas&amp;nbsp;table&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from his own library this report is not working for other users&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;They see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;:&amp;nbsp;The&amp;nbsp;data source&amp;nbsp;used by object failed to load&lt;/P&gt;&lt;P&gt;2. need to have the same name because it's used in daily reports&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By this moment&amp;nbsp;I came to this approach:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. drop table from CAS lib&lt;/P&gt;&lt;P&gt;2. load data with the same name to&amp;nbsp; Public&amp;nbsp;caslib&amp;nbsp;with PROMOTE option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it takes time to load the whole table every time, so&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;may be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;it's possible to make append?&lt;/P&gt;&lt;P&gt;We used append in LASR but I searched documentation I didn't&amp;nbsp;find any solution to append existing global table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This article describes only how to append table in your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;casuser&amp;nbsp;library not to the Public one&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-global-table-in-CAS/m-p/492409#M129399</guid>
      <dc:creator>BeNur</dc:creator>
      <dc:date>2018-09-04T18:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Append global table in CAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-global-table-in-CAS/m-p/519848#M140893</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;This article describes only how to append table in your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;casuser&amp;nbsp;library not to the Public one&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/11/15/concurrent-data-append-and-update-to-a-global-cas-table/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the method is the same , you just need to change the caslib reference to be your public library&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 08:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-global-table-in-CAS/m-p/519848#M140893</guid>
      <dc:creator>34reqrwe</dc:creator>
      <dc:date>2018-12-10T08:06:08Z</dc:date>
    </item>
  </channel>
</rss>

