Writing the JobVariablesFile - Teradata® Database

Database Analytic Functions

Product
Teradata® Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
Teradata_Vantage™___Advanced_SQL_Engine_Analytic_Functions.withLogo_upload_July2021/wnd1589838592459.ditamap
dita:ditavalPath
Teradata_Vantage™___Advanced_SQL_Engine_Analytic_Functions.withLogo_upload_July2021/ayr1485454803741.ditaval
dita:id
B035-1206
lifecycle
previous
Product Category
Teradata Vantage™
  • Write the JobVariablesFile by substituting values for variables in the following script:
    DDLTdpId               = 'td_host_name_or_ip'
    ,DDLUserName           = 'td_user'
    ,DDLUserPassword       = 'td_user_password'
    ,DDLErrorList          = ['3807']
    ,DDLPrivateLogName     = 'DDL001S1'
    ,TargetTable           = 'td_table_name'
    ,ODBCPrivateLogName    = 'ODB039P1'
    ,ODBCDSNName           = 'Data_Source_Name_specified_in_DSN_Setup_form'
    ,TruncateData          = {'Y' | 'N'}
    ,ODBCUserName          = 'aster_user'
    ,ODBCUserPassword      = 'aster_user_password'
    ,LOADPrivateLogName    = 'ODB039C1'
    ,LOADTDPID             = 'td_host_name_or_ip'
    ,LOADUserName          = 'td_user'
    ,LOADUserPassword      = 'td_user_password'
    ,SelectStmt            = 'SELECT * FROM aster_table_name;'
    ,LOADTargetTable       = 'td_table_name'
    

    For TruncateData, 'Y' trims unused space. The default is 'N'. Specify 'Y' when the MaxLenVarchar field of the DSN Setup form (in Setting Up the Aster Driver on the Client) exceeds the maximum VARCHAR length specified in TD_compatible_table_definition in the tpt script; otherwise, ODBC cannot load the script.