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 » Mainframe, CICS, TXSeries » 2442 (MQRC_PROPERTY_NAME_ERROR) in MQSETMP call in MQ-COBOL

Post new topic  Reply to topic
 2442 (MQRC_PROPERTY_NAME_ERROR) in MQSETMP call in MQ-COBOL « View previous topic :: View next topic » 
Author Message
Vicky2026
PostPosted: Thu Apr 17, 2014 8:21 am    Post subject: 2442 (MQRC_PROPERTY_NAME_ERROR) in MQSETMP call in MQ-COBOL Reply with quote

Newbie

Joined: 15 Apr 2014
Posts: 1

We have one requirement to send the RFH2 Header information with XML message to target queue.

Property name = TS_ENDService
Value = TestRequestProcessingServ/services/TestReqProcessingServ01

We are trying to use ‘MQSETMP’ call in MQ-COBOL program to set the above property and we are getting the reason code as 2442 (MQRC_PROPERTY_NAME_ERROR).

Below is the code we are using.

Code:
CALL 'MQCRTMH' USING W03-HCONN
                                    CRTMSGOPTS
                                    W03-HMSG
                                    W03-COMPCODE
                                    W03-REASON   
 
CALL 'MQCRTMH' USING W03-HCONN
                                     CRTMSGOPTS
                                     W03-HMSG
                                     W03-COMPCODE
                                     W03-REASON       
 
SET MQCHARV-VSPTR TO ADDRESS OF PROPERTYNAME
MOVE LENGTH OF PROPERTYNAME TO MQCHARV-VSLENGTH
MOVE TS-MQ-END-POINT OF CONFIG-REC TO W03-VALUE
MOVE LENGTH OF W03-VALUE TO W03-VALUELENGTH
MOVE MQPD-USER-CONTEXT TO MQPD-CONTEXT
MOVE MQTYPE-BYTE-STRING TO W03-TYPE
MOVE MQTYPE-STRING TO W03-TYPE               
CALL 'MQSETMP' USING W03-HCONN
                                    W03-HMSG
                                    SETMSGOPTS
                                    PROPERTYNAME
                                    PROPDESC
                                    W03-TYPE
                                    W03-VALUELENGTH
                                    W03-VALUE
                                    W03-COMPCODE
                                    W03-REASON
DISPLAY 'SETMP:'


Can someone let me know what is wrong here ??
Back to top
View user's profile Send private message
MQsysprog
PostPosted: Thu Apr 17, 2014 11:24 pm    Post subject: Reply with quote

Centurion

Joined: 24 Feb 2014
Posts: 116

Probably the problem lays in the name of the property you are trying to use ,here a snippet cut from the Ibm docs (infocenter V7 ):

2.A property must not be called, in any mixture of lower or uppercase

Hope it helps .
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 » Mainframe, CICS, TXSeries » 2442 (MQRC_PROPERTY_NAME_ERROR) in MQSETMP call in MQ-COBOL
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.