126: if sqlcode not in (-1545) then raise; end if;
127: end;
128: counter := counter + 1;
129: dbms_output.put_line('retrying because of ORA-01545'); 130: dbms_lock.sleep(2); 131: exit when counter > 150;
132: exception when others then
133: if sqlcode in (-20000) then
134: dbms_output.disable;