ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » reason code 3015: Parameter identifier is not valid

Post new topic  Reply to topic
 reason code 3015: Parameter identifier is not valid « View previous topic :: View next topic » 
Author Message
SSusanne
PostPosted: Wed May 12, 2004 12:29 am    Post subject: reason code 3015: Parameter identifier is not valid Reply with quote

Newbie

Joined: 04 Mar 2004
Posts: 2

Hi,
I want to check the status of only some queues of a queue manager but I get the reason code 3015 (MQRCCF_CFST_PARM_ID_ERROR: Explanation: Parameter identifier is not valid. The MQCFST Parameter field value was not valid. Programmer Response: Specify a valid parameter identifier.)

I use the following code:

String[] someQueues = {"SYSTEM.ADMIN.CHANNEL.EVENT", "SYSTEM.CHANNEL.INITQ"};
PCFParameter[] parameters = {
new MQCFSL(CMQC.MQCA_Q_NAME, someQueues),
new MQCFIL(CMQCFC.MQIACF_Q_ATTRS, attributes)};

try {
responses = agent.send(CMQCFC.MQCMD_INQUIRE_Q, parameters);
int responseLength = responses.length;
for (int i = 0; i < responseLength; i++) {
cfh = new MQCFH(responses[i]);
// Check the PCF header (MQCFH) in the response message
if (cfh.reason == 0) { // --> here the programm exits
.....}
}
}

The response length is 2. I think this is ok cause I want only check 2 queues.

To check the status of all queues of a queue manager works fine if I use this line instead:
new MQCFST(CMQC.MQCA_Q_NAME, "*")

What's wrong? What can I do? Here is the whole error code:
PCF error: com.ibm.mq.pcf.MQCFH:
- type: 2
- strucLength: 36
- version: 1
- command: 13
- msgSeqNumber: 1
- control: 0
- compCode: 2
- reason: 3015
- parameterCount: 1

com.ibm.mq.pcf.MQCFIN:
- type: 3
- strucLength: 16
- parameter: 1012
- value: 2016

Thanx for your help.
Susanne
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » reason code 3015: Parameter identifier is not valid
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.