Usage Note 15291: MQCONN: failed with reason= -1 when using the SAS Interface to WebSphere
MQ
SAS code that uses the Interface to WebSphere MQ may fail with the
following message:
MQCONN: failed with reason= -1
The code may fail in SAS 9 even if the code ran successfully in SAS 8.2.
There are 3 items that need to be in place in order to run SAS 9 code
that interfaces with WebSphere MQ:
1.) Installation of the WebSphere MQ 64-bit client libraries on the
server.
The installation of the client libraries can be found in a support
pack found on IBM's site: (download the client libraries for the
appropriate system)
http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat3
ie. MQSeries Client Libraries for HP-UX (64-bit)
WebSphere MQ Client for Windows - V5.3
MQSeries Client Libraries for AIX (64-bit)
The page contains installation instructions and links to libraries
and headers. Only the libraries are needed to run with the SAS
Interface to Messaging.
2.) Set the WebSphere MQ environment variable "MQSERVER" to point to
Queue Manager.
3.) Set the MQMODEL variable in SAS before making any MQ calls:
%let MQMODEL=CLIENT;
Check the following link for details on setting the MQMODEL variable in
SAS.
http://support.sas.com/rnd/itech/doc9/dev_guide/messageq/ibmmq/mqappl.html
Operating System and Release Information
SAS System | SAS Integration Technologies | Microsoft Windows XP Professional | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
z/OS | 9.1 TS1M3 | |
64-bit Enabled Solaris | 9.1 TS1M3 | |
Linux on Itanium | 9.1 TS1M3 | |
Linux | 9.1 TS1M3 | |
OpenVMS Alpha | 9.1 TS1M3 | |
64-bit Enabled HP-UX | 9.1 TS1M3 | |
HP-UX IPF | 9.1 TS1M3 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
64-bit Enabled AIX | 9.1 TS1M3 | |
Tru64 UNIX | 9.1 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | |
Topic: | Third Party ==> Products ==> Message Queuing
|
Date Modified: | 2009-02-06 15:14:10 |
Date Created: | 2005-05-23 16:55:18 |