PRC_S_YYYY_MM_WW_DD(5)

来源:互联网 发布:js声明全局变量 编辑:程序博客网 时间:2024/06/07 16:38

when others then
    /**
    * @description  return the oracle standard exception(error)
    * @field-mapping vi_err_code = (sqlcode)
    * @field-mapping vv_err_msg = (sqlerrm)
    * @call LBI_SYS_VDF#prc_s_sys_log
    * @field-mapping oi_return = (vi_err_code)
    */
    vi_err_code := sqlcode;
    vv_err_msg  := substr(sqlerrm, 1, 200);
    rollback;
    LBI_SYS_VDF.prc_s_sys_log(vi_task_id,
                              null,
                              null,
                              null,
                              vi_err_code,
                              vv_err_msg,
                              vv_task_pos,
                              vi_result);
    oi_return := vi_err_code;

end;

0 0
原创粉丝点击