Archives of the TeradataForum
Message Posted: Mon, 21 Feb 2011 @ 14:39:19 GMT
A script where we are submitting error level 3807 as severity 0, then dropping the table and checking if Errorcode is not equal to 0 we quit with RC=0 else RC =20. When running the script we get errorlevel 3807, which should be set as severity 0 and quit with RC=0 but the script is not doing so , it give RC=20 and passes errorlevel as 3807. Please suggest what might be the probable cause for this.
.SET ERRORLEVEL 3807 SEVERITY 0; DROP TABLE db.tb1 ; .IF ERRORCODE <> 0 THEN .QUIT 20
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|