Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sun, 25 May 2009 @ 01:35:45 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: MLOAD error UTY1616: A .DML statement must be
 
From:   McCall, Glenn David

I would encourage you to "RTFM" :-) Specifically the syntax diagrams. You do not end each "line" of the .begin mload with semi-colons.

Worktables, errortables, sessions and checkpoint are all part of the begin statement and should not be semicolons (which ends the statement).

Thus you might try something more like this:

     .BEGIN IMPORT MLOAD TABLES ${DBNAME}.${TABLE_NAME}
       WORKTABLES ${DBNAME}.ML_T7521_INCRD_WRR
       ERRORTABLES
             ${DBNAME}.T7521_ERR_$DATE_TIME,
             ${DBNAME}.T7521_DUP_$DATE_TIME1
       SESSIONS 25
       CHECKPOINT 10000;

NB: I haven't tested the above, so there may be additional errors despite my "reference to the manual" :-)


Glenn Mc

Teradata Corporation
Glenn McCall
Canberra Australia



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023