Error Creating Body Package

Hi, my problem is that appeared an error creating the body package:
Compilation errors for PACKAGE BODY PNENGS.IVR_1A
Error: PLS-00323: subprogram or cursor 'BUSQUEDA_IVR' is declared in a package specification and must be defined in the package body
Line: 11
Text: IS
Look the Package (First Part):
create or replace package IVR_1A is
-- Author : CTEJADA
-- Created : 4/18/2008 4:24:13 PM
-- Purpose :
-- Public type declarations
type t_cursor is REF CURSOR;
procedure BUSQUEDA_IVR(NIC IN VARCHAR ,C_REFERENCIA OUT VARCHAR ,COD_CLIENT OUT VARCHAR,
APELLIDO_1 OUT VARCHAR,APELLIDO_2 OUT VARCHAR,NOMBRE OUT VARCHAR);
end IVR_1A;
And look the Body Package:
create or replace package body IVR_1A IS
PROCEDURE BUSQUEDA_IVR (
NIC IN VARCHAR,
C_REFERENCIA OUT VARCHAR,
COD_CLIENT OUT VARCHAR,
APELLIDO_1 OUT VARCHAR,
APELLIDO_2 OUT VARCHAR,
NOMBRE OUT VARCHAR,
p_flecha OUT t_cursor)
IS
CLIENTE NUMBER(10);
BEGIN
C_REFERENCIA := NIC;
BEGIN
OPEN p_flecha FOR
SELECT s.cod_cli,c.ape1_cli,c.ape2_cli, c.nom_cli
INTO CLIENTE, APELLIDO_1, APELLIDO_2, NOMBRE
FROM t_ivr_users t, gcp82e.sumcon s, gcp82e.clientes c
WHERE t.c_referencia = TRIM(NIC)
AND s.nic = t.c_referencia
AND c.cod_cli = s.cod_cli;
EXCEPTION
WHEN NO_DATA_FOUND THEN
CLIENTE := 0;
APELLIDO_1 := NULL;
APELLIDO_2 := NULL;
NOMBRE := NULL;
END;
IF CLIENTE = 0 THEN
COD_CLIENT := NULL;
ELSE
COD_CLIENT := TRIM(TO_CHAR(CLIENTE));
END IF;
END busqueda_ivr;
end IVR_1A;
What can i do?? Please help me

Like Sybrand suggested, your argument list in the spec doesn't match the body:
procedure BUSQUEDA_IVR (NIC IN VARCHAR, C_REFERENCIA OUT VARCHAR, COD_CLIENT OUT VARCHAR, APELLIDO_1 OUT VARCHAR, APELLIDO_2 OUT VARCHAR, NOMBRE OUT VARCHAR);
PROCEDURE BUSQUEDA_IVR (NIC IN VARCHAR, C_REFERENCIA OUT VARCHAR, COD_CLIENT OUT VARCHAR, APELLIDO_1 OUT VARCHAR, APELLIDO_2 OUT VARCHAR, NOMBRE OUT VARCHAR, p_flecha OUT t_cursor)(and yes, you should use varchar2)

Similar Messages

  • Error: Create Obfuscated Package

    When i create obfuscated package, i get this error: Error: C:\Documents (The system cannot find the file specified)
    How can i fix it?

    Here I have some code:
    ClassFormat.java
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.MIDlet;
    public class ClassFormat extends MIDlet implements Runnable {
         public void startApp() {
              thread = new Thread(this);
              thread.start();
         public void run() {
              d = Display.getDisplay(this);
              changeForm(new MyForm());
              notifyDestroyed();
              destroyApp(false);
         static void changeForm(MyForm form) {
              currentForm = form;
              if (form != null) {
                   d.setCurrent(form);
         public void pauseApp() { }
         public void destroyApp(boolean unconditional) { }
         private Thread thread;
         public static MyForm currentForm = null;
         private static Display d;
    }MyForm.java
    import javax.microedition.lcdui.*;
    public class MyForm extends Canvas {
         public void paint(Graphics g) {
         public void update() {
    }

  • Error creating setup package

    Hi all,
    I'm getting the following error when the Log Viewer tab is selected when trying to create a setup package in the web console,
      Level Component State Time Date Message
    0050 tc.mobile.admin.bl  114925 20090211 Retrieving device id failed.
    0070 tc.mobile.admin.bl  114924 20090211 Set the communication server port to 45003
    0070 tc.mobile.admin.bl  114924 20090211 Retrieving device id and Application.
    0070 tc.mobile.admin.bl  114924 20090211 Setting mobileEngine.config connection settings completed.
    0070 tc.mobile.admin.bl  114924 20090211 Setting mobileEngine.config connection settings.
    I have rebuilt the device and got a new device id and successfully deployed the application on it and attempted to create the setup package again but got the exact same error. Anyone come across this before? Any help greatly appreciated,
    regards,
    Mark.

    Hi,
    what version are you on?
    Confusing part is: you say you want to build package for PDA - but pathname shown is for PC!
    Furthernore: in MI7.0 it was not possible to build setup packages for PDA as I used it last time.
    Regards,
    Oliver

  • Error creating arm64 compatible ANEs

    I'm trying to create ANEs with arm64 support with no success so far.
    My native libraries are compiled for both armv7 and arm64 since lipo -info confirms so, however ADT still outputs:
    "Error: Apple App Store allows only universal applications. This ANE must have a universal iOS binary. Please change build settings in Xcode project to "Standard Architecture" to create universal library."
    Do I need to change something in my ADT commandline? I tried several ANEs and had problems with all of them. Could anyone provide further information or tips?

    Hi,
    I'm having the same problem here, trying to compile an open source ANE I'd like to use in my project - all of their source files can be downloaded here:
    AppsFlyerSDK/AdobeAirExtension-AppsFlyer · GitHub
    I've modified their build.sh file to point to my local sdk folders, and can successfully build their IOS .a library file, but the compilation fails during they AIR packaging with this error:
    ****** creating ANE package *******
    Error: Apple App Store allows only universal applications. This ANE must have a universal iOS binary. Please change build settings in Xcode project to "Standard Architecture" to create universal library.

  • Error while creating a package

    When I am creating a package which has 3 procedures(x,y,z) I am getting an error saying "Subprogram or Cursor "y" is declared in a package specification and must be defined in the package body. I have put the code in the package body script but I keep getting this error. Please Help.

    Surely we will if you can paste the code and the error that you get. Remember to paste the code between[b] [pre] and [/pre] tags to retain the format.
    Cheers
    Sarma.

  • Create a package with one function - Error Ora-00907

    Hello,
    I want to create a package which should store one function.
    The code looks like this:
    Package Header:
    CREATE OR REPLACE
    PACKAGE "PCK_REPORT" AS
      TYPE t_varchar2 IS TABLE OF VARCHAR2(4000);
      FUNCTION f_tabtostring(i_varchar2 IN t_varchar2) RETURN VARCHAR2;
    END;Package Body:
    CREATE OR REPLACE PACKAGE BODY "PCK_REPORT" AS
      FUNCTION f_tabtostring (i_varchar2 IN t_varchar2) RETURN VARCHAR2 IS
                                o_string VARCHAR2(32767);
      BEGIN
        FOR i IN 1 .. i_varchar2.COUNT LOOP
          IF i != i_varchar2.FIRST THEN
            o_string := o_string || ', ';
          END IF;
          o_string := o_string || i_varchar2(i);
        END LOOP;
        RETURN o_string;
      END f_tabtostring;
    END;Comilation works fine, but when I try to use the function with the following example:
    SELECT pck_report.f_tabtostring(CAST(COLLECT(mytable.col1) as t_varchar2)) as column1
    FROM mytable;it only returns an error ORA-00902: Unknown datatype.
    When I add the package name to the datatype at the cast in the sql statement, it returns an error ORA-00903.
    What is my misstake?
    Thanks,
    Thomas

    create a global type, and not in the package :
    1* create or replace type t_varchar2 is table of varchar2(100)
    SQL> /
    Type created.
    1 CREATE OR REPLACE PACKAGE "PCK_REPORT" AS
    2 FUNCTION f_tabtostring(i_varchar2 IN t_varchar2) RETURN VARCHAR2;
    3* END;
    SQL> /
    Package created.
    1 CREATE OR REPLACE PACKAGE BODY "PCK_REPORT" AS
    2 FUNCTION f_tabtostring (i_varchar2 IN t_varchar2) RETURN VARCHAR2 IS
    3 o_string VARCHAR2(32767);
    4 BEGIN
    5 FOR i IN 1 .. i_varchar2.COUNT LOOP
    6 IF i != i_varchar2.FIRST THEN
    7 o_string := o_string || ', ';
    8 END IF;
    9 o_string := o_string || i_varchar2(i);
    10 END LOOP;
    11 RETURN o_string;
    12 END f_tabtostring;
    13* END;
    SQL> /
    Package body created.
    SQL> select col1 from mytable;
    COL1
    test1
    test2
    test3
    test4
    test5
    test6
    test7
    test8
    test9
    test10
    10 rows selected.
    SQL> select pck_report.f_tabtostring(cast(collect(mytable.col1) as t_varchar2)) as col1 from mytable
    COL1
    test1, test2, test3, test4, test5, test6, test7, test8, test9, test10

  • Creating a package body

    Hi Everybody,
    I'm trying to create a package body but i keep getting an error message saying package created with complication. What i am i missing? Thanks in advance.
    CREATE OR REPLACE PACKAGE BODY MY_PACK
    IS
    PROCEDURE MY_PROC(A NUMBER, B NUMBER)
    IS
    C NUMBER(4);
    BEGIN
    C:=A+B;
    DBMS_OUTPUT.PUT_LINE('RESULT= '||C);
    END;
    FUNCTION NETSAL(TEMPNO EMP.EMPNO%TYPE) RETURN NUMBER
    IS
    TSAL EMP.SAL%TYPE;
    TCOMM EMP.COMM%TYPE;
    NETSAL NUMBER(10,2);
    BEGIN
    SELECT SAL,NVL(COMM,0) INTO TSAL,TCOMM FROM EMP WHERE EMPNO=TEMPNO;
    NETSAL:=TSAL+TCOMM;
    RETURN(NETSAL);
    END;
    END;
    /

    980155 wrote:
    Hi Everybody,
    I'm trying to create a package body but i keep getting an error message saying package created with complication. What i am i missing? Thanks in advance.
    CREATE OR REPLACE PACKAGE BODY MY_PACK
    IS
    PROCEDURE MY_PROC(A NUMBER, B NUMBER)
    IS
    C NUMBER(4);
    BEGIN
    C:=A+B;
    DBMS_OUTPUT.PUT_LINE('RESULT= '||C);
    END;
    FUNCTION NETSAL(TEMPNO EMP.EMPNO%TYPE) RETURN NUMBER
    IS
    TSAL EMP.SAL%TYPE;
    TCOMM EMP.COMM%TYPE;
    NETSAL NUMBER(10,2);
    BEGIN
    SELECT SAL,NVL(COMM,0) INTO TSAL,TCOMM FROM EMP WHERE EMPNO=TEMPNO;
    NETSAL:=TSAL+TCOMM;
    RETURN(NETSAL);
    END;
    END;
    /what does SHOW ERROR report?
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    since we don't have your table or data, we can't run posted code.

  • Version error while creating info package of data source 0fi_gl_10

    Dear Friends,
    I have replicated the data source 0fi_gl_10 into sap bw but while creating info package i am getting error " The DataSource 0FI_GL_10(E01CLNT200) does not exist in object version A". IS the manual activation always should be done for that ?
    Regards
    Nilesh

    Hi,
    Please check if the veriosn of DataSource is A or not. Sometimes it shows as active but if you open the datasource then it might be in modified version only. Do activate it manually, it will serve your purpose to create a infopackge.
    Regards,
    Anjum.

  • Error while creating Info Package

    Hi,
    I am new to SAP-BW .Could anyone help me in fixing the following error .
    I have created an Info source for characteristic data and then trying to create a Infopackage to load master data , I have used the characteristic Material Number(IO-MAT) in this case .
    When creating the Info Package I got two data sources in the pop up , Material number (Master data)IO_MAT_ATTR and Material number (Texts) IO_MAT_TEXT .
    I was able to load data from a flat file into Data Source Material Number (Master data) But when I was trying to follow the same procedure and load the data for 'Material number(Texts) IO_MAT_TEXT' it gives me the following error .
    Select the Language field in the  source system -> Long Text
    I am not able to figure out and proceed further. Pls help me out.
    Regards
    Sudha

    I have another question..I was able to fix the error regarding info package but unable to load the data..(data load is being failed)
    In the DataSource/Transfer Structure I have LANGU , /BIC/ZB4_MAT (Material Number infoobject which i created) and TXTSH Fields ..
    the flat file which i used has Language, MaterialNumber,description pattern alone..
    (eg . E , M001,cookie ) and when i try to load this data..and  check in the Monitor - Administration Workbench..it shows as unsuccessful..
    The following error msg :
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    I could'nt see the long text of Help information...
    could you help me out in figuring out this..
    Points assigned for previous answer..
    Regards
    Sudha

  • How to check error whilce creating a package

    Hi,
    I am getting an error while creating a package, individually query is running ok but in package it is showing an error. is there any way to check the error. I am using in TOAD Quest Scriptrunner

    What kind of error you got? A syntactical one or a logical one? Your schema should have following rights to debug package:
    GRANT DEBUG CONNECT SESSION,
    DEBUG ANY PROCEDURE TO <Your_Schema><i>
    I am using in TOAD Quest Scriptrunner</i>
    You can refer the user manual or contact Quest for queries regarding Quest Scriptrunner
    *009*
    Edited by: 009 on Nov 3, 2010 12:09 AM

  • I creating firefox extension when add this into firefox all works right but when i open a new link show a dialog box with message "Error: document body is null"

    I am creating firefox extension (No error in extension because it work fine in chrome). But it show box with error "Error: document.body is null" why

    Thanks for reply cor-el &jscher2000
    i am not using "window.content.document.body".
    we send some screenshots for understanding problem
    i created this extension for firefox, chorme
    It Works fine in chrome but in firefox show error(Which have no effect on my extension or other browsing).

  • Error creating package

    Christian, I was finally able to connect to a local db as per your previous directions.
    I tried to create a package and save it, but got the first attached error. I also get this same error if I try and save a stored procedure. I followed the sample demo online to see if I did anything wrong, and I can't see it.
    Do you know what the problem is?
    When dealing with a stored procedure, will the production version have the ability to generate the parameters in the code.
    Will a TableMapping object also be generated for the data to be retrieved via a REFCURSOR (giving a typed dataset)?
    Is the ETA for the PROD version still the end of this month?

    Christian, I spoke too soon. I'm still getting this same error even when I try and save an existing stored procedure in the sample db (HR.ADD_JOB_HISTORY).
    I'm editing the SPROC, and I simply right-click the mouse on its tab inside the IDE and select SAVE.......

  • Data Pump Error - ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has

    Hi All,
    I am getting the following errors when I am trying to connect with datapump.My db is 10g and os is linux.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "SYS.DBMS_LOGSTDBY", line 24
    ORA-06512: at "SYS.KUPV$FT", line 676
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    When I tried to compile this package I am getting the following error
    SQL> alter package DBMS_INTERNAL_LOGSTDBY compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY DBMS_INTERNAL_LOGSTDBY:
    LINE/COL ERROR
    1405/4 PL/SQL: SQL Statement ignored
    1412/38 PL/SQL: ORA-00904: "SQLTEXT": invalid identifier
    1486/4 PL/SQL: SQL Statement ignored
    1564/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    1751/2 PL/SQL: SQL Statement ignored
    1870/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    Can anyony suggest/guide me how to resolve the issue.
    Thanks in advance

    SQL> SELECT OBJECT_TYPE,OBJECT_NAME FROM DBA_OBJECTS
    2 WHERE OWNER='SYS' AND STATUS<>'VALID';
    OBJECT_TYPE OBJECT_NAME
    VIEW DBA_COMMON_AUDIT_TRAIL
    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY
    PACKAGE BODY DBMS_REGISTRY_SYS
    Thanks

  • How to create a package with procedures?

    By referring through net I have written the following PCK file. I have installed my Oracle 11g database in VirtualBox(Win XP). I can able to select the tables using query from the host(Windows 7)
    CREATE OR REPLACE PACKAGE APEX_SYS_PCK
      AS
        TYPE refcursortype IS REF cursor
    PROCEDURE GET_USER_DETAILS(
      D1 OUT refcursortype,
      P_USER IN VARCHAR2,
      P_PASS IN VARCHAR2);
    END APEX_SYS_PCK;
    CREATE OR REPLACE PACKAGE BODY APEX_SYS_PCK
    AS
    PROCEDURE GET_USER_DETAILS(
      D1 OUT refcursortype,
      P_USER IN VARCHAR2,
      P_PASS IN VARCHAR2)
    IS BEGIN
      OPEN D1 FOR SELECT * FROM APEX.PERSONS;
    END GET_USER_DETAILS;
    END APEX_SYS_PCK;
    When I try to run the script I am getting the following error. How to solve this problem? If there is any error in this package please do correct it!!!
    Project: sqldev.temp:/IdeConnections%23vAPEX.jpr
    F:\PACKAGES\APEX_SYS_PCK.sql
    Error: PL/SQL: Compilation unit analysis terminated
    Error(1,14): PLS-00905: object APEX.APEX_SYS_PCK is invalid
    Error(1,14): PLS-00304: cannot compile body of 'APEX_SYS_PCK' without its specification

    STATUS in USER_OBJECTS
    "OBJECT_NAME"
    "SUBOBJECT_NAME"
    "OBJECT_ID"
    "DATA_OBJECT_ID"
    "OBJECT_TYPE"
    "CREATED"
    "LAST_DDL_TIME"
    "TIMESTAMP"
    "STATUS"
    "TEMPORARY"
    "GENERATED"
    "SECONDARY"
    "NAMESPACE"
    "EDITION_NAME"
    "CUSTOMERS"
    70645
    70645
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:17:59:09"
    "VALID"
    "N"
    "N"
    "N"
    1
    "CUSTOMERS_PK"
    70646
    70646
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:17:59:09"
    "VALID"
    "N"
    "N"
    "N"
    4
    "DEPARTMENTS_PK"
    70656
    70656
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:32"
    "VALID"
    "N"
    "N"
    "N"
    4
    "EMPLOYEES"
    70657
    70657
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:57"
    "VALID"
    "N"
    "N"
    "N"
    1
    "DEPARTMENTS"
    70655
    70655
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:32"
    "VALID"
    "N"
    "N"
    "N"
    1
    "EMPLOYEES_PK"
    70658
    70658
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:57"
    "VALID"
    "N"
    "N"
    "N"
    4
    "SUPPLIERS"
    70659
    70659
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:25:41"
    "VALID"
    "N"
    "N"
    "N"
    1
    "SUPPLIERS_PK"
    70660
    70660
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:25:41"
    "VALID"
    "N"
    "N"
    "N"
    4
    "PRODUCTS"
    70661
    70661
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:28:32"
    "VALID"
    "N"
    "N"
    "N"
    1
    "PRODUCTS_PK"
    70662
    70662
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:28:32"
    "VALID"
    "N"
    "N"
    "N"
    4
    "PERSONS_PK"
    70687
    70687
    "INDEX"
    10-AUG-13
    10-AUG-13
    "2013-08-10:22:37:34"
    "VALID"
    "N"
    "N"
    "N"
    4
    "PERSONS"
    70686
    70686
    "TABLE"
    10-AUG-13
    10-AUG-13
    "2013-08-10:22:37:34"
    "VALID"
    "N"
    "N"
    "N"
    1
    "APEX_SYS_PCK"
    70776
    0
    "PACKAGE"
    13-AUG-13
    15-AUG-13
    "2013-08-15:19:56:47"
    "INVALID"
    "N"
    "N"
    "N"
    1
    "GET_LOGIN_CREDENTIALS"
    70775
    0
    "PROCEDURE"
    13-AUG-13
    13-AUG-13
    "2013-08-13:22:26:49"
    "INVALID"
    "N"
    "N"
    "N"
    1
    "APEX_SYS_PCK"
    70792
    0
    "PACKAGE BODY"
    15-AUG-13
    15-AUG-13
    "2013-08-15:19:56:47"
    "INVALID"
    "N"
    "N"
    "N"
    2
    "EMP_MAINT"
    70802
    0
    "PACKAGE"
    15-AUG-13
    15-AUG-13
    "2013-08-15:19:54:39"
    "INVALID"
    "N"
    "N"
    "N"
    1

  • Creating a package. How to include standatd PL/SQL procedure?

    Dear All,
    I need to create a job in oracle schema where in it should to do the following actions.
    1. Refresh the Mat View Refresh group.
    2. Execute a procedure immediately after the above refresh happens.
    Hence I tried to create a package to include both the actions. But unable to create.
    Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Connected as GDB_DEEP
    SQL>
    SQL> CREATE OR REPLACE PACKAGE GDB_GHD_REP AS
      2    PROCEDURE DBMS_Refresh.refresh(refgrp);
      3    PROCEDURE Update_user_details_test();
      4  END;
      5  /
    Warning: Package created with compilation errors
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY GLOBALDB_GHD_REP AS
      2    PROCEDURE DBMS_Refresh.refresh('MVRFRSHGRP_GDBGHD');
      3    PROCEDURE Update_user_details_test();
      4  END;
      5  /
    Warning: Package body created with compilation errors
    SQL> I understand that predefined oracle procedures should not be used like this, but Im trying to get a solution.
    Please help me in finding a solution.
    Is it possible to run two procedures one after the other with a single job?
    Regards
    Deep

    Hi, Deep,
    Deep. wrote:
    Dear All,
    I need to create a job in oracle schema where in it should to do the following actions.
    1. Refresh the Mat View Refresh group.
    2. Execute a procedure immediately after the above refresh happens.
    Hence I tried to create a package to include both the actions. But unable to create.
    Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Connected as GDB_DEEP
    SQL>
    SQL> CREATE OR REPLACE PACKAGE GDB_GHD_REP AS
    2    PROCEDURE DBMS_Refresh.refresh(refgrp);
    3    PROCEDURE Update_user_details_test();
    4  END;
    5  /
    Warning: Package created with compilation errors
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY GLOBALDB_GHD_REP AS
    2    PROCEDURE DBMS_Refresh.refresh('MVRFRSHGRP_GDBGHD');
    3    PROCEDURE Update_user_details_test();
    4  END;
    5  /
    Warning: Package body created with compilation errors
    SQL> I understand that predefined oracle procedures should not be used like this, but Im trying to get a solution.
    Please help me in finding a solution.
    Is it possible to run two procedures one after the other with a single job?
    Regards
    DeepSure; call them from your own procedure. For example:
    CREATE OR REPLACE PACKAGE globaldb_ghd_rep AS
          PROCEDURE  refresh_and_test (refgrp  IN  VARCHAR2);
          PROCEDURE  update_user_details_test;
        END;
    SHOW ERRORS
    CREATE OR REPLACE PACKAGE BODY globaldb_ghd_rep AS
          PROCEDURE  refresh_and_test (refgrp  IN  VARCHAR2)
          IS
          BEGIN
              DBMS_Refresh.refresh(refgrp);
                 update_user_details_test;
          END  refresh_and_test;
          PROCEDURE  update_user_details_test
          IS
          END  update_user_details_test;
    END  globaldb_ghd_rep
    SHOW ERRORSWhen used immediately after the CREATE commands, the SQL*Plus command SHOW ERRORS displays more complete error messages.

Maybe you are looking for

  • Problem with ClassCastException in web application

    Hello,           I'm trying to deploy a web application in WLS 5.1 and I'm getting the           "dreaded" ClassCastException every time when JSP tries to read a bean           from the request or session. Under my architecture (actually it's just   

  • Audiocodes MP112 at remote site not ringing.

    Hi all, In my topology I have a lync ENT FE pool at my HQ and then a branch with a STD FE server (All same site in topology).  On the branch site, I have a paging system. In order for the paging to work being dialled from lync, I'm adding the audioco

  • Convert color to float

    Hello! I�m using a JColorChooser to pick a color and I wanted to convert this value in a float. Using : Color color = Painel_cores.getColor(); float[] myColor = { color.getRed(), color.getGreen(), color.getBlue() }; I get trash that can�t be used� Us

  • PDF file gets corrupted when generated from BSP

    Hi,      I am generating a PDF file from a BSP page ( see the code below). The problem is that PDF file gets corrupted and  I am unable to open it. I also tried to use other functions like GUI_Download and DOwnload as suggested by many and they also

  • Standby switch over

    Hi, I have set up a data guard configuration with one primary database and one physical standby. log apply services and log transfer services work correctly.but when i want to do as switchover operation, the output of the following query is always ((