TPT Loading - response (6) by feinholz
Error Number : 120801 Error Message : Teradata WB tlogview failed when reading - forum topic by Noman Riaz
hi Guys,
hope you are doing great, we are facing a problem in out ETL loads.
during BULK loads of trasactional data sometimes we are facing following error:
Error Number : 120801 Error Message : Teradata WB tlogview failed when reading <C:/Program Files/Teradata/Client/15.00/Teradata Parallel Transporter/logs/DP_EDW_STAGING_KzInvoice_Basis_1_Tax_44-120633.out> log file.
this Error dont have permanent reason, sometimes it occur sometime same job on re executing runs successfuly.
can you please guide what is the reason of this error and how we can handle it.
thanks and Regards,
Noman
uninstall_TTU.vbs question, it's bug or feature? - forum topic by giotac
Hi all,
I do not know if it's a "bug" or a "feature" so I have to ask to more experienced people.
The scenario is the one where you have to automatize the installation of the TTU on a ton of client.
Might be the client (pc) have already a TTU's version istalled or not.
Might be on the pc there is a process using the client or not.
So in order to make a robust script I was doing some test/experiment and I have found one issue using the script uninstall_TTU.vbs.
To show the "problem" :
A)On a machine I install :
-Shared ICU Libraries for Teradata
-Teradata GSS Client nt-i386
-Teradata CLIv2 versione
-ODBC Driver for Teradata
-OLE DB Provider for Teradata
B) on a new DOS Shell window I run a script that open an ODBC connection and execute a query every 1 second
C) on a new DOS Shell window I run a script that open an OLEDB connection and execute a query every 1 second
At this point there are two process using the client (dll)
D) on a new DOS shell window I run "cscript uninstall_TTU.vbs ALL /PRIORTOVERSION:99.00.00.00" and wait the completation
Since there are at least two process using the ODBC & OLEDDB dll's my expectation was that the uninstall_TTU.vbs *fails* or return an exit code to perform a system restart to complete the unistallation.
Why the uninstall_TTU.vbs do not return a specific exit code to force the system restart? It's expected by design?
After the above step D you can istall the same tools/product of step A *but* at different version level.
So on the system you have some process using the same utlity/tool but a different version level, it's safe?
ciao
GIovanni
TPT - problem with processing file - forum topic by anton1009
Hi everyone,
I have job consisting of several steps. I want to load data from flat files to database, but I have problem with one step. Below, I paste information from log file of this step when problem occured:
-----------------------------------
Teradata Parallel Transporter Version 14.00.00.06
Job log: /DWH/Develop/proc_ods/wyrocznia/wyrocznia_l_ods/tmp/wyrocznia_l_ods_WYR_ORDER_DOCUMENT_L_20150309_165331-1016.out
Job id is wyrocznia_l_ods_WYR_ORDER_DOCUMENT_L_20150309_165331-1016, running on dwd02
Teradata Parallel Transporter SQL DDL Operator Version 14.00.00.06
$DDL: private log not specified
$DDL: connecting sessions
$DDL: sending SQL requests
$DDL: TPT10508: RDBMS error 3807: Object 'IVM_DB_TMP.ET_WYR_ORDER_DOCUMENT_L' does not exist.
$DDL: TPT18046: Warning: error is ignored as requested in ErrorList
$DDL: TPT10508: RDBMS error 3807: Object 'IVM_DB_TMP.UV_WYR_ORDER_DOCUMENT_L' does not exist.
$DDL: TPT18046: Warning: error is ignored as requested in ErrorList
$DDL: Rows Deleted: 0
$DDL: disconnecting sessions
$DDL: Total processor time used = '0.058629 Second(s)'
$DDL: Start : Mon Mar 9 16:53:33 2015
$DDL: End : Mon Mar 9 16:53:33 2015
Job step setup_step completed successfully
Teradata Parallel Transporter $FILE_READER: TPT19006 Version 14.00.00.06
$FILE_READER: TPT19008 DataConnector Producer operator Instances: 1
Teradata Parallel Transporter SQL Inserter Operator Version 14.00.00.06
$INSERTER: private log not specified
$FILE_READER: TPT19003 ECI operator ID: $FILE_READER-5124192
$FILE_READER: TPT19222 Operator instance 1 processing file '/DWH/Develop/SourceData_incr/wyrocznia_ods/load/order_document.dat'.
$INSERTER: connecting sessions
$FILE_READER: TPT19350 I/O error on file '/DWH/Develop/SourceData_incr/wyrocznia_ods/load/order_document.dat'.
$FILE_READER: TPT19003 SYSTEM_BUFFERMODE: 'no'
$FILE_READER: TPT19221 Total files processed: 0.
$INSERTER: Total Rows Sent To RDBMS: 0
$INSERTER: Total Rows Applied: 0
$INSERTER: disconnecting sessions
$INSERTER: Total processor time used = '0.059809 Second(s)'
$INSERTER: Start : Mon Mar 9 16:53:33 2015
$INSERTER: End : Mon Mar 9 16:53:34 2015
Job step main_step terminated (status 12)
Job wyrocznia_l_ods_WYR_ORDER_DOCUMENT_L_20150309_165331 terminated (status 12)
-------------------------------------------------------------------------------------------------------------------
I checked the order_document.dat file, but there isn't any record (file is empty, but is normally). I noticed, when I add one sample record to this file, then problem disappear.
I will be very grateful for help / suggest on how to eliminate the problem. I would like, the TPT didn't break the job when any flat file will be empty.
TPT - problem with processing file - response (1) by giotac
>'/DWH/Develop/SourceData_incr/wyrocznia_ods/load/ order_document.dat'
there is a space char here, it's a typo or the the real script?
ciao
GIovanni
MLOAD - UTILITY - forum topic by arow2@hotmail.com
I am new to teradata. We just creared database name SPIDER_TBLS , we created one test table called AATest, We have one flat file sitting in a landing pad called AATEST.txt ...it has 10 columns.... I read many example and steps but could not follow. DO you have step by step to read data from flat file into teradata. Like steps with screen shots....my email is arow2@hotmail.com I really appreciae ..We have asked to migrate SQL to Teradata and doing smal test first.
Second question; From SQL server - I download ODBC drivers - How i can connect from SQL to select from the teradata table - the above load that i have asked Again thank you
MLOAD - UTILITY - response (1) by feinholz
If you are new to Teradata, you should be using TPT, not MultiLoad.
TPT is the load/unload tool moving forward.
TPT has the ability to move data from SQL Server to Teradata without landing the data to disk.
Error Number : 120801 Error Message : Teradata WB tlogview failed when reading - response (1) by feinholz
Which ETL tool are you using?
You may have to speak to someone from the ETL vendor.
TPT - problem with processing file - response (2) by anton1009
Hi,
I checked the log file once again and there I didn't see space char, so it was added when I paste it
Mload Update: Records are not getting updated - forum topic by abhi_pn
Hello All,
I am running a mload job. In the source file, the fields are having different data types like Decimal, Char & Varchar. But when i am running the job, major volume of records are going to error tables with error code 2797 (saying MLoad MARK MISSING UPDATE). That means its not finding records with given where conditions.
But when i am taking a sample record out of those records from error table and executing with the same combinations as previous where conditions in SQL assistant, I can see already records are existing in target table. Then why it didn't find it in mload update..
So I am doubting some discrepancy in in_type_cd column which is having CHAR data type. Do we need to do any special handling for CHAR fields??
---------------------------------------------------------
Primary Index is emp_no
---------------------------------------------------------
.LAYOUT datalayout INDICATORS;
.FIELD set_flag 1 CHAR(1);
.FIELD in_emp_no * DECIMAL(18);
.FIELD in_dt_tm * CHAR(19);
.FIELD in_type_cd * CHAR(10);
.FIELD in_line_id * VARCHAR(10);
-----------------------------------------------------------
.DML LABEL test_dml mark duplicate update rows;
UPDATE TABLE_ABC
SET
start_dt_tm =:in_dt_tm,
type_cd =:in_type_cd,
line_id =:in_line_id,
WHERE emp_no =:in_emp_no
and start_dt_tm =:in_dt_tm
and type_cd =:in_type_cd
and (line_id =:in_line_id
or line_id = 'CRIC'
or line_id = 'HOCK'
or line_id = 'TEN');
--------------------------------------------------------------
Thanks
Abhi
Can we pass schema and sql statement as variables to tpt script - forum topic by vennelakanti00
Hi,
Is it possible to pass schema definition and sql statement in job variables file or command line parameters? %INCLUDE needs exact filename to be mentioned for schema definition which makes the tpt script for one particular extract. We are working on a generic script for 100+ tables so that we can pass the schema and sql in jv file along with instances.
DEFINE SCHEMA SOCPARC_SUBSET_PP
DESCRIPTION 'DW_ADDRESS'
(
@SCHEMADEF
);
VARCHAR SelectStmt = @SQL
Job Variable script:
SCHEMADEF=`cat xyz.txt`
SQL=`cat abc.txt`
Mload Update: Records are not getting updated - response (1) by VandeBergB
You're not really setting anything new here, other than the "or" lines in the where clause. Your query says set the start_dt_tm = :in_dt_tm, type_cd = :in_type_cd and line_id = :in_line_id and you set those as equality conditions in the where clause.
So it's never going to change anything, other than possibly setting the line id to "CRIC","HOCK" or "TEN". Updating the business keys where they're equal won't do anything.
perhaps,
Set line_id = :in_line_id
where
emp_no=:in_emp_no
and start_dt_tm = :in_dt_tm
and type_cd = :in_type_cd
where line_id in ('CRIC','HOCK','TEN');
Can we pass schema and sql statement as variables to tpt script - response (1) by feinholz
Symbol substitution in TPT is exactly that. A "substitution".
It is not "substitution and execute".
Thus, having "cat" in the string will not actually execute the "cat" command.
You can do:
%INCLUDE @schema_file_name
and then in the job variable file, define schema_file_name as xyz.txt.
For the SelectStmt, no the job variable file must have the actual SELECT statement assigned to the job variable named SQL.
Or, on the command line, you can use the -u command line option and assign SQL=SELECT . . . .;
MLOAD - UTILITY - response (2) by arow2@hotmail.com
What i mean is to load flat file to Teradata using SQL Server ...
MLOAD - UTILITY - response (3) by arow2@hotmail.com
and then move the data from teradata to sql
MLOAD - UTILITY - response (4) by feinholz
TPT can move data from SQLServer to Teradata without landing data to disk.
The Teradata load/unload tools cannot move data in the other direction.
You will have to use another tool for that.
Need to cast an invalid date Time to a valid Date Time - forum topic by ivanrino
I need cast an invalid date-Time to a valid Date-Time.
Example: 12/5/2014 2:55:29 PM to 05/12/2014 14:55:29 DD/MM/YY hh:mi:ss
Ths
TPT - source data enclosed with double quotes and delimited by pipe (|) - response (16) by GokulTamilselvam
Can someone share me a ppt regarding basics of Teradata. with diagrams will be more use..
ODBCOperator: TPT17187: Failed to obtain shared memory segment for for column data buffer, due to error 48. - response (2) by feinholz
For some reason, TPT needs more memory for the job (do not know why at this point).
Please try running the job again, and add -h 25M to the command line and see if that helps.
Using Geospacial Import/Export java tools - response (3) by madhugraju
Rupert, did you figure out the issue? I have run into the same error. Please provide an update if you were able to resolve it.
Thank you for trying.
Can you please send me your data, and your script?
Did the rows end up in the DataConnector operator's Error File?
Or the error table on the DBS?
If the error file, please send that to me as well.
Send to: steven.feinholz@teradata.com