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

Teradata® Parallel Transporter User Guide - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Parallel Transporter
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-08-25
dita:mapPath
uzp1645128359760.ditamap
dita:ditavalPath
tvt1507315030722.ditaval
dita:id
B035-2445
Product Category
Teradata Tools and Utilities

The following may be useful to substitute comparison operators into CASE WHEN statements.

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

comp = “>”

in the script:

CASE WHEN (COL001 @comp COL002) THE COL002 END AS COL001

will substitute the greater-than sign into the script post resolution, allowing for rapid and global changing of CASE WHEN behavior.