|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Getting PCF Error 4091 on getting Q Usage Status |
« View previous topic :: View next topic » |
Author |
Message
|
tapak |
Posted: Tue Sep 05, 2006 11:22 am Post subject: Getting PCF Error 4091 on getting Q Usage Status |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
I am getting PCF Error 4091 on trying to get the QHandle . I dont find error code 4091 in PCF manual .
Error happens when I add the following line to get the Q handle
request.addParameter(CMQCFC.MQIACF_Q_STATUS_TYPE, CMQCFC.MQIACF_Q_HANDLE);
Has anyone faced similar error . Or is there anything wrong in the code.
Here is the code .
Code: |
// Convert the URL to a file object
agent = new PCFMessageAgent(qMgr);
System.out.println("Connected.");
// Build the request
request = new PCFMessage(CMQCFC.MQCMD_INQUIRE_Q_STATUS);
request.addParameter(CMQC.MQCA_Q_NAME, qname);
request.addParameter(CMQCFC.MQIACF_Q_STATUS_TYPE, CMQCFC.MQIACF_Q_HANDLE);
//request.addParameter(CMQCFC.MQIACF_Q_STATUS_TYPE, CMQCFC.MQIACF_Q_HANDLE);
System.out.print("Before Response... ");
// request.addParameter(CMQCFC.MQIACF_Q_ATTRS, new int [] { CMQCFC.MQIACF_ALL });
request.addParameter(CMQCFC.MQIACF_Q_ATTRS, new int [] { CMQC.MQCA_Q_NAME });
// Use the agent to send the request
System.out.print("Sending PCF request... ");
responses = agent.send(request);
System.out.println("Received reply."); |
Here is the error
Code: |
Connecting to queue managerConnected.
MQJE001: Completion Code 2, Reason 4091
Error in response:
Before Response... Sending PCF request... com.ibm.mq.pcf.PCFMessage:
com.ibm.mq.pcf.MQCFH:
- type: 2
- strucLength: 36
- version: 1
- command: 41
- msgSeqNumber: 1
- control: 1
- compCode: 2
- reason: 4091
- parameterCount: 0 |
|
|
Back to top |
|
 |
wschutz |
Posted: Tue Sep 05, 2006 11:30 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Does this help:
Quote: |
mqrc 4091
4091 0x00000ffb MQRCCF_Q_STATUS_NOT_FOUND |
_________________ -wayne |
|
Back to top |
|
 |
tapak |
Posted: Tue Sep 05, 2006 11:57 am Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Thanks Wayne . I created a client connection and it worked . I guess the manual need to be updated with the error code. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 05, 2006 12:06 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
tapak wrote: |
Thanks Wayne . I created a client connection and it worked . I guess the manual need to be updated with the error code. |
There's a feedback button at the bottom of every page in the Info Center.
The documenters are fairly responsive to this. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
tapak |
Posted: Tue Sep 05, 2006 12:35 pm Post subject: |
|
|
 Centurion
Joined: 26 Oct 2005 Posts: 149 Location: Hartford,CT
|
Thanks Jeff . I send a feedback message. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|