XML Schema | Teradata Data Mover - The Data Mover XML Schema - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.00
Published
November 30, 2021
Language
English (United States)
Last Update
2021-11-04
dita:mapPath
gmn1574692806523.ditamap
dita:ditavalPath
cjo1509024828169.ditaval
dita:id
B035-4101
lifecycle
previous
Product Category
Analytical Ecosystem

The Data Mover XML Schema describes messages that Data Mover components use to communicate over the JMS bus. A copy of the schema is included in the command-line utility directory, and is also available at http://schemas.teradata.com/unity/datamover.xsd.

The Data Mover XML Schema describes the structure of the XML files that can be used by the Data Mover command-line interface. The schema can be used for validation if a compatible XML authoring tool is used.

Data Mover supports XML parameter files in ASCII and UTF-8. The command-line console supports only ASCII.

The code sample below shows part of the dmCreate element of the Data Mover XML schema.

The order of elements shown in the Data Mover XML schema must be followed.
<xsd:element name="dmCreate">
  <xsd:complexType>
    <xsd:complexContent>
      <xsd:extension base="jobDefinitionType">
        <xsd:sequence>
          <!--  permission setting for the created job  -->
          <xsd:element name="job_security" minOccurs="0" type="securityType"/>
          <xsd:element name="command_start_time" minOccurs="0" type="xsd:dateTime"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>
The following code sample shows a valid Data Mover message that has been produced by using the message format described in the Data Mover XML Schema.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dmCreate xmlns="http://schemas.teradata.com/dataMover/v2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.teradata.com/unity/DataMover.xsd">
    <job_name>NAME</job_name>
    <job_priority>UNSPECIFIED</job_priority>
    <source_tdpid>SourceIP</source_tdpid>
    <source_user>USER</source_user>
    <source_password>PASS</source_password>
    <target_tdpid>TargetIP</target_tdpid>
    <target_user>USER</target_user>
    <target_password>PASS</target_password>    
    <database selection="unselected">
        <name>DatabaseName</name>
        <table selection="included">
            <name>TableName</name>
        </table>
    </database>
</dmCreate>