export_job_status | Teradata DSA Commands - 17.20 - export_job_status - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.20
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-3150-101K
Language
English (United States)

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.