WMQ.GetRFH2Header (Magic xpa 3.x)
This program gets the data from the RFH2 header The parameters and return value for the WMQ.GetRFH2Header program are:
|
|
MQMsgHeader
|
BLOB. Optional input. If the message format is 7, the header BLOB must be in the format of an RFH2 structure.
|
MQHeaderDataIndex
|
Numeric. Optional input. The field or folder in the RFH2 header; the value to extract from the RFH2 header. The valid values are:
-
1: Encoding
-
2: CodedCharSetId
-
3: Format
-
4: NameValueCCSID
-
5: mcd folder
-
6: psc folder
-
7: pscr folder
-
8: usr folder
-
9: jms folder
|
MQHeaderData
|
BLOB. Optional output. The folder that will hold the data to be added into RFH2.
|
Return Code
|
Numeric (N17). Output. A return code of 0 means success. Any other value means failure.
|
WMQ.SetRFH2Header
WMQ.GetMessageWithHeader
WMQ.SendMessageWithHeader