Purpose
The stop command stops a running job.
If the job is running, the daemon finishes the current unit of work, then stops at the earliest convenient time. If the job is waiting in the job queue, the job is dropped from the queue.
Syntax
Data Mover XML SchemasParameters
See Parameter Order.
- dm.rest.endpoint
- [Optional] Enter a Data Mover REST server URL to overwrite the default value specified in the commandline.properties file in order to connect to a different REST server (and therefore a different daemon) at runtime.
- job_name
- Name of the job to be stopped.
- security_password
- [Optional] Password for the super user or authorized Viewpoint user.
- security_password_encrypted
- [Optional] Encrypted password for the super user.
- security_username
- [Optional] User ID of the super user or authorized Viewpoint user. The user ID of the super user is dmcl_admin and cannot be changed.
XML File Example
For the stop command, type datamove stop -f parameters.xml.
In the following example, the parameters file stops job 12315DFHJKS.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<dmStop
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>12315DFHJKS</job_name>
</dmStop>