Array Type Template Attributes - 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

A small number of operator attributes can be declared to be either of ARRAY (multi-valued) type or non-array (single-valued) type. For example, the Update operator has an attribute called QueryBandSessInfo that can be declared either as

VARCHAR ARRAY QueryBandSessInfo,

or

VARCHAR QueryBandSessInfo

Since only one form of this declaration can be in the $UPDATE template, the ARRAY form is the one declared in the template:

VARCHAR ARRAY QueryBandSessInfo = @UpdateQueryBandSessInfo

and if job variable QueryBandSessInfo has been assigned an array of values, there is agreement between type and number of values. If UpdateQueryBandSessInfo has been assigned a single value without array brackets, however, Teradata PT adds array brackets to the value, creating a one-element array to prevent a type mismatch between the attribute and its singular value.

All attributes that can have either an ARRAY or a scalar declaration are declared with the ARRAY form in their templates.