About the Data Mover XML Schema - Teradata Data Mover

Teradata Data Mover User Guide

Product
Teradata Data Mover
Release Number
16.00
Published
December 2016
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
rdo1467305237457.ditamap
dita:ditavalPath
ft:empty
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 dmQuery element of the Data Mover XML schema.

The order of elements shown in the Data Mover XML schema must be followed.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://schemas.teradata.com/dataMover/v2009" 
xmlns="http://schemas.teradata.com/dataMover/v2009"
	elementFormDefault="qualified" attributeFormDefault="unqualified">     
<!-- dmQuery -->
<xsd:element name="dmQuery">
  <xsd:complexType>
   <xsd:sequence>
    <xsd:extension base="dmCommandBase">
     <!-- source_tdpid Checks, Source Teradata database -->
     <xsd:element name="source_tdpid" nillable="false" type="xsd:string"/>
     <!-- source_user TD_API_user, Source Teradata log on id -->
     <xsd:element name="source_user" nillable="false" type="xsd:string"/>
					<xsd:element name="source_user" minOccurs="0" type="xsd:string"/>
     <xsd:element name="object_list" minOccurs="0" type="xsd:string" />
    </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 following the message format described in the Data Mover XML Schema.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<dmQuery
	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">
 <!--  source_tdpid Floyd, Source Teradata database  -->
		<source_tdpid>floyd</source_tdpid>
	<!--  source_user dmguest, Floyd, Source Teradata log on id  -->
		<source_user>dmguest</source_user>
	<!--  source_password please, (optional)Source Teradata log on password  -->
		<source_password>please</source_password>
		<object_list>queryoutput.xml</object_list>
		<response_timeout>120</response_timeout>
</dmQuery>