![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 18 Jul 2006 @ 19:23:53 GMT
Christine: In the BTEQ manual you can find references to a variable called ERRORCODE. There is actually another one you can reference called ERRORLEVEL. BTEQ has a .if command that you might code like this -
.if errorcode >0 then .goto errorroutine
yada
yada
yada
.label errorroutine
yada
yada
yada
.quit ERRORLEVEL /* you could do .quit 15 where 15 is the return code
to calling procedure */
All of this and more is in the manual. Hope this helps, Michael Larkins
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||