job_status_log - Data Stream Architecture

Teradata Data Stream Architecture (DSA) User Guide

Product
Data Stream Architecture
Release Number
16.10
Published
August 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
mbk1487616377418.ditamap
dita:ditavalPath
3150_DSA_UG_1610.ditaval.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities

Purpose

The job_status_log command displays the latest status log for a job with the given name if the job is running. If the job is not running, the status log for the last run job is displayed.

Syntax

job_status_log -n|-name Name -I|-job_execution_id JobExecutionID -E|-full_export -m|map_name MapName

Example

dsc job_status_log -n job1 -I 123456 -m specialmap

Parameters

n|name Name
The name of the job on which to perform the action. Must be unique for each job.
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.

2
m|map_name map name
[Optional] For backup jobs, filters the objects by the map used during the backup job. Default: All maps used in the backup job are listed.
B|repository_backup Repository Backup
[Optional] Flag to return status on repository backup jobs.
b|bucket BucketNumber
[Optional] Select a bucket number to display a grouping of data when too many results return to display at once. The command output notifies you if there are more buckets of data to display.
-E|-full_export
[Optional] Retrieve and output the entire job status log to a landing zone on the DSC server to avoid the message size limit. The output file is a comma-separated value with the file name: <job_name>_<job_execution_id>.csv. The default landing zone directory is /var/opt/teradata/dsa/export. You can change the directory in dsc.property using the fullExport.landingZone property.
This parameter works only for BACKUP, RESTORE, and ANALYZE_VALIDATE jobs on the Teradata Database. It does not work for DBC repository backup jobs.

XML File Example

This command does not support an XML file.