<?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 Re: cas table action in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778782#M1184</link>
    <description>&lt;P&gt;Add the code as image is not very helpful, it is better to either use the "insert code" or "insert SAS code" from the toolbar when adding code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also see only parts of the code and not the complete code. Adding the complete log will help as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A description of what you want to achieve helps as well in understanding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using the&amp;nbsp;UUIDMAC= option on the CAS statement, any particular reason for this?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 14:31:59 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2021-11-05T14:31:59Z</dc:date>
    <item>
      <title>cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778691#M1163</link>
      <description>&lt;P&gt;something weird that i need you guys help pls&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. program in loop to delete data from a cas table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. if the loop less than 10 , the program was able to executed nicely&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. if more , the looping goes by day in few month , then the misbehavior happens , it seems locking happened to the cas table .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. do the syserrortext it shown this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_0-1636111974743.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65433i18D7BFDD663AFEA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_0-1636111974743.png" alt="elisehoo1_0-1636111974743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;5. it is not a parallel run process , it is looping, one by one it hitting the table to delete some records.&lt;/P&gt;
&lt;P&gt;6. noticed similar happened when another program keep append 1 record to the cas table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7. record size is small , less than 100 record ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SYSERRORTEXT=The request to start or connect to a session failed. Specify a UUID to connect to an existing session or specify a &lt;BR /&gt;session name, port and host name to start a session.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_1-1636111982283.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65434i8A24DF50766F587B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_1-1636111982283.png" alt="elisehoo1_1-1636111982283.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H2&gt;The request cannot be submitted to session....The session is&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778691#M1163</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T11:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778692#M1164</link>
      <description>&lt;P&gt;Have you had a chance to check the CAS server logs?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778692#M1164</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2021-11-05T11:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778693#M1165</link>
      <description>&lt;P&gt;sorry , where does the log locate ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778693#M1165</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T11:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778697#M1167</link>
      <description>On the CAS server in /opt/sas/viya/config/var/log/cas/default/ directory.</description>
      <pubDate>Fri, 05 Nov 2021 11:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778697#M1167</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2021-11-05T11:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778709#M1170</link>
      <description>&lt;P&gt;the error i observed from studio and the&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;
&lt;DIV class="forum-topic-flex-article"&gt;
&lt;DIV class="forum-article"&gt;
&lt;DIV class="forum-post"&gt;
&lt;DIV id="bodyDisplay_fe801bd710aa8" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;/opt/sas/viya/config/var/log/cas/default/ directory --"caslaunch_default_controller_daemon.e&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_0-1636113396717.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65437iF86B32D9FD09CB72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_0-1636113396717.png" alt="elisehoo1_0-1636113396717.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_1-1636113445106.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65438iE1DD6EBA10353891/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_1-1636113445106.png" alt="elisehoo1_1-1636113445106.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there any option i need to add into the code to prevent such issues ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 11:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778709#M1170</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T11:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778713#M1171</link>
      <description>&lt;P&gt;Your log shows this: "The session is busy running actions that where submitted with the ASYNC= option.".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a particular reason for you to use the ASYNC= option?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 12:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778713#M1171</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-11-05T12:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778716#M1172</link>
      <description>What version of SAS Viya are you currently using? 3.4 or 3.5?</description>
      <pubDate>Fri, 05 Nov 2021 12:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778716#M1172</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2021-11-05T12:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778717#M1173</link>
      <description>nope, just i dont how to turn it off , i guess it is some default setting ? &lt;BR /&gt;my code pretty simple , never mention about this part.&lt;BR /&gt; may i know how to turn off this option ? &lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Fri, 05 Nov 2021 12:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778717#M1173</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778718#M1174</link>
      <description>its 3.5 ,tq</description>
      <pubDate>Fri, 05 Nov 2021 12:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778718#M1174</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T12:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778719#M1175</link>
      <description>ASYNC= is typically used for parallel action execution. It is not something that is set by default. I guess it is best to share the code with the loop and the actions called within the loop.</description>
      <pubDate>Fri, 05 Nov 2021 12:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778719#M1175</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-11-05T12:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778724#M1176</link>
      <description>This is SAS Studio on SAS Viya or SAS 9?</description>
      <pubDate>Fri, 05 Nov 2021 12:25:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778724#M1176</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2021-11-05T12:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778755#M1177</link>
      <description>&lt;P&gt;here the code :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_0-1636118303472.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65442iD28E967742AEC9EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_0-1636118303472.png" alt="elisehoo1_0-1636118303472.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_1-1636118355807.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65443iC73BA5F1AA4D889C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_1-1636118355807.png" alt="elisehoo1_1-1636118355807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i wrote the common macro , and the macro was called in the loop .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;further questions:&lt;/P&gt;
&lt;P&gt;1. what is conditional that cas table will be flushed from&amp;nbsp; memory ? i did one step to&amp;nbsp; save the sashdat .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. but i notice if i didnt load back the cas table from sashdat in momory , and execute my code the data will be replaced with the new data instead from recovery . any precaution step i can do ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32"&gt;@BrunoMueller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 13:22:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778755#M1177</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778761#M1179</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elisehoo1_0-1636118720431.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65445i532A4DDC148220DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elisehoo1_0-1636118720431.png" alt="elisehoo1_0-1636118720431.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;further questions&lt;/P&gt;
&lt;P&gt;3.and i tried to add cas session into the auto exec but it does not seem working , is there particular reason why it does not work in autoexec file ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 13:26:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778761#M1179</guid>
      <dc:creator>elisehoo1</dc:creator>
      <dc:date>2021-11-05T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778782#M1184</link>
      <description>&lt;P&gt;Add the code as image is not very helpful, it is better to either use the "insert code" or "insert SAS code" from the toolbar when adding code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also see only parts of the code and not the complete code. Adding the complete log will help as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A description of what you want to achieve helps as well in understanding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using the&amp;nbsp;UUIDMAC= option on the CAS statement, any particular reason for this?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 14:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/778782#M1184</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-11-05T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/785924#M1274</link>
      <description>&lt;P&gt;I have the similiar issue. here is my code.&lt;/P&gt;&lt;PRE&gt;cas mySession1 sessopts=(caslib=casuser timeout=1800 locale="en_US");

/*Assign all caslibs*/
caslib _ALL_ assign;

PROC FEDSQL sessref=mySession1 label;
SELECT COUNT (col1)
      FROM table;
quit;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Dec 2021 01:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/785924#M1274</guid>
      <dc:creator>sridatae</dc:creator>
      <dc:date>2021-12-14T01:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: cas table action</title>
      <link>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/785939#M1275</link>
      <description>Posting the log would be helpull to see what kinf of error you get. If it is not the same error as mentioned by the author of this topic I would start a new topic.</description>
      <pubDate>Tue, 14 Dec 2021 07:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/cas-table-action/m-p/785939#M1275</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-12-14T07:23:38Z</dc:date>
    </item>
  </channel>
</rss>

