BookmarkSubscribeRSS Feed
BigRider
Obsidian | Level 7

Hi Fellows !

 

I´m trying to test a connection to a message broker from ACTIVE_MQ using the example in running from a SAS Studio session on SAS Vyia 3.4.

 

SAS Documentation

 

data null;
file 'myq' jms
jndiiCtxtFactory='org.apache.activemq.jndi.ActiveMQInitialContextFactory'
jndiProviderURL='tcp://192.168.8.23:61616'
connfactory='ConnectionFactory'
connopts='queue.myq=myq';
put 'This is a test message';
run;

However, I´m obtaining the following error:

 

ERROR 23-2: Invalid option name JNDIICTXTFACTORY.
 
Is it missing any componenet of SAS Installation or should I have to fix any sintax in my code? 
 
Is it work in SAS Vyia like 9.4 ?
 
this is the clearest example wich I found, If someone other example how to connect and get a message from a ACTIVE_MQ queue is welcome.
 
Thank in advance,
2 REPLIES 2
unison
Lapis Lazuli | Level 10

Looks like JNDIICTXTFACTORY isn't recognized. Could it be called JNDICONTEXTFACTORY? or JNDICONNECTIONFACTORY?

 

Just some ideas.

 

-unison

-unison
BigRider
Obsidian | Level 7

All the options are invalid and this is the standard sintax of the documentation example. Maybe, I´m missing something.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1398 views
  • 0 likes
  • 2 in conversation