Quantcast
Channel: Teradata Downloads - Tools
Viewing all articles
Browse latest Browse all 870

Custom Message in Bteq

$
0
0

Hi All,
I want a customized error output message for each statement failure in bteq. I tried with the below code but getting error
*** Error: Illegal value "MSG" specified. Notify ignored.
 
insert into target_table1 sel * from source;
.if errorcode<>0 then .notify msg 'Bteq failed in table1 insert'; .quit errorcode;
insert into target_table2 sel * from source;
.if errorcode<>0 then .notify msg 'Bteq failed in table2 insert'; .quit errorcode;
is there any other way I can give a custom error message for each failure to findout the failure step exactly ?
Thanks,
Ambuj
 

Forums: 

Viewing all articles
Browse latest Browse all 870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>