RFH2 header

In addition to the XML message, several elements are required in the RFH2 header. The <Type> element needs to specify one of the following values.
dupCheck
Indicates to check for duplicates.
dupRemove
Indicates to remove duplicate items.
dupDelUOW
Indicates to delete a specified unit of work.
In the <usr> element of the RFH2 header XML, specify the following elements:
Namespace
Name of the namespace for the Duplicate Detect engine to run against.
GroupId
Unique identifier for the group of data (unit of work).
ClientId
Client identifier used by the engine for informational purposes to determine where the data came from.
UowName
Logical name for this unit of work. If data from the same unit of work is being reprocessed, the UowName for both submissions of data needs to be identical. The second submission needs to have the rerun flag set to true.
Note: To be able to unambiguously identify a unit of work to be reprocessed, the UowName must be unique.
BatchMode
Identifies whether this unit of work is processed in batch mode or nonbatch mode. If it is processing in batch mode, the Duplicate Detect engine sends a single review message that contains all items that were reviewed by operators for a unit of work. In nonbatch mode or straight through processing mode, the Duplicate Detect engine sends a review message after each item is reviewed. The decision for an item cannot be changed again when nonbatch mode is used.
PresGrpId
ID of the Transaction Server inbound transmission associated with this unit of work. It is set by the Transaction Server if the unit of work is from a single inbound transmission (incoming file).
PresId
ID of the Transaction Server batch associated with this unit of work. It is set by the Transaction Server if the unit of work is from a single batch.
DebitAmount
Total debit amount of all items in the unit of work.
CreditAmount
Total credit amount of all items in the unit of work.
BusinessDay
Business day of the items in the unit of work. It is set by the Transaction Server if the items in the unit of work are all for the same business day.
PresReceiptTime
Time the incoming file was received. It is set by the Transaction Server if the unit of work is from a single inbound transmission (file).
PartnerId
Participant ID associated with the items in the unit of work. It is set by the Transaction Server if all items in the unit of work are from the same participant.
ProductName
Name of the inbound product associated with the items in the unit of work. It is set by the Transaction Server if all items in the unit of work are using the same inbound product.
The following example shows the elements of the RFH2 header that need to be set for Duplicate Detect:
<mcd>
   <Msd>jms_text</Msd>
   <Type>dupCheck</Type>
</mcd>
...
<usr>
   <Namespace>DUP_PAYMENT</Namespace>
   <GroupId>HOSTNAME_2616@46_1193942483312</GroupId>
   <ClientId>TransactionServer</ClientId>
   <UowName>20071101_144123_241</UowName>
</usr>