export_job_status | Teradata DSA Commands - export_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 export_job_status command exports the current XML definition for the requested job status.

Syntax

export_job_status -n|-name Name -I|-job_execution_id JobExecutionID -f|-file Filename

Example

dsc export_job_status -n job1 -I job1ExecutionId -f job1_status.xml

dsc export_job_status -n restore1 -I restore1ExecutionId -C -f job1_status.xml

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
f|file filename
The full file path and file name of the file to which to write the XML definition.
Example:  job1_status.xml

XML File Example

This command does not require an XML file as input. You must supply a file name and location to which the XML file results are exported as output.