|
|
Archives of the TeradataForum
Message Posted: Wed, 18 Aug 2010 @ 17:01:26 GMT
Subj: | | Re: .IF ..THEN statement |
|
From: | | John_Wight |
Just a clarification on .QUIT -vs- .QUIT 0 and that they are 'functionally the same'. Actually they 'could be' and usually are but only when
there are no errors encountered in the script, then the 'return code' would be 0 and the equivalent to .QUIT 0. So be careful not to use .QUIT
thinking that you will be exiting with a 0. Most times you will as (hopefully) there all will execute OK and you will actually get 0. In our shop
we use BTEQ template's with pre coded exit points to use and NONE of them ever use just ,QUIT. All error exit points use a number (standardized
on 8) and the only 'normal' exit point uses 0.
JK
| |