Pinned topic New MQ Header(RFH2) in Cobol/Mainframe
Is it possible to add some header to MQ message in cobol
application on OS390.
In fact, in JMS application we can add header like
textMessage.setStringProperty("property_name","property_value"); is any
equivalant is possible in Cobol Application on Mainframe?
Thanks in advance rakesh
www.MainFrameForum.com - USENET Gateway
RahulBhave4684 50PU00UBNU1 Post
MoragH 310000CW9A131 Posts
Re: New MQ Header(RFH2) in Cobol/Mainframe2017-05-28T01:48:57ZThis is the accepted answer. This is the accepted answer.
When the question was asked in 2002 there was no easy solution. However, these days with any version of MQ at V7 or later, you can use the message properties APIs to set properties and get the same functionally as JMS. Look at MQSETMP verb in Knowledge Center for more information. There are also online presentations and articles about MQ Message Property APIs if you search.