Hi
Here is the script - sample_country.tpt
DEFINE JOB load_sample_country
(
DEFINE SCHEMA countries_schema @LoadTargetTable;
APPLY $INSERT @LoadTargetTable
TO OPERATOR ($LOAD)
SELECT * FROM OPERATOR ($EXPORT(countries_schema));
);
Here is the job variable file - jobvar.txt
LoadPrivateLogName = 'loadoper_private_log',
LoadTargetTable = 'sample_country',
LoadWorkingDatabase = 'dbname',
LoadErrorTable1 = 'e1__sample_country',
LoadErrorTable2 = 'e2_sample_country',
LoadLogTable = 'log_sample_country',
LoadMaxSessions = 5,
LoadMinSessions = 1,
ExportPrivateLogName = 'exportoper_private_log',
ExportMaxSessions = 5,
ExportMinSessions = 1,
ExportSelectStmt = 'select * from dbname.countries;',
TargetUserName = 'username',
TargetUserPassword = 'password',
TargetTdpId = 'ipaddress',
SourceUserName = 'username',
SourceUserPassword = 'password',
SourceTdpId = 'ipaddress'
Here sample_country and countries table have same structure.
"sample_country" is my target table while iam extracting data from "countries" table.
TPT Version - 13.10.00.02
Iam getting the same error -
Unmatched function parenthesis -- '(' -- for operator EXPORT.
Please help me out. I really can't understand what iam doing wrong.
↧