job_status | Teradata DSA Commands - job_status - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.05
Published
September 2020
Language
English (United States)
Last Update
2021-04-02
dita:mapPath
ihc1599061140065.ditamap
dita:ditavalPath
vwp1576617377804.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities

Purpose

The job_status command gets the latest status for a job with the given name and displays it on the screen. If the job is running, a detailed status message is displayed, unless the job is collecting cumulative status on a restarted restore job. In that case, the status is not available until the job is complete. If the job is not running, the status of the last run for that job is displayed.

This command displays the latest status for a job in the screen.

Syntax

dsc job_status -n|-name Name -I|-job_execution_id JobExecutionID -B|repository_backup -C|cumulative

Example

dsc job_status -n job1 -I job1ExecutionId

dsc job_status -n restore1 -I restore1ExecutionId -C

Parameters

n|name Name
The name of the job on which to perform the action. Must be unique for each job.
Example:  job1
I|job_execution_id Job Execution ID
[Optional] The execution ID for the job. Must be an integer.

The ID must match a version number listed in the list_save_sets command output for the same job.

Example:  2
B|backup_repository
[Optional] Flag to return status on repository backup jobs.
C|cumulative

[Optional] Flag to return cumulative job status for a restore job that has been restarted. Status is provided up to the last completed restore.

XML File Example

This command does not support an XML file.