× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Actually message: MQJMS2005: failed to create MQQueueManager for 'RD037AA'is
really just a general 'effect' message.

I was able to get the linked exception ('cause') which gives more specific
information:
MQJE001: Completion Code 2, Reason 2012.

Completion code 2 means that an MQ call has failed.

Reason Code 2012 is MQRC_ENVIRONMENT_ERROR. The description for this code is
that the call is not valid in environment.

To recover from this, one of the two following corrective actions is
recommended:

1.Link the application with the correct libraries (threaded or nonthreaded).

2.Remove from the application the call that is not supported. 

http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/amqzao
/amqzao0m.htm

Also, saw an IBM FAQ that states that this exception could be caused if the
environment variable QIBM_MULTI_THREADED was not set. However, I had already
set this via ADDENVVAR:

http://www-304.ibm.com/jct09002c/isv/tech/faq/individual.jsp?oid=1:88404

This seems to agree with my earlier thoughts that this was an environmental
problem relating to the RPG call environment since the class runs ok and
sends the MQ message when called from Qshell.

Barbara:
I did a DMPJVM for both environments as you suggested but couldn't see any
differences.
I'm wondering whether upgrading to jvm 1.4 would benefit but the classes
appear to run ok at jvm 1.3 when running from Qshell?

Thanks,

Keith



The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB

Authorised and regulated by the Financial Services Authority.

This e-mail message is confidential and for use by the addressee only. If the 
message is received by anyone other than the addressee, please return the 
message to the sender by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The Royal Bank of 
Scotland plc does not accept responsibility for changes made to this message 
after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of viruses, 
it is the responsibility of the recipient to ensure that the onward 
transmission, opening or use of this message and any attachments will not 
adversely affect its systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry out 
such virus and other checks as it considers appropriate.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.