|
Archives of the TeradataForumMessage Posted: Wed, 24 Oct 2001 @ 19:54:15 GMT
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||