Example 1 – Double-Quoted Values in Job Variables - Parallel Transporter

Teradata Parallel Transporter User Guide

Product
Parallel Transporter
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-09
dita:mapPath
vyv1488824663502.ditamap
dita:ditavalPath
Audience_PDF_product_tpt_userguide_include.ditaval
dita:id
B035-2445
lifecycle
previous
Product Category
Teradata Tools and Utilities

In you have the following line in the job variable file:

OP_NAME = “LOAD”

in the script:

DEFINE OPERATOR MyOperator
TYPE @OP_NAME 

will be replaced with the identifier, LOAD (note that the double quotes are omitted in the replacement).

Later, if you want to switch to using the Update Operator, you only need to update your job variable file to:

OP_NAME = “UPDATE”

and in the script:

DEFINE OPERATOR MyOperator
TYPE @OP_NAME 

will be replaced with the identifier, UPDATE (note that the double quotes are omitted in the replacement).