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

Teradata® Parallel Transporter User Guide

Product
Parallel Transporter
Release Number
17.10
Published
February 2022
Language
English (United States)
Last Update
2022-02-04
dita:mapPath
kyx1608578396289.ditamap
dita:ditavalPath
tvt1507315030722.ditaval
dita:id
B035-2445
lifecycle
previous
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.