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: