SP2-0309: SQL * command procedures can only be nested to a depth of 20

HELLO EVERYONE

HAVE THIS CODE:

clear the screen

prompt ***********************************************

prompt *                                                                    *

prompt *                                                                    *

Guest * CHOOSE ONE OF THE OPTIONS: *.

prompt *                                                                    *

Guest * 1. Create the role *.

Guest * 2. Privilege to grant to a role *.

Guest * 3. Create user *.

Guest * 4. Role of granting a user *.

prompt *                                                                    *

prompt *                                                                    *

prompt ***********************************************

accept the choice prompt "enter choice:

fixed term off

column virt_col new_value by v_choice

Select

case '& choice '.

When '1', then 'C:\PLSQLII\mid_lab\script1.sql '.

When '2' then 'C:\PLSQLII\mid_lab\script2.sql '.

When '3' then 'C:\PLSQLII\mid_lab\script3.sql '.

When '4' then 'C:\PLSQLII\mid_lab\script4.sql '.

end

as virt_col

Double;

Set term on

@& v_choice

SO WHEN I GET 1 I CALL THIS CODE:

set verify off

Set serveroutput on

clear the screen

prompt ***********************************************

prompt *                                                         *

prompt *                                                         *

Guest * CREATE ROLE *.

prompt *                                                         *

prompt *                                                         *

prompt ***********************************************

accept invites role "Enter role to create:

declare

Report number;

Start

CREATE_ROLE ('& role ', status);

If (status = 1) then

dbms_output.put_line ("' this role already exists!");

on the other

dbms_output.put_line ('role created.');

end if;

end;

prompt *********************************************************

accept invites of choice «Press any key to return to the main menu...» »

@ "C:\PLSQLII\mid_lab\menu.sql".

BUT WHEN I ENTER A NAME FOR A ROLE, HE ME GIVES THIS ERROR:

SP2-0309: SQL * command procedures can only be nested to a depth of 20...

COULD YOU PLEASE HELP?

Thank you!

Who executes the PL/SQL block in your second script, then you'll want to add it to your script.

See: http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve037.htm

Furthermore, your caps-lock key seems to be broken...

Tags: Database

Similar Questions

  • A SQL server management studio 2012 error: PERCENTILE_DISC function is not allowed in the current compatibility mode. It can only in mode 110 or higher.

    Our company just upgraded to SQL Server Management Studio 2012 and it has been very useful because I needed to use the percentile for the code I wrote. As a first step, the function did not work because I set the compatibility mode 110 level. After that I did, the function worked. However, now it does not work yet, and I get the same error:

    The PERCENTILE_DISC function is not allowed in the current compatibility mode. It can only in mode 110 or higher.

    I went to the properties of database section, then options and noticed that the compatibility mode has not changed, it is set to "SQL Server 2012 (110). I even used the following code to see if that would help at all even if the compatibility mode is already on this mode:

    ALTER DATABASE Analytics
    SET COMPATIBILITY_LEVEL = 110 
    

    Someone already had this problem or knows if I need to change something in the properties of database for this function work? Is this just a bug in the new version?

    Hello

    I suggest you post this question in the SQL Server 2012 TechNet Forums: http://social.technet.microsoft.com/Forums/en-us/category/sqlserver

    Thank you.

  • Not correctly completed SQL command

    can not find why this error occurs: not correctly completed SQL command

    PROCEDURE FORMA4_25_11)

    P_GO IN VARCHAR2,

    P_DATE_1 IN VARCHAR2,

    P_DATE_2 IN VARCHAR2,

    P_DAY_COUNT NUMBER,

    DATA_SET ON SYS_REFCURSOR)

    AS

    DB_QUERY VARCHAR (32767).

    BEGIN

    DB_QUERY: = ' SELECT T1.ad, T1.admin_count, T1.cnt)

    SELECT dc.NAME ad,

    Count (am. IDN) admin_count,.

    Admn.Say NTC

    SINCE DC dictionaries.customs

    INNER JOIN kadr.tper_master mf

    ON mf.branch_code = dc.code_int AND mf.status = 0

    INNER JOIN vpdgk.vp_admin am

    ON am.mufet_id = mf.idn

    LEFT JOIN (SELECT branch_code,

    Say Count (branch_code) AS

    OF (m_id SELECT c.mufet_id,

    b.branch_code,

    Count (c.mufet_id) mufet_count

    OF vpdgk.vp_qeydiyyat A

    INNER JOIN kadr.tper_master b

    ON b.idn = a.mufet_id

    INNER JOIN vpdgk.vp_admin c

    ON c.mufet_id = A.mufet_id

    AND (c.uid_ IS NOT NULL

    GOLD c.uid_reserv IS NOT NULL)

    INNER JOIN dictionaries.customs d

    ON d.code_int = b.branch_code

    WHEN Trunc (A.insert_date) BETWEEN

    TO_DATE('''||) P_DATE_1 | " ', "DD. MM YYYY ")

    AND

    TO_DATE('''||) P_DATE_2 | " ', "DD. MM YYYY ")

    C.mufet_id GROUP, b.branch_code

    HAVING COUNT (c.mufet_id) < ' | P_DAY_COUNT |')

    GROUP BY branch_code Admn)

    ON admn.branch_code = dc.code_int

    Dc.NAME, admn.say) AS T1 WHERE T1.ad = ' | P_GO | ";

    DATA_SET OPEN FOR DB_QUERY;

    END;

    Hi Afa

    At the end of SQL you write 'AS '. Remove it

    Excample:

  • GET with multiple PL/SQL commands

    Hello!

    I m try to load a file into sqlplus using the GET command. I can't use or BEGIN (if you want to know why: set escape)

    The problem is that this file has more than one command, like this:

    drop table teste_cardia;
    
    create table teste_cardia (
        id number,
        nome varchar2(255)
     );
    

    When I run the loaded file (with /). I got this error:

    C:\Cardia>sqlplus /NOLOG @aaaa.sql
    SQL*Plus: Release 11.1.0.7.0 - Production on Qua Fev 4 10:42:16 2015
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    
    SQL> CONNECT SATIR/XPTO11TB@IDEV10G
    Conectado.
    SQL> SET SQLPROMPT "SQL>"
    SQL>SET SERVEROUTPUT OFF
    SQL>SET LINESIZE 255
    SQL>SET SCAN OFF
    SQL>SET DEFINE OFF
    SQL>SET SERVEROUTPUT ON
    SQL>SET SQLBLANKLINES ON
    SQL>SET VERIFY OFF
    SQL>SET ESCAPE ON
    SQL>GET teste4.sql
      1  drop table teste_cardia;
      2  create table teste_cardia (
      3      id number,
      4      nome varchar2(255)
      5*  );
      6  /
    drop table teste_cardia;
                           *
    ERRO na linha 1:
    ORA-00911: invalid character
    

    If I run a file with a single command without «;» This works.

    I tried to replace ';' by ' / '. Didn t work. Tried using sqlterminador, cmdsep and none of it worked.

    It s possible to have multiple commands in a file and run with GET and /?

    Hi Mario,.

    In my view, that the GET command has no for this.

    The documentation says https://docs.oracle.com/cd/B10501_01/server.920/a90842/ch13.htm

    GET loads a host operating system file in the SQL buffer.

    And in the SQL buffer, you can execute only one statement at a time.

    You can not do this

    < verdi_takt:op56 > select user from dual; select sysdate from dual;
    select user from dual; select sysdate from dual
                         *
    ERROR at line 1:
    ORA-00911: invalid character
    
    < verdi_takt:op56 > select user from dual
      2  select sysdate from dual;
    select sysdate from dual
    *
    ERROR at line 2:
    ORA-00933: SQL command not properly ended
    

    So your file with the command of 2 or more must fail.

    concerning
    Kay

  • BPEL does not receive "return value" of MS SQL, stored procedure

    Hello

    We are facing this problem citing a MS SQL stored procedure the BPEL (jdbc 1.2 driver). We have created the wsdl for the stored procedure correctly using a command line utility tool provided with Oracle SOA Suite.
    But the question is THAT BPEL is not able to get the data present in the statement of "return" of the procedure. We receive null output. But it is able to extract the data from the output variable, if any. Case 1 below is for the return statement. Case 2 is for the output variable


    Case 1: in the following, the output is returned using the return statement. The BPEL that calls this procedure is to obtain a NULL value as an answer to this.


    ALTER PROCEDURE [dbo]. [AddNumbersRet]
    -Add the parameters for the procedure
    @Number1 int,
    @Number2 int
    AS
    BEGIN
    -SET NOCOUNT ON added to avoid additional results sets from
    -interfering with SELECT statements.
    SET NOCOUNT ON;

    -Controls insert for procedure here
    Return (@Number1 + @Number2);
    END

    Case 2: in the following, the output is returned using the SumOfNums output variable. The BPEL that calls this procedure is to obtain a correct answer.


    ALTER PROCEDURE [dbo]. [AddNumbers]
    @Number1 int,
    @Number2 int,
    @SumOfNums int output
    AS
    BEGIN

    -SET NOCOUNT ON added to avoid additional results sets from
    -interfering with SELECT statements.
    SET NOCOUNT ON;

    Set @SumOfNums = (@Number1 + @Number2);

    END



    Case 1 is a failure and case 2 is successful. We cannot change our procedures similar to case 1 to use variables of output because of dependencies on other applications.

    All the world is facing this problem? This looks like a bug in BPEL. Please, share your experiences.


    Thanks and greetings

    Mohan

    Published by: user10980910 on December 8, 2009 05:16

    There is a gap in the command line utility that was addressed in the adapter configuration (AS11gR1) Wizard. The API is a procedure, not a function, so does not return the query for the parameters that the utility made anything for the RETURN statement.

    The adapter configuration wizard is unable to say if there is a RETURN statement either, but it provides the user with a check box that can be used to indicate the presence of the declaration. In the wizard, if you check the checkbox, a parameter is added to the XSD to the RETURN statement. In essence, the adapter will process the procedure as a function and you will get the value of the PERFORMANCE.

    Usually, I wish to indicate that you certainly should NOT change the generated XSD. But you might be able to do it, by adding the necessary element to the OutputParameters for your RETURN statement. Add the following immediately AFTER the element of 'Lines', which occurs first in the XSD and BEFORE all items for the other none.

    Use a value for the "" that is meaningful to you. The wizard uses the name of the stored procedure with the name of the element. We could call this "RETURN_VALUE" or else if is more to your liking. Add the item after you generate the XSD using the command line utility, and then use the XSD when you model your BPEL processes. The WSDL should already have the content for this element handling.

  • Maximum length of the SQL command

    I created a MySQL database and a LabView 8.6 application that inserts data into the database using the SQL Toolbox.  I have a problem very long character data insertion in a LONGTEXT field.  I determined that the problem occurs when the SQL command is more than 1 048 574 characters or the length of a particular field exceeds 1 048 326 characters (cannot say who).

    The error I get is "error-2147467259 occurred at NI_Database_API.lvlib:Conn Execute.vi.  "Exception occurred in the Microsoft OLE DB provider for ODBC drivers: [MySQL] [ODBC 5.1 Driver] [mysqld - 5.1.35 - community] MySQL version disappeared in NI_Database_API.lvlib:Conn Execute.vi.

    According to the MYSQL documentation, a LONGTEXT can 4294967295 characters, so length shouldn't be a problem.  The documentation also indicates "the effective maximum length of LONGTEXT columns also depends on the maximum packet size that is configured in the client/server protocol and available memory", but I don't know how to configure the packet size in LabView.

    I enclose the code example that reproduces the problem, although it is based on a special run table structure effectively.  The table definition is included on the diagram.

    This setting must be configured outside of LabVIEW (UDL or DSN).

    You must configure the server and the client:

    I found this link while searching on stackoverflow

    http://dev.MySQL.com/doc/refman/5.1/en/packet-too-large.html

    You may need to select/Configure a specific vendor (different) in order to set this variable.

  • "Messenger Service, or the Net send command not working only not on the service remote computerhe.

    Messenger Service, or the Net send command not working only not on the remote computer, despite the messenger service is started "it works only if I restart the service.
    operating system is windows xp
    service pack 3

    Hi Charbel,

    Have you done a recent software or hardware changes to the system?

    This problem occurs because the Messenger service is disabled. The Messenger service must run on the destination computer to activate the NET SEND command.

    Because the service is already started, and you must restart the service, you can try to stop the service, change the startup type to automatic and start the service. Check if it helps.

    Please refer to the article to define the service as automatic:

    Programs or services that use the alerts service or the Messenger service do not work as expected after you install Windows XP Service Pack 2

    For more information, see the article:

    The NET SEND command may not work correctly on a computer that is running Windows XP Service Pack 2

    Hope the helps of information.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • I am upgrading an old laptop with Windows XP SP2 to SP3. Where can I download an offline installer that has everything I need to upgrade?

    Setup Windows XP Service Pack 3 offline

    I am upgrading an old laptop with Windows XP SP2 to SP3. Where can I download an offline installer that has everything I need to upgrade?

    Where to download the SP3 Setup file:
    (The file is large but only installs the components required by your PC)
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5e76-401F-BE08-1e1555d4f3d4&displaylang=en

    J W Stuart: http://www.pagestart.com

  • I get an Fatal Exception on start up error, and I can only run in safe mode on my dv6

    I get an Fatal Exception on start up error and I can only run in safe mode on my dv6, can someone please help?  I don't really want to reset to the factory settings I have to reinstall everything.  I tried to go back through the system restore, but it keeps telling me that there is no restore point?  I'm running Windows7 64 bit OS

    Thanks in advance.

    Hi Hazel,

    Start in Safe Mode, open windows control panel, open programs and features and uninstall Comodo Firewall (this will probably be listed as Comodo Internet Security depending on the version).

    Once completed, restart the laptop in Safe Mode .

    As before, open all programs, open accessories, right-click on command prompt and select "run as Administrator".  In the command prompt type the following commands and press enter after each one.

    Drivers CD                (Note that there is a space between cd and drivers)

    del cumon.sys           (Note that there is a space between the led and cumon.sys)

    output

    NOTE: If you get an error after entering del cumon.sys as the "specified path cannot be fouund", it's Ok.

    Restart the computer and see if Windows starts normally.

    Kind regards

    DP - K

  • Delete duplicate of PL/SQL command result values

    Hi all

    I am working on SQL Developer 4.1 and using sub PL/SQL command to retrieve the unique values of Batch_No with matching data:

    Row_ SELECT TO_NUMBER (ROW_NUMBER () (IN Batch_No ORDER)),

    Batch_No,

    Record_Source,

    Create_Date,

    Submitter

    Of

    (SELECT DISTINCT Batch_No,

    RecSource Record_Source,

    Get_Date_From_Remedy (Create_Date) Create_Date,

    Submitter

    OF VOD_SEET_Invoices

    WHERE (Batch_No <>"NA")

    ) batch

    UNION

    Row_ SELECT TO_NUMBER (ROW_NUMBER () (IN Batch_No ORDER)),

    Batch_No,

    Record_Source,

    Create_Date,

    Submitter

    Of

    (SELECT DISTINCT Batch_No,

    'Penalties' Record_Source,

    Get_Date_From_Remedy (Create_Date) Create_Date,

    Submitter

    OF VOD_SEET_Penalties

    WHERE (Batch_No <>"NA")

    ) batch

    The output of the above query has many duplicates in Batch_No, no idea how to rewrite the above query so that only unique values of Batch_No to the associated data are retrieved without duplicates?

    Thanks in advance,

    Kind regards

    Mona Fathy

    For example...

    If your logic is that "Penalties" must have priority over the other record (assuming another in this scenario) of the first query, if there is a record of penalties, then by doing the following:

    Select row_number() (order Batch_No) Row_

    Batch_No

    Record_Source

    Create_Date

    Author

    de)

    Select row_number() over (partition by order of batch_no to decode (record_source, 'Penalties', 0, 1)): the nurse

    batch_no

    record_source

    create_date

    author

    de)

    Select Batch_No

    Record_Source

    Create_Date

    Author

    to select (separate Batch_No

    RecSource Record_Source

    Get_Date_From_Remedy (Create_Date) Create_Date

    Author

    of VOD_SEET_Invoices

    where (Batch_No <> 'NA')) batch

    Union

    Select Batch_No

    Record_Source

    Create_Date

    Author

    to select (separate Batch_No

    "Penalties" Record_Source

    Get_Date_From_Remedy (Create_Date) Create_Date

    Author

    of VOD_SEET_Penalties

    where (Batch_No <> 'NA')) batch

    )

    )

    where rn = 1

    determines a row_number in each batch_no, ordering sanctions first duplicate records, and other records.

    Then the outer query takes just the first records of each batch_no by applying the "where rn = 1" clause.

    The outer query then applies his own row_number compared to results sorted by batch_no.

  • LOV query fails, but works in SQL commands

    I am trying to create a type with semi-automatic item text field, but the query I fill in the definition of LOV returns an error:

    Impossible to analyze the query SQL LOV!

    ORA-00942: table or view does not exist

    Although when I try the same query in the form of SQL commands, it works without any problem. No idea what I am doing wrong?

    The query is as follows, where v_prt_gem_t is a view and prt_gem is a table.

    SELECT
          PG.POST_CODE||' '||PT.NAAM
    FROM
          V_PRT_GEM_T PT
          INNER JOIN
          PRT_GEM PG
          ON
          PT.NR = PG.NR
    WHERE
          LAN_NR = 4
    
    

    Julijan wrote:

    I am trying to create a type with semi-automatic item text field, but the query I fill in the definition of LOV returns an error:

    Impossible to analyze the query SQL LOV!

    ORA-00942: table or view does not exist

    Although when I try the same query in the form of SQL commands, it works without any problem. No idea what I am doing wrong?

    The query is as follows, where v_prt_gem_t is a view and prt_gem is a table.

    1. SELECT
    2. PG. POST_CODE | » '|| PT. NAAM
    3. Of
    4. PT V_PRT_GEM_T
    5. JOIN IN-HOUSE
    6. PG PRT_GEM
    7. WE
    8. PT. NR = PG. NR
    9. WHERE
    10. LAN_NR = 4

    It is likely that CERTAIN privileges on one or two tables/views used are granted for the scheme of the analysis of the application through a role, not directly to the schema. Role-based privileges will be observed in the workshop of SQL in the latest versions of database, but not for running applications. See (YABAOAE) yet another Blog about Oracle Application Express: Application Express and SQL Analysis for detailed information.

    That's why you always have to give the full APEX and the database version numbers when you ask a question: implementations and features change over time. If we know exactly which versions are used so we can determine what behavior is expected, and what bugs exist or have been corrected...

  • Apex - dbms_job.submit (Oracle) in SQL commands

    I have connected to oracle apex (version 4.2.5.00.08) at the URL https://apex.oracle.com/pls/apex/f?p=4550:1:0:

    I am trying to execute the procedure of dbms_job.submit through SQL Workshop-> SQL commands)

    The code is as shown below

    *************************************************************************************************************************

    declare

    -jobno number;

    jobno varchar2 (20);

    Start

    dbms_job. Submit (work = >: jobno,)

    This = > ' START

    emp_pack.remove_dept (16);

    END;',

    next_date = > trunc (sysdate + 1).

    interval = > 'trunc(sysdate+1) '.

    );

    -dbms_output.put_line ('Job No. :'||: jobno);

    commit;

    dbms_output.put_line ('Job No. :'|| is jobno);

    end;

    *************************************************************************************************************************

    The procedure of package I'm talking in the parameter 'WHAT' is defined as shown below

    create or replace package emp_pack is

    process remove_emp()emp_id in NUMBER)

    process remove_dept()dept_id in NUMBER)

    end emp_pack ;


    create or replace package body emp_pack

    is

    process remove_emp()emp_id in NUMBER( )

    is

    begin

    delete from EMP

      where EMP .EmpNo = emp_id ;

    end remove_emp;

    process remove_dept()dept_id in NUMBER( )

    is

    begin

    delete from dept

      where Dept .DeptNo = dept_id ;

    end remove_dept

    end emp_pack ;

    *************************************************************************************************************************

    while trying to run the piece of code (I'm passing avlaue from 35 to the jobno to the RUN time parameter) is the error I get

    ORA-06502: PL/SQL: digital or value error: character string buffer too small


    I tried to know everything, I have, but have not been able to determine what is causing the error. Help, please

    Super weird... I just ran the following on apex.oracle.com and got "1 row (s) deleted', not 'treated statement."

    declare
      l_job int;
    begin
      /* dbms_job.submit( l_job, 'begin delete from emp; end;' ); */
      rollback;
    end;
    
  • Creation of XML report using the PL/SQL stored procedure

    Hi friends,

    I'm working on a report xml with the xml source as a PL/SQL stored procedure.

    I mean the fiscal year indicated in the following link to understand the process:

    http://orclapp.blogspot.com/2012/02/developing-xml-publisher-report-using.html

    In the example shown in the link above, I did not understand the following:

    (1) in the following procedure, setting out "retcode" is not used at all.

    What is the importance of this parameter.

    REPORT PROCEDURE (errbuf OUT VARCHAR2, retcode OUT VARCHAR2, p_product_id in NUMBERS)

    (2) after the xml data are prepared and updates 'l_result' variable Clob, what follows

    Loop is executed. I am not able to understand why the following loop is required.

    LOOP

    EXIT WHEN l_length = l_retrieved;

    IF (l_length - l_retrieved) < 32000

    THEN

    SELECT SUBSTR (l_result, l_retrieved + 1) IN l_xmlstr FROM DUAL;

    l_retrieved: = l_length;

    fnd_file.put_line (fnd_file.output, l_xmlstr);

    ON THE OTHER

    SELECT SUBSTR (l_result, l_retrieved + 1, l_offset)

    IN l_xmlstr

    FROM DUAL;

    l_retrieved: = l_retrieved + l_offset.

    fnd_file.put_line (fnd_file.output, l_xmlstr);

    END IF;

    END LOOP;

    (3) in the example it is not explained how the concurrent program gets the xml data?

    I guess that it is written to a file by using the following line of code:

    fnd_file.put_line (fnd_file.output, l_xmlstr);

    I would be grateful if someone can shed some light in my questions above so that I can well understand the process.

    Thanks and greetings

    Hawker

    Hi 32000 in the code is a 'safe' than 32767 available max mesh, loops is intended to get around the entire thing into pieces that can be managed within the limits of the data type.

    BTW; If you are in the following Oracle e-business, you can also use the Oracle reports very simply to create the XML output.

    If you have reports developer all you need to do is put raw sql (create XML without any "Fireworks") in the SQL report and then set reporting in XML format in the definition of program in Oracle e-business.

    Best regards

    Robert.

  • Why I can't run my Lightroom 6 (not CC) after that I use it only once? After a reboot (7 Wi\ndows), I can only use and closr LR once. This is after I did a recent update.

    After a reboot (Windows 7) I can only use my Lightroom 6 (not CC) once. It will not start again. This happened after I did an update. I can not even find the program id in my Windows Explorer. Al; so, I visit the Web site and see that I have a license for the program, but it can not load again. Why not?

    I have experienced the same problem and advice from Adobe fixes it-

    If Lightroom remains present in the task manager then try this procedure.

    Procedure-

    1. Make a restart/re-start computer
    2. Open Lightroom
    3. Open the Task Manager. (CTRL + ALT + DELETE)
    4. Right click on the App - Adobe Photoshop Lightroom-
    5. Select "see details" «
    6. Right click on "Lightroom.exe.
    7. Click on "set priority".
    8. Set the priority to 'high'.
    9. Close the Task Manager.
    10. Close all programs and restart the computer
    11. While you open Lightroom - reset the preferences by pressing [SHIFT + ALT].
    12. LR control closes correctly.
  • Running a SQL command in my bean class

    Hi all

    I use JDeveloper 12.1.2.0.0.

    I have an interest in running a query in my method of bean. I did some research and I always have a code but it does not find the method that the method requires so I tried to add the query in my AppModule and I added my method as a data control, but how do I access and change my method of bean?

    The page with the code that does not find the method: http://jjzheng.blogspot.pt/2010/11/run-single-query-in-application-module.html

    Gives me: 'Method 'getDBTransaction' not found'

    The page that creates my method as a data control: http://amit-adf-work.blogspot.pt/2013/09/how-to-execute-sql-using-adf-application.html

    This is the right way? How can I run a SQL command in my bean class?

    Kind regards

    Frederico.

    This is the code I am using

    GET A METHOD OF PAGEDEF AND RUN

    get the link containe

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    get an Action or a MethodAction

    Method of the class OperationBinding = bindings.getOperationBinding ("YourMethodAction");

    If there are parameters to define...

    Map paramsMap = method.getParamsMap ();

    paramsMap.put ("param", "value");

    execute the method

    Method.Execute ();

    List errors = method.getErrors ();

    If (! errors.isEmpty ())

    {

    handle errors errors here is a list of exceptions!

    }

    no error return to normal work

    Timo

Maybe you are looking for