Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Teradata TPT Script - response (22) by petlee

$
0
0
How do I use the generated schema in TPT V14? I cannot get it to work. The following is what I have coded inside the TPT script DEFINE JOB LOB_EXPORT_IMPORT DESCRIPTION 'Export LOB from a table and Load into another table' ( DEFINE SCHEMA S_SCHEMA FROM TABLE DELIMITED 'DBC.DBQLogTBL'; DEFINE OPERATOR SQL_SELECTOR TYPE SELECTOR SCHEMA S_SCHEMA   ATTRIBUTES ( VARCHAR PrivateLogName = 'selector_log', VARCHAR TdpId = @tdpid_src, VARCHAR UserName = @username, VARCHAR UserPassword = @password, VARCHAR SelectStmt = 'select * from DBC.DBQLogTbl;', VARCHAR LobDirectoryPath = @lobpath, VARCHAR LobFileBaseName = @lobfilename, VARCHAR LobFileExtension = @lobextension );   Then I get the following error TPT_INFRA: TPT04108: Line 23 of Job Script File 'transfer_from_db_to_db.tpt': Syntax Error: literal string (DBS table name) expected It is complaining the DEFINE SCHEMA syntax... Any help is appreciated  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>