<?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 how can I run action in parallel mode in proc cas? in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561334#M355</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I found in some old documentation, the code below can be executed, but in viya 3.4, it leads to errors.How can I change the code to get the same result? many 3x! the code below is to explain the usage of async and sync.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;

      action sessionid result=uuid_2 status=mystatus_2

               async=asyncstatus;

      print "before sync: uuid_2=" uuid_2 " mystatus_2="

               mystatus_2;

      sync asyncstatus;

      print " after sync: uuid_2=" uuid_2 " mystatus_2="

               mystatus_2;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2019 08:26:00 GMT</pubDate>
    <dc:creator>david_wang</dc:creator>
    <dc:date>2019-05-24T08:26:00Z</dc:date>
    <item>
      <title>how can I run action in parallel mode in proc cas?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561334#M355</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I found in some old documentation, the code below can be executed, but in viya 3.4, it leads to errors.How can I change the code to get the same result? many 3x! the code below is to explain the usage of async and sync.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;

      action sessionid result=uuid_2 status=mystatus_2

               async=asyncstatus;

      print "before sync: uuid_2=" uuid_2 " mystatus_2="

               mystatus_2;

      sync asyncstatus;

      print " after sync: uuid_2=" uuid_2 " mystatus_2="

               mystatus_2;

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 08:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561334#M355</guid>
      <dc:creator>david_wang</dc:creator>
      <dc:date>2019-05-24T08:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: how can I run action in parallel mode in proc cas?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561513#M356</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can find no documentation at Viya 3.3 or 3.4 regarding a "sync" cas action or "sync" casl statement.&lt;/P&gt;
&lt;P&gt;In my Viya 3.4 environment, the satement "sync asyncstatus;" is causing this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: The action 'sync' was not submitted.&lt;BR /&gt;ERROR: Operand is not a list&lt;BR /&gt;ERROR: sync asyncstatus ;&lt;BR /&gt;ERROR: ^&lt;BR /&gt;ERROR: Execution halted&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But this code worked for you at Viya 3.3 ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 19:41:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561513#M356</guid>
      <dc:creator>ChrisLysholm</dc:creator>
      <dc:date>2019-05-24T19:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: how can I run action in parallel mode in proc cas?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561648#M357</link>
      <description>&lt;P&gt;Thanks for your help! the documentation I metioned above is not official, maybe it get something wrong I think.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 00:37:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/how-can-I-run-action-in-parallel-mode-in-proc-cas/m-p/561648#M357</guid>
      <dc:creator>david_wang</dc:creator>
      <dc:date>2019-05-27T00:37:58Z</dc:date>
    </item>
  </channel>
</rss>

