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 IndexIBM MQ Java / JMSMQRCCF_CFBS_PARM_ID_ERROR

Post new topicReply to topic
MQRCCF_CFBS_PARM_ID_ERROR View previous topic :: View next topic
Author Message
pcouas
PostPosted: Mon Sep 02, 2019 12:24 am Post subject: MQRCCF_CFBS_PARM_ID_ERROR Reply with quote

Voyager

Joined: 06 Sep 2011
Posts: 76

Hi

I have following error message MQRCCF_CFBS_PARM_ID_ERROR (MQJE001: Code achvement '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
View user's profile Send private message
hughson
PostPosted: Mon Sep 02, 2019 2:00 am Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1271
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
View user's profile Send private message Visit poster's website
pcouas
PostPosted: Tue Sep 03, 2019 6:41 am Post subject: Reply with quote

Voyager

Joined: 06 Sep 2011
Posts: 76

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
View user's profile Send private message
hughson
PostPosted: Tue Sep 03, 2019 9:04 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1271
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
View user's profile Send private message Visit poster's website
pcouas
PostPosted: Wed Sep 04, 2019 3:40 am Post subject: Reply with quote

Voyager

Joined: 06 Sep 2011
Posts: 76

Hi

my problem was with "destname" field
I have compare simple java test PCFPARAMETER with my own PCFPARAMETER in debug Mode
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Sep 04, 2019 3:30 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1271
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
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSMQRCCF_CFBS_PARM_ID_ERROR
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.