set serveroutput ON var cod_errore number begin DWH.UPDATE_DONOR_HOC_DELTA (&1,&2,:cod_errore); if :cod_errore = 0 then DWH.CALCOLA_SLA_DONOR_HOC(&1,&2,:cod_errore); end if; end; / exit :cod_errore