troubleshooting Question

ORA-010405 instead of ORA-00100 in a PL/SQL procedure ??

Avatar of AYEB
AYEB asked on
Oracle Database
7 Comments2 Solutions1681 ViewsLast Modified:
I have a PROCOBOL programm which calls a pl/sql  procedure . the procedure is doing a select into
 SELECT *
                    INTO v_cptuc
                    FROM tnr_complement_uc
                    WHERE   numero_version = v_cptuc.numero_version
                    AND    code_uc_aff = v_cptuc.code_uc_aff
                    AND    complt_uc = v_cptuc.complt_uc;

The probleme is that with some values this procobol programm returns with a ORA-01405 errors and with the same values if i use directely the procedure i have an ORA-100 ( NO_DATA_FOUND )  Do you know why this happens and how to resolve this problem. I don't need the ORA-01405

In the PROCOBOL Programm i use this:
EXEC SQL
               WHENEVER SQLERROR DO PERFORM SQL-ERROR
END-EXEC.

ASKER CERTIFIED SOLUTION
Sujith
Data Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros