Posted: Wed May 12, 2004 12:29 am Post subject: reason code 3015: Parameter identifier is not valid
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
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