In the declarative section of the script, definition statements define all of the Teradata PT objects referenced in the script. For detailed information on required syntax for each types of DEFINE statement, see Teradata Parallel Transporter Reference (B035-2436).
Definition statements include:
- DEFINE JOB (required) – Names a Teradata PT job, but is not necessarily the same as the file name of the script. Also optionally identifies the character set being used. Contains the definitions of all job objects, as well as one or more processing statements.
- DEFINE SCHEMA (required) – Defines the data structure for the data an operator will process. Each unique data structure addressed by the job script requires a separate DEFINE SCHEMA object.
- DEFINE OPERATOR (required) – Defines an operator and specifies the operator attributes to which values can be assigned.