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

Teradata® Data Mover User Guide - 20.01

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Mover
Release Number
20.01
Published
November 2023
Language
English (United States)
Last Update
2023-12-05
dita:mapPath
hlv1700545853003.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
dita:id
don1467241476387
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 Data Mover XML Schemas.

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 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>