The exception 7632 is not caught by the below exception handler
declare exit handler for SQLEXCEPTION
Begin
set sqlcd= SQLCODE;
sel errortext into SQLmsg from dbc.errormsgs where errorcode= sqlcd;
insert into error_table(proc_name,code,msg,date_time) values('proc',:sqlcd,:SQLmsg,current_timestamp)
end
Forums: