A couple of notes on NMQ_MQ_LIB and the WebSphere MQ aka MQSeries client libraries:
- NMQ_MQ_LIB specifies the MQ DLL to use
- Depending in your interface, the NMQ_MQ_LIB can be an environment variable, application setting, or hardcoded DLL name
- MQSeries 5.x and WebShpere MQ 6.x require you to specify the bitness in the MQIC DLL name (they don’t accept mqic.dll, but require mqic32.dll) when you access it from the C or Delphi interface.
MQM DLL does not require bitness: it is mqm.dll in all versions. - From client applications, use mqic.dll or mqic32.dll.
And a few links:
- C# – .NET client connecting to IBM MQ over SSL – Stack Overflow.
- WebSphere MQ 7: defining which connection type to use.
- WebSphere MQ 6: defining which connection type to use.
- MQSeries.net :: View topic – Connecting to an MQ Server without MQ Client installed.
- MQSeries.net :: View topic – NMQ_MQ_LIB=MQIC32.dll.
I needed this to get some apps talking to MQ on AS/400 aka iSeries aka System i working correctly by getting the DLLs right.
–jeroen
Filed under: .NET, AS/400 / iSeries / System i, Delphi, Development, MQ Message Queueing/Queuing, Software Development, WebSphere MQ