USING CHARACTER SET UTF8
DEFINE JOB EXPORT_TO_INDICDATA_FILE_FORMAT
DESCRIPTION 'Export from ' || @SourceTableName || ' to the INDICDATA file: ' || @DataFileName
(
DEFINE SCHEMA DATA_FILE_SCHEMA @SourceTableName;
DEFINE OPERATOR EXPORT_OPERATOR
TYPE EXPORT
SCHEMA DATA_FILE_SCHEMAThis looks really nice, but it failed in 13.10.x
Teradata Parallel Transporter Version 13.10.00.09
TPT_INFRA: Syntax error at or near line 9 of Job Script File 'tpt_export_template.txt':
TPT_INFRA: At "scratch_ds.My_Data_Type_Test" missing LPAREN_ in Rule: Explicit Schema Element List
TPT_INFRA: Syntax error at or near line 9 of Job Script File 'tpt_export_template.txt':
TPT_INFRA: TPT03020: Rule: DEFINE SCHEMA
Compilation failed due to errors. Execution Plan was not generated.
I have to use single quote or double quote in the jobvars file, otherwise TPT will not accept the variable.
The %INCLUDE will need separate file in addition to the jobvars file. Is this syntax supported in 13.10? Isn't it easier if I can put the column definition in a job variable?
↧