Skip to Content

Getting error when calling Stored Procedure in script


I am getting an error on while executing stored procedure on oracle 11g db as source by calling below in the script BODS 4.1.

sql( 'ds_xxx','begin schemaxxx.PAC_xxx_LOAD.PRC_xxx;end;');

sql( 'ds_xxx','begin schemaxxx.PAC_xxx_LOAD.PRC_xxx;end;');

sql( 'ds_xxx','begin schemaxxx.PAC_xxx_LOAD.PRC_xxx;end;');


1. Imported SP into functions

2. Called stored procedure in script


1st SP is executing correctly and when it executes 2nd and 3rd SP, am getting below error.

I would appreciate your help on this.

Error_SP.jpg (118.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2014 at 08:27 AM

    Try adding "()" to end of the function call

    sql( 'ds_xxx','begin schemaxxx.PAC_xxx_LOAD.PRC_xxx(); end;');



    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks Scott for quick response. I came to know that, 1st SP will call other SP while executing and shouldn't run all procedure at same time that's why I am getting error for 2nd and 3rd SP.

      However, 1st SP is executing without '()' at end of the function call.

      I really appreciated your quick help.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.