I got that message bellow :
A savepoint cannot be set because a savepoint already exists and nested savepoints are not supported.
I'm doing that query :
P3: BEGIN ATOMIC
INSERT INTO GPRSD001.COOP(
-- CCOOP,
NDOCTO,
ICOOP)
VALUES (
--ps_iPkCooperativa,
v_xDocumentoCooperativa,
v_xNomeCooperativa);
COMMIT ;
SIGNAL SQLSTATE '02000';
rollback ;
--EXCEPTION
-- WHEN OTHERS THEN
-- ROLLBACK;
-- RAISE_APPLICATION_ERROR(-20101, (' GPRS6002 - ERRO: ' || SQLERRM || ' - ' || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE));
END; -->> Fim - Inserindo cooperativa <<--
How do i get rid of it ? That error , its related with SavePoint right ?