Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 24 Oct 2001 @ 19:54:15 GMT


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


Subj:   Re: Win NT version of Teradata utilities
 
From:   David Wellman

Linda,

This is part of a .BAT file (yup, DOS is alive and kicking !) that I use to run Multiload test scripts on my pc. It deals specifically with the error code checking. It runs ok under both W98 and W/NT.

(I copy the Multiload script and logon statement etc to "%TEMP%\multiload.tmp" first and write the script output to "%1.LOG" where %1 is the script name passed into the BAT file.

c:\progra~1\ncr\terada~1\bin\mload.exe <%TEMP%\multiload.tmp >%1.LOG
echo MULTILOAD has finished.
if errorlevel 13 goto errother
if errorlevel 12 goto err12
if errorlevel  8 goto err08
if errorlevel  4 goto err04
echo.
echo Return Code from MULTILOAD = 0
echo.

The "errNN" labels are simply ECHO statements that print out a "Return code from MULTILOAD = ..." message similar to the one shown here.


Hope that helps.

Dave



     
  <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: 27 Dec 2016