Removing the RFH2 heading
843830Jan 9 2002 — edited Oct 11 2005I'm writing a java program sending messages from UNIX (Sun Solaris) to mainframe (CICS). I use MQ Series and the java program uses JMS, but the mainframe side is not using JMS. Currently my program puts a message through and the mainframe side can retrieve it. The problem is that the message generated by the JMS program places a RFH2 (may not be the correct name) header in front of the actual data portion.
I think I may be able to use JMSAdmin to specify that the target client is non JMS, but I thought one can do this within the program itself, which is necessary when the target client is a reply queue name comes with another message. So if I have a Queue object which is the target queue name, how can I flag this object to be non JMS?