|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
MQRCCF_CFBS_PARM_ID_ERROR |
« View previous topic :: View next topic » |
Author |
Message
|
pcouas |
Posted: Mon Sep 02, 2019 12:24 am Post subject: MQRCCF_CFBS_PARM_ID_ERROR |
|
|
Voyager
Joined: 06 Sep 2011 Posts: 79
|
Hi
I have following error message MQRCCF_CFBS_PARM_ID_ERROR (MQJE001: Code achèvement '2', Motif '3256'.)
I show error log file /var/mqm/qmgrs/QMx/errors$/AMQERR01.LOG but i could not find which parameter is bad !
Regards |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
hughson |
Posted: Mon Sep 02, 2019 2:00 am Post subject: |
|
|
![](images/avatars/810794940518bb946528b3.jpg) Padawan
Joined: 09 May 2013 Posts: 1916 Location: Bay of Plenty, New Zealand
|
Perhaps you could post us your code as well so we can help you determine which parameter is wrong. Alternatively, at least post the entire response message, and not just the reason code. If memory serves, the response message actually tells you the parameter ID it is complaining about.
Given the reason code though, I can't believe many PCF commands have a lot of MQCFBS (Byte String) fields in them, so that should certainly narrow it down quite a lot.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
pcouas |
Posted: Tue Sep 03, 2019 6:41 am Post subject: |
|
|
Voyager
Joined: 06 Sep 2011 Posts: 79
|
Hi
I have resolved my problem, i could create subscription from JSON
Regards
Code: |
curl -X POST \
'http://localhost:8080/subscription/create?Content-Type=application/json&hostname=lh-eqtess-mq&=' \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Authorization: Basic dDE5NDY1NjowOTA3NzFSY3RhIw==' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Length: 230' \
-H 'Content-Type: application/json' \
-H 'Host: localhost:8080' \
-H 'Postman-Token: 5a2482b7-eb9f-4f7e-afca-60cd6634ecce,eb469941-96f9-4326-aca8-bc0256e1d61f' \
-H 'User-Agent: PostmanRuntime/7.16.3' \
-H 'cache-control: no-cache' \
-d '{
"qmanager": "QTESS",
"name": "XXX",
"fieldmq": {
"subname": "PCSTEST2",
"topicstr": "/nico",
"destname":"SYSTEM.MQTT.PUBLICATION.QUEUE",
"destqmgr":"IEB_SUB_SAMPLE_1"
}
}'
|
|
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
hughson |
Posted: Tue Sep 03, 2019 9:04 pm Post subject: |
|
|
![](images/avatars/810794940518bb946528b3.jpg) Padawan
Joined: 09 May 2013 Posts: 1916 Location: Bay of Plenty, New Zealand
|
pcouas wrote: |
I have resolved my problem, i could create subscription from JSON |
So how did you solve it? What was the parameter ID in error?
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
pcouas |
Posted: Wed Sep 04, 2019 3:40 am Post subject: |
|
|
Voyager
Joined: 06 Sep 2011 Posts: 79
|
Hi
my problem was with "destname" field
I have compare simple java test PCFPARAMETER with my own PCFPARAMETER in debug Mode |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
hughson |
Posted: Wed Sep 04, 2019 3:30 pm Post subject: |
|
|
![](images/avatars/810794940518bb946528b3.jpg) Padawan
Joined: 09 May 2013 Posts: 1916 Location: Bay of Plenty, New Zealand
|
pcouas wrote: |
my problem was with "destname" field |
That is interesting. DESTNAME is not a bytes parameter. What parameter ID were you using - maybe you mixed it up with DESTCORL (MQBACF_DESTINATION_CORREL_ID) which is a bytes field?
Anyway, glad to hear it is working. Next time, please provide more information in your question so that we are able to help you.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
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
|
|
|
|