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.
Parameters
- job_name
- Name of the job to be stopped.
- 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.
- security_password
- [Optional] Password for the super user or authorized Viewpoint user.
- security_password_encrypted
- [Optional] Encrypted password for the super user.
- broker.url
- [Optional] You may enter a broker URL to overwrite the default value specified in the commandline.properties file in order to connect to a different ActiveMQ server (and therefore a different daemon) at runtime.
- broker.port
- [Optional] You may enter a broker port to overwrite the default value specified in the commandline.properties file in order to connect to a different ActiveMQ server (and therefore a different daemon) at runtime.
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>