- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MQueue API returns MQRC_UNEXPECTED_ERROR.
Operating System - HP-UX
1820636
Members
1867
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 05:19 AM
тАО10-24-2005 05:19 AM
MQueue API returns MQRC_UNEXPECTED_ERROR.
Hi All,
We have an application running on HPUX that uses MQueue v5.2 libraries. This was working fine in the development environment but MQueue API gives the following error "MQRC_UNEXPECTED_ERROR" when we try running the application at the client site.
The Client has an MQueue v5.2 client installed on an HPUX machine. We are exporting the following line "export MQSERVER=S_xyzstp2/TCP/xyzstp2" before running the executable that calls the MQueue API.
We are able to ping the machine "xyzstp2" after putting the name "xyzstp2" in /etc/hosts directory. The IBM websphere MQueue v5.3 server has been installed on the machine "xyzstp2".
Any inputs on what we may be missing out will be of great help.
Thank you.
We have an application running on HPUX that uses MQueue v5.2 libraries. This was working fine in the development environment but MQueue API gives the following error "MQRC_UNEXPECTED_ERROR" when we try running the application at the client site.
The Client has an MQueue v5.2 client installed on an HPUX machine. We are exporting the following line "export MQSERVER=S_xyzstp2/TCP/xyzstp2" before running the executable that calls the MQueue API.
We are able to ping the machine "xyzstp2" after putting the name "xyzstp2" in /etc/hosts directory. The IBM websphere MQueue v5.3 server has been installed on the machine "xyzstp2".
Any inputs on what we may be missing out will be of great help.
Thank you.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 06:18 AM
тАО10-24-2005 06:18 AM
Re: MQueue API returns MQRC_UNEXPECTED_ERROR.
The "Messages" manual says, in part, for this error, "check the applications parameter list to ensure ... correct number of parameters is being passed, data pointers and storage keys are valid, ..."
Also, the documentation says to set the MQSERVER variable with the ip address of the MQ server, not the name, and a port number is required, like this:
export MQSERVER=CHANNEL1/TCP/'server-address(port)'
Also, there is a test program that comes with the client, usually in /opt/mqm/samp/bin/, called amqsputc. The "Quick Beginnings" manual describes how to use it to test the client installation.
- John
Also, the documentation says to set the MQSERVER variable with the ip address of the MQ server, not the name, and a port number is required, like this:
export MQSERVER=CHANNEL1/TCP/'server-address(port)'
Also, there is a test program that comes with the client, usually in /opt/mqm/samp/bin/, called amqsputc. The "Quick Beginnings" manual describes how to use it to test the client installation.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 06:49 AM
тАО10-24-2005 06:49 AM
Re: MQueue API returns MQRC_UNEXPECTED_ERROR.
Hi,
We had tried export MQSERVER=CHANNEL1/TCP/'server-address(port)' but we got the same error as mentioned earlier.
Can you please elaborate on the following -> The "Messages" manual says, in part, for this error, "check the applications parameter list to ensure ... correct number of parameters is being passed, data pointers and storage keys are valid, ..."
Thanks
We had tried export MQSERVER=CHANNEL1/TCP/'server-address(port)' but we got the same error as mentioned earlier.
Can you please elaborate on the following -> The "Messages" manual says, in part, for this error, "check the applications parameter list to ensure ... correct number of parameters is being passed, data pointers and storage keys are valid, ..."
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:05 AM
тАО10-24-2005 07:05 AM
Re: MQueue API returns MQRC_UNEXPECTED_ERROR.
There is not much else useful in the description of that message.
You should be able to view the manual here:
http://publibfp.boulder.ibm.com/epubs/html/amqzao04/amqzao04tfrm.htm
There does not appear to be a v5.2 specific manual; I found a 5.1 and a 5.3. You can search for other documents, and get downloadable PDFs, here: http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/index.html
I really think you're going to need the port in the MQSERVER specification.
Don't neglect the client verification procedure described in the Quick Beginnings manual, PDF here: http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi?CTY=US&FNC=SRX&PBL=GC34-6077-01
- John
You should be able to view the manual here:
http://publibfp.boulder.ibm.com/epubs/html/amqzao04/amqzao04tfrm.htm
There does not appear to be a v5.2 specific manual; I found a 5.1 and a 5.3. You can search for other documents, and get downloadable PDFs, here: http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/index.html
I really think you're going to need the port in the MQSERVER specification.
Don't neglect the client verification procedure described in the Quick Beginnings manual, PDF here: http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi?CTY=US&FNC=SRX&PBL=GC34-6077-01
- John
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP