Fundamental
New Member
Maybe someone more experienced in AIX and/or MQ-series can help me with the following:
Environment: Progress 9.1B on AIX 4.3
We are trying to use IBM MQ-series library 'libmqic.a'.
On the load of the library we get Progress error #3258 "Could not load DLL procedure <procedure>. (3258)".
- We checked the permissions on the libraries: the library can be read by all available library tools.
- The library exists on the specified location using a symbolic link
- The code is compiled using Progess 9.1C05 character mode Win2000.
- The code is executed using Progress 9.1B14 charcter mode AIX 4.3
- MQ has separate libraries for non-threaded and threaded applications. I've tried both but none of them
could be loaded.
I've developed this on a Linux system using library 'libmqic.so' where it works fine.
Therefore I think the most likely reason for not loading the library should be found in AIX or MQ-series.
Can you give me a hint where to look next?
Code example:
&GLOBAL-DEFINE DllFile "/usr/lib/libmqic.a"
&GLOBAL-DEFINE MQHCONN LONG
&GLOBAL-DEFINE MQCHAR CHARACTER
&GLOBAL-DEFINE MQLONG LONG
PROCEDURE MQCONN EXTERNAL {&DllFile} CDECL :
DEFINE INPUT PARAMETER picMQQueueMngrName AS {&MQCHAR}. /* Name of queue manager */
DEFINE OUTPUT PARAMETER poiMQQueueMngr AS {&MQHCONN}. /* Connection handle */
DEFINE OUTPUT PARAMETER poiMQCompCode AS {&MQLONG}. /* Completion code */
DEFINE OUTPUT PARAMETER poiMQReasonCode AS {&MQLONG}. /* Reason code qualifying CompCode */
END PROCEDURE. /* MQCONN */
Environment: Progress 9.1B on AIX 4.3
We are trying to use IBM MQ-series library 'libmqic.a'.
On the load of the library we get Progress error #3258 "Could not load DLL procedure <procedure>. (3258)".
- We checked the permissions on the libraries: the library can be read by all available library tools.
- The library exists on the specified location using a symbolic link
- The code is compiled using Progess 9.1C05 character mode Win2000.
- The code is executed using Progress 9.1B14 charcter mode AIX 4.3
- MQ has separate libraries for non-threaded and threaded applications. I've tried both but none of them
could be loaded.
I've developed this on a Linux system using library 'libmqic.so' where it works fine.
Therefore I think the most likely reason for not loading the library should be found in AIX or MQ-series.
Can you give me a hint where to look next?
Code example:
&GLOBAL-DEFINE DllFile "/usr/lib/libmqic.a"
&GLOBAL-DEFINE MQHCONN LONG
&GLOBAL-DEFINE MQCHAR CHARACTER
&GLOBAL-DEFINE MQLONG LONG
PROCEDURE MQCONN EXTERNAL {&DllFile} CDECL :
DEFINE INPUT PARAMETER picMQQueueMngrName AS {&MQCHAR}. /* Name of queue manager */
DEFINE OUTPUT PARAMETER poiMQQueueMngr AS {&MQHCONN}. /* Connection handle */
DEFINE OUTPUT PARAMETER poiMQCompCode AS {&MQLONG}. /* Completion code */
DEFINE OUTPUT PARAMETER poiMQReasonCode AS {&MQLONG}. /* Reason code qualifying CompCode */
END PROCEDURE. /* MQCONN */