Creating batch jobs using job definition files
InfoSphere® MDM includes job definition template files for you to use as a basis for creating new batch job definition files.
About this task
The batch job definition file templates are located in
the $home/templates/jobs folder. The job definition
templates provide a range of common MDM batch processing tasks:
- CreateSuspect.xml
- LinkOnly_csv.xml
- LinkOnly_db1.xml
- PersistEntity_db1.xml
- PersistEntity_db2.xml
- PersistEntity_csv1.xml
- PersistEntity_csv2.xml
- PersistEntity_csv3.xml
- StandardizeAddress.xml
- StandardizeContactMethod.xml
- StandardizeOrganizationName.xml
- StandardizePersonName.xml
- StandardizeOrganization.xml
- StandardizePerson.xml
- CollapseSuspect.xml
Procedure
Example
Example of the StandardizeAddress job template:
<?xml version="1.0" encoding="UTF-8"?>
<TCRMService xmlns="http://www.ibm.com/mdm/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/mdm/schema MDMDomains.xsd">
<RequestControl>
<requestID>1</requestID>
<DWLControl>
<requesterName><<requesterName>></requesterName>
<requesterLocale>en</requesterLocale>
<requesterTimeZone><<requesterTimeZone>></requesterTimeZone>
</DWLControl>
</RequestControl>
<TCRMTx>
<TCRMTxType>addTask</TCRMTxType>
<TCRMTxObject>TaskBObj</TCRMTxObject>
<TCRMObject>
<TaskBObj>
<TaskDefinitionId>30</TaskDefinitionId>
<TaskCatType>8</TaskCatType>
<PriorityType><<PriorityType>></PriorityType>
<TaskOwnerRole>Bulk Processing</TaskOwnerRole>
<TaskDueDate><<TaskDueDate>></TaskDueDate>
<ProcessId><<ProcessId>></ProcessId>
<TaskActionType>1</TaskActionType>
<TaskCommentBObj>
<!-- The definition comment provided below is a sample. It should be adjusted to fit the requirements -->
<CommentText>
<![CDATA[
<SQLOverride>SELECT DISTINCT ADDRESS_ID FROM ADDRESS WHERE (ADDRESS.ADDR_STANDARD_IND IS NULL OR ADDR_STANDARD_IND <> 'Y') AND (ADDRESS.OVERRIDE_IND IS NULL OR OVERRIDE_IND <> 'Y')</SQLOverride>
]]>
</CommentText>
</TaskCommentBObj>
<TaskCommentBObj>
<CommentText>
<![CDATA[
<BatchInstance><<BatchInstance>></BatchInstance>
]]>
</CommentText>
</TaskCommentBObj>
<WorkbasketBObj>
<Name><<Name>></Name>
</WorkbasketBObj>
</TaskBObj>
</TCRMObject>
</TCRMTx>
</TCRMService>