Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 08 Aug 2001 @ 19:27:27 GMT

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

Subj:   Re: Fastload vs Multiload
From:   Dara Tressler

There are multiload variables which indicate how many rows are inserted, deleted, etc for a mload process

&sysinscnt - number of inserts
&sysupdcnt - number of updates
&sysdelcnt - number of deletes

there is a variable indicating the state of the last operation (&sysrc) and other variables built in.

I believe that the documentation has ALL the variables that can be used. Our system places these values in a table at the end of a run and this information can be examined later if you do this. We called ours AuditTable and it was done OUTSIDE the last END MLOAD. [Note: Multiload cannot do SELECTS but it can do .IF statements dependent on this information].

An example of a statement to collect information is below:

Insert into AuditTable
     Values ('DatabaseName'
             ,cast('&systime' as time(0))

I hope I understood your question correctly.


  <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