Originally posted by: SystemAdmin
MQMD headers are not the part of request i think you mean MQRFH or MQIMS header based on your transaction type at back end. To do so create a MQRFH2 type tree and put that tree as output card before the request and set the appropriate values. sample rfh header type tree is attached. and to send the MQMD header along with request use xsl and set mqmd header like below.
<xsl:variable name="RFH2">
<MQRFH2>
<StrucId>RFH</StrucId>
<Version>2</Version>
<Format>MQSTR</Format>
<NameValueData>
<NameValue>
<mcd>
<Msd>jms_text</Msd>
</mcd>
</NameValue>
<NameValue>
<jms>
<Tms>
<xsl:value-of select="$time" />
</Tms>
<Dst>
<xsl:value-of select="concat('queue:///',$mqueue)" />
</Dst>
<Dlv>2</Dlv>
</jms>
</NameValue>
<NameValue>
<usr>
<myproperty1>123456</myproperty1>
<myproperty2>helloworld</myproperty2>
</usr>
</NameValue>
</NameValueData>
</MQRFH2>
</xsl:variable>
<xsl:variable name="rfh2Str">
<dp:serialize select="$RFH2" omit-xml-decl="yes" />
</xsl:variable>
<dp:set-request-header name="'MQRFH2'" value="$rfh2Str" />
Thanks
Abhishek
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender