<?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: SAS Viya MQ Configuration in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-MQ-Configuration/m-p/609045#M177300</link>
    <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301443"&gt;@brunolimaq&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I can see that the code you are referencing in your post is part of the examples present in this link - &lt;A href="https://documentation.sas.com/?docsetId=appmsgdg&amp;amp;docsetTarget=p0scb9ccs24n7ln187f8bu64crpl.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1nqgbkkivsq2xn15nhwvk37jae2" target="_blank"&gt;https://documentation.sas.com/?docsetId=appmsgdg&amp;amp;docsetTarget=p0scb9ccs24n7ln187f8bu64crpl.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1nqgbkkivsq2xn15nhwvk37jae2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kindly note this example is for 9.4 platform which is based on Apache ActiveMQ. However Viya uses RabbitMQ. I am sure there would be differences between the two.&lt;BR /&gt;&lt;BR /&gt;I would suggest you to raise a TS track to get idea on how to do the same for Viya.</description>
    <pubDate>Tue, 03 Dec 2019 13:58:01 GMT</pubDate>
    <dc:creator>AnandVyas</dc:creator>
    <dc:date>2019-12-03T13:58:01Z</dc:date>
    <item>
      <title>SAS Viya MQ Configuration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-MQ-Configuration/m-p/608317#M177021</link>
      <description>&lt;DIV&gt;I am trying to send/receive messages to a row MQ using SAS Studio&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Configure in SASStudio JVM CLASSPATH an ActiveMQ library, however, when executing error code "ERROR 23-2: Invalid option name URL", which appears to be pq or SASStudio does not describe JMS.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CODE:&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
&amp;nbsp; &amp;nbsp; file 'myqueue' activemq url='http://localhost:8161/api/message'
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user=admin pass=admin;
&amp;nbsp; &amp;nbsp; format a datetime21.1;
&amp;nbsp; &amp;nbsp; a = datetime(); put a ' Testing: 1 2';
&amp;nbsp; &amp;nbsp; a = datetime(); put a +1 'This is a test. 3 4';
&amp;nbsp; &amp;nbsp; a = datetime();
&amp;nbsp; &amp;nbsp; put a @22 'This is only a test. 5 6';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ERROR:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
&amp;nbsp;72 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp;73 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data _null_;
&amp;nbsp;74 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file 'myqueue' activemq url='http://localhost:8161/api/message'
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ___
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23
&amp;nbsp;ERROR 23-2: Invalid option name URL.

&amp;nbsp;75 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user=admin pass=admin;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ____
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23
&amp;nbsp;ERROR 23-2: Invalid option name USER.

&amp;nbsp;75 &amp;nbsp; &amp;nbsp; &amp;nbsp; ! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user=admin pass=admin;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;____
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23
&amp;nbsp;ERROR 23-2: Invalid option name PASS.

&amp;nbsp;76 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; format a datetime21.1;
&amp;nbsp;77 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a = datetime(); put a ' Testing: 1 2';
&amp;nbsp;78 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a = datetime(); put a +1 'This is a test. 3 4';
&amp;nbsp;79 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a = datetime();
&amp;nbsp;80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; put a @22 'This is only a test. 5 6';
&amp;nbsp;81 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; run;

&amp;nbsp;NOTE: The SAS System stopped processing this step because of errors.
&amp;nbsp;NOTE: DATA statement used (Total process time):
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;real time &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.00 seconds
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cpu time &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01 seconds
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;

&amp;nbsp;82 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp;83 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp;84 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
&amp;nbsp;97 &lt;/CODE&gt;&lt;/PRE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Configuration:&lt;/DIV&gt;&lt;DIV&gt;&lt;LI-SPOILER&gt;&lt;DIV&gt;[root@a-dtes-pvx06 viya]# ps auxww | grep sasstudio &amp;nbsp;| grep -i mq&lt;/DIV&gt;&lt;DIV&gt;sas &amp;nbsp; &amp;nbsp; &amp;nbsp;25439 &amp;nbsp;6.7 &amp;nbsp;0.2 2856704 614476 ? &amp;nbsp; &amp;nbsp; &amp;nbsp;Sl &amp;nbsp; 16:20 &amp;nbsp; 1:22 /usr/lib/jvm/jre-1.8.0/bin/java -Xms256M -Xmx1024M -Dsasstudio.home=/opt/sas/viya/home/SASStudio -Dsasstudio.appserver.logdir=/opt/sas/viya/config/var/log/sasstudio/default -Dsasstudio.appserver.confdir=/opt/sas/viya/config/etc/sasstudio/default -Dsasstudio.deployment.deployid=viya -Dsasstudio.deployment.productid=sasstudio -Dsasstudio.deployment.instanceid=default -Djava.io.tmpdir=/opt/sas/viya/config/var/tmp/sasstudio/default -Dcertframe.home=/opt/sas/viya/home/SASSecurityCertificateFramework -Dcertframe.confdir=/opt/sas/viya/config/etc/SASSecurityCertificateFramework -Dsasstudio.appserver.consul.baseurl=https://localhost:8501 -Djava.security.egd=file:/dev/urandom -Djava.library.path=/opt/sas/activemq/apache-activemq-5.15.10/lib -classpath /opt/sas/viya/home/SASStudio/lib/sas.sasstudio.host.jar:/opt/sas/viya/home/SASStudio/lib/sas.sasstudio.viya.jar:/opt/sas/viya/home/SASStudio/lib/spring-web-4.3.16.RELEASE.jar:/opt/sas/viya/home/SASStudio/lib/jackson-databind-2.8.11.1.jar:/opt/sas/viya/home/SASStudio/lib/jackson-annotations-2.8.0.jar:/opt/sas/viya/home/SASStudio/lib/tomcat-embed-jasper-8.5.29.jar:/opt/sas/viya/home/SASStudio/lib/tomcat-embed-core-8.5.29.jar:/opt/sas/viya/home/SASStudio/lib/spring-context-4.3.16.RELEASE.jar:/opt/sas/viya/home/SASStudio/lib/spring-aop-4.3.16.RELEASE.jar:/opt/sas/viya/home/SASStudio/lib/spring-beans-4.3.16.RELEASE.jar:/opt/sas/viya/home/SASStudio/lib/spring-expression-4.3.16.RELEASE.jar:/opt/sas/viya/home/SASStudio/lib/spring-core-4.3.16.RELEASE.jar:/opt/sas/viya/home/SASStudio/lib/jackson-core-2.8.10.jar:/opt/sas/viya/home/SASStudio/lib/tomcat-annotations-api-8.5.29.jar:/opt/sas/viya/home/SASStudio/lib/javax.servlet-api-3.1.0.jar:/opt/sas/viya/home/SASStudio/lib/log4j-1.2-api-2.8.2.jar:/opt/sas/viya/home/SASStudio/lib/tomcat-embed-el-8.5.29.jar:/opt/sas/viya/home/SASStudio/lib/ecj-3.12.3.jar:/opt/sas/viya/home/SASStudio/lib/commons-logging-1.2.jar:/opt/sas/viya/home/SASStudio/lib/log4j-core-2.8.2.jar:/opt/sas/viya/home/SASStudio/lib/log4j-api-2.8.2.jar:&lt;STRONG&gt;/opt/sas/activemq/apache-activemq-5.15.10/activemq-all-5.15.10.jar&lt;/STRONG&gt; com.sas.studio.host.SASStudioApplication&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI-SPOILER&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Where do I have to configure ActiveMQ LIB to be recognized by SASStudio?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;VERSION : SAS Viya® 3.4&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bruno Queiroz&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2019 18:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-MQ-Configuration/m-p/608317#M177021</guid>
      <dc:creator>brunolimaq</dc:creator>
      <dc:date>2019-11-29T18:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya MQ Configuration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-MQ-Configuration/m-p/609045#M177300</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/301443"&gt;@brunolimaq&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I can see that the code you are referencing in your post is part of the examples present in this link - &lt;A href="https://documentation.sas.com/?docsetId=appmsgdg&amp;amp;docsetTarget=p0scb9ccs24n7ln187f8bu64crpl.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1nqgbkkivsq2xn15nhwvk37jae2" target="_blank"&gt;https://documentation.sas.com/?docsetId=appmsgdg&amp;amp;docsetTarget=p0scb9ccs24n7ln187f8bu64crpl.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1nqgbkkivsq2xn15nhwvk37jae2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kindly note this example is for 9.4 platform which is based on Apache ActiveMQ. However Viya uses RabbitMQ. I am sure there would be differences between the two.&lt;BR /&gt;&lt;BR /&gt;I would suggest you to raise a TS track to get idea on how to do the same for Viya.</description>
      <pubDate>Tue, 03 Dec 2019 13:58:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-MQ-Configuration/m-p/609045#M177300</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-12-03T13:58:01Z</dc:date>
    </item>
  </channel>
</rss>

