update_job_priorities | Commands | Teradata Data Mover - 17.11 - update_job_priorities - Teradata Data Mover

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.11
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-4101-091K
Language
English (United States)

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.

Parameters

See Parameter Order.

job_name
Name of the job for which you want to update the priority.
Example: test1
job_priority
New priority for the job.
Example: HIGH
security_password
[Optional] Password for the super user or authorized Viewpoint user.
Example: 53cUr17y
Required if security management is enabled on the Data Mover daemon. Not a valid parameter if -security_password_encrypted is also specified.
security_password_encrypted
[Optional] Encrypted password for the super user.
Example: 052c7aabd14c7770141ac3c0137ab98ae0d3f0f7cddf588981206b010c0c1b2f
Required if security management is enabled on the Data Mover daemon. Not a valid parameter if -security_password is also specified.
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.
Required if security management is enabled on the Data Mover daemon.

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>