How to create teradata error tables in taradata work database
Problem Description:
I have a problem to create the error tables in work database.
There are two database,
1)PSDWRPTBLDB- this is database name of teradata. here table structure already created. I don't have create and drop table access
on this database, i have only access to insert the records.
2)PSDWTPTBLDB- this is the database name where i can create and drop table also i can insert the records in table.
i want to insert the records into PSDWRPTBLDB.CLASS table using fastload or bulkload facilities of SAS(teradata).
i have tried the following script but there is error that user don't have create table access. please advise me on the exact issue.
please provide me the solution for the same.
libname rptbl teradata user=xxx password=xxx schema = PSDWRPTBLDB;
libname tptbl teradata user=xxx password=xxx schema = PSDWTPTBLDB;
proc append base=rptbldb.class
(TPT=YES FASTLOAD=YES
TPT_BUFFER_SIZE=64
TPT_ERROR_TABLE_1 = 'TPTBL.LOADTEST_ET'
TPT_ERROR_TABLE_2 = 'TPTBL.LOADTEST_UV'
TPT_LOG_TABLE = 'TPTBL.LOADTEST_RS')
data=sashelp.class
;
run;
... View more