• 2 replies
  • Latest Post - ‏2017-05-28T01:48:57Z by MoragH
8523 Posts

Pinned topic New MQ Header(RFH2) in Cobol/Mainframe

‏2002-08-07T10:13:10Z |
Hi All,

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

-- - USENET Gateway
  • RahulBhave4684
    1 Post

    Re: New MQ Header(RFH2) in Cobol/Mainframe



    I am still facing the same problem, could you please inform me if you have got any solution for the same???




  • MoragH
    131 Posts

    Re: New MQ Header(RFH2) in Cobol/Mainframe


    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.