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