Home » SQL & PL/SQL » SQL & PL/SQL » Oracle Message - <pck name.proc name> : 301 (9.2.0.8.0)
Oracle Message - <pck name.proc name> : 301 [message #606805] Wed, 29 January 2014 08:59 Go to next message
grpatwari
Messages: 288
Registered: June 2008
Location: Hyderabad
Senior Member
Hi,

I have one script and calling the package.procedure. This script is calling from Datastage Job. Frequently I am getting the below error when I run the job.

Oracle Message - Pkg name.proc name:301
Return Code - 35
Status - 1

Please advice what is the possibility to get this error.
Re: Oracle Message - <pck name.proc name> : 301 [message #606807 is a reply to message #606805] Wed, 29 January 2014 09:02 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Please read and follow the forum guidelines, to enable us to help you:

http://www.orafaq.com/forum/t/88153/0/

You have a mystery & we have no clues about what is in your code.
Re: Oracle Message - <pck name.proc name> : 301 [message #606808 is a reply to message #606805] Wed, 29 January 2014 09:09 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Remove all WHEN OTHERS from your package code.

Re: Oracle Message - <pck name.proc name> : 301 [message #606815 is a reply to message #606808] Wed, 29 January 2014 09:46 Go to previous messageGo to next message
grpatwari
Messages: 288
Registered: June 2008
Location: Hyderabad
Senior Member
Thank you very much Michel and Blackswan. I have got the problem solution with your answer.
Re: Oracle Message - <pck name.proc name> : 301 [message #606816 is a reply to message #606815] Wed, 29 January 2014 10:02 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Which was?

Re: Oracle Message - <pck name.proc name> : 301 [message #606818 is a reply to message #606816] Wed, 29 January 2014 10:53 Go to previous message
grpatwari
Messages: 288
Registered: June 2008
Location: Hyderabad
Senior Member
I have removed OTHERS exception.

OTHERS exception internally calling one procedure that is using one select statement. That select statement is returning 'no_data_found' exception.
Previous Topic: Can you any one help me to solve the unique constraint error
Next Topic: Searching string with special characters using INSTR function
Goto Forum:
  


Current Time: Thu Apr 18 18:32:39 CDT 2024