Purpose
The command updates the priority of one or more jobs in queue using only the parameters.xml file, not directly in the command line.
Syntax
Data Mover XML SchemasParameters
See Parameter Order.
- job_name
- Name of the job for which you want to update the priority.
- job_priority
- New priority for the job.
- 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 update_job_priorities command, type datamove update_job_priorities -f parameters.xml.
In the following example, the parameters file changes the priority for jobs test1 and test2.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dmUpdateJobPriorities 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_priority_set>
<job_name>test1</job_name>
<job_priority>LOW</job_priority>
</job_priority_set>
<job_priority_set>
<job_name>test2</job_name>
<job_priority>HIGH</job_priority>
</job_priority_set>
</dmUpdateJobPriorities>