teradata - Inserting records from TPT error tables to a relational table from ET1 and ET2 -
i have workflow goes through loop , load split files td table. direct rows temporary tables created tpt i.e, et1 , et2 table.
here detailed scenario:
- i have list of file names in file (abc.txt). these file names initialized in loop , triggers workflow(indirect load) each file.
- i using shell script trigger workflow. however, keep track of error records going et1 , et2 tables table.
- these records needs append each file load corresponding file name.
please suggest how achieve this.
thanks in advance
the proper way of handling such scenario have additional flag in text file file names. flag can updated completed or processed after each successful run of workflow.
to file name inside mapping have text file lookup inside mapping.
Comments
Post a Comment