Previous Topic: dtscli Command—Send Multiple Output Files (Managed)Next Topic: dtscli Command—Use Skip Logic


dtscli Command—Manage Transfer Jobs

The dtscli -job (or -j) command manages transfer jobs. There are different methods that can be applied to transfer jobs. For a list of methods available, use one of the following help commands:

dtscli -help job
dtscli -help job method

Example: Activate a Transfer Job

This example reactivates a transfer job that was created and kept earlier:

dtscli -job method=activate id=transfer_job_id

Example: Reset a Transfer Job

This example resets the transfer job using the reset method:

dtscli -job method=reset id=transfer_job_id

Example: Abort a Transfer Job

dtscli -job method=abort id=transfer_job_id

Alternatively, you can press CTRL-C to abort the current operation.

Sample Output Messages

Transfer job 293 activated.
Transfer job 293 state: STARTING
Transfer job 293 state: IN_PROGRESS
Transfer job 293 state: ABORTED

Example: Create a New Transfer Job

dtscli -job method=create

Sample Output Message

Transfer job 305 created.

Instead of jotting down the job transfer ID, you can use a name alias, or label. By setting the label of this job, you can refer to the job by the label.

Example: Add Transfers to the Transfer Job

This example adds transfers to a transfer job that was created but not activated, and requires the transfer ID of the earlier example.

dtscli -job id=transfer_job_id method=add method_parameters=your_transfer_id

More information:

dtscli -job Parameter Group—Manage Transfer Jobs