Creating nested packages

hi,
i want to know if any feature
provided in 9i regarding
creation of nested packages
as if in java.
Thanks,
Suresh.

No.
Obviously, packages can call packages can call packages, but there's no family history or inheritance like there is in Java. PL/SQL is a procedural language, not an OOP lanaguage.
Cheers, APC

Similar Messages

  • Nested Packages

    Hi
    I am not quite familer with pl/sql. I need to do this.
    I have 3 packages
    say p1,p2,p3 all are contains some x no of functions and y no of procedure.
    I want to nest these packages may be like p1=> p1+p2+p3.
    so that I can ensure the serial flow of executions. After nesting I will be schedule p1 into job.
    #2. I want to have log system for this execution against which I am going create a table loginfo
    that is should contain log information. Somthing like this
    package1 -> procedure1-> starttime "Some timestamp information"
    Packagex-> -> procedurey-> endtime "Some timestamp information"
    how i can achieve this.
    some layout kind of stuff would give me some help.
    Any better suggesstion against my requirements are welcome.
    I am using oracle 9iR2 / AIX
    Thanks
    Ranga
    Edited by: Rangarajan on Oct 24, 2008 4:32 AM

    Hi,
    You have to create ohter package to encapsulate the calls to the others packages, like (very simplied example)...
    CREATE OR REPLACE PACKAGE pack_test IS
        PROCEDURE TEST;
    END pack_test;
    CREATE OR REPLACE PACKAGE BODY pack_test IS
        PROCEDURE TEST IS
        BEGIN
          -- Call P1 procedures or functions...
          P1.proc_p1;
          -- Call P2 procedures or functions...
          P2.proc_p1;
          -- Call P3 procedures or functions...
          P3.proc_p1;
        END TEST;
    END pack_test;
    /Regards,

  • 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.

  • 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.

  • 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

  • How to create a package in ECC 6.0.

    Hi,
    Can you tell me how to create a package in ECC 6.0 system?
    Thanks in advance,
    Regards,
    Arnab.

    Hi,
    Thank you for your replies.
    Can you tell me the difference and uses of the two types of package I can create from SE21.
    i.e. : Package and package interface. any sap link would also be helpful. I need to know where i can use what and what would be helpful for my case.
    Regards,
    Arnab.

  • Creating a package in SAP BI

    Hi experts,
                         I need to create a package for my project .Please tell me how to create a package in SAP BI .
    Regards,
    Khan

    Hello,
    TCODE SE80 -> Give the name for the package and from drop dwn select package -> hit enter -> it will ask u want to create -> click yes.
    Regards,
    Shashank

  • The person who creates a Package is able to create EEWB project

    HI,
    The person who creates a package is only able to create a EEWB project with that package. Using someone else's package is throwing error. Is this the standard behaviour of EEWB. Or is there a break through.
    Regards.

    Thank you Steve.
    I created a package in the CRM 7 system. I am able to assign my projects in EEWB to the package I created. But when someone else tries to assign their project to the package I created it says "You are not authorised to make changes. Authorisation object".
    And then if he makes some changes to the package , I mean he re-states the descripotion,then he is able to use the package, but then I am unable to make changes. This functionality looks weird. Can you suggest a work around??
    Regards,
    Hiranmayi

  • Steps to create Info Packages in BI 7.0

    Please Give Steps top create new Info packages in BI7.0

    Hi,
    Steps to create Generic data source:
    If you want to extract the data from MM table in BI Please follow the below steps.
    1) Create a view on that table By going in to se11( Do this for future purpose, no need of joining conditon as of now why because view is containing only one table at this juncture)
    2) Go to RSO2, create generic data source based on view and designate this datasource under mm application component, it helps to replicate easily from the source system in BI side.
    3) While Creating datasource make sure that field selections and selection criteria for fields.
    4)Assign it to a package(specified by the team) for transportation purpose. Make sure the dependencies also will be going through request other wise the request may fail.
    5) Replicate the generic datasource in BI System(by going in to the mm appln comp under r/3 source system)
    6) After replication do create info package, transformations and dtp also.
    7) Trigger the Info package and then DTP.
    now data will be there in your data target in BI system
    Steps to create standard data source
    1> Go to RSA5 ,Select what data source u want , CLICK Transferstructure.
    2> After dooing this u can see the structure in RSA6 , if u want to do any customozation by adding extra fields u can do it her , if not no need.
    3> go to RSA3 and check if the structure is pulling data or not .
    BW SIDE
    4> Select Source system ->Replicate data source
    5> create Transfer rules , update rules and cube and u are done
    6> u can create a infopackage and schedule ur data load into the cube or ods.
    Hope this helps you
    Regards,
    Rakesh

  • How to create a package without BIDS in Microsoft SQL Server Management Studio

    I have inherited some SSIS packages that I found I can edit by opening the .dtsx file in my local copy of Microsoft SQL Server management studio.  I then get Control Flow tab, Data Flow tab etc.  I can add or change or delete any of the control
    or data flows.  I have found that if I use the same path to the local file where the packages are stored that exists on the server, I can edit the dtsx file on my local machine and copy the dtsx file to the server into the same directory structure and
    sucessfully execute the package on the SQL 2008 server.
    I have VS 2010 installed.  I have read that I have to install VS 2008 to use BIDS from within VS.  However, this has not worked out very well.  Since I can basically create a new package by deleteing all of the control and data flows from
    an existing package, I am in pretty good shape.  However, I would just like to know if there is a way to create a new dtsx file from within Microsoft SQL Server management studio.  Also one thing I have not been able to change is the event handler
    name or package exploration name....it is just an annoyance since it does not cause any problems, just would like to be able to rename it.   

    Hi Fred,
    We cannot develop SSIS package in SQL Server Management Studio. If we use SQL Server Import and Export Wizard, we can save it as a package but the package is rather simple.
    We use Business Intelligence Development Studio (BIDS) or SQL Server Data Tools (SSDT) to develop SSIS packages. To develop SSIS 2008 packages, we must use BIDS installed by SQL Server 2008, and the BIDS 2008 can only be integrated with Visual Studio 2008.
    To develop SSIS 2012 packages, we use the SSDT installed by SQL Server 2012 which uses Visual Studio 2010 shell and can only be integrated with Visual Studio 2010.
    Different versions of SSIS package have different package formats/schemas. If you can create SSIS packages project in you Visual Studio 2010, it means that you have installed SSDT already, and the packages you design are SSIS 2012 packages. If you open and
    eidt SSIS 2008 packages in you Visual Studio 2010, the packages will be upgraded to SSIS 2012 package format. SSIS 2012 packages cannot be downgraded to SSIS 2008 packages or deployed to SSIS 2008 server.
    Regards,
    Mike Yin
    TechNet Community Support

  • Creating a Package for Constant Variables

    Hi
    I expect this should be an easy question for some of you, but I am fairly new to PL/SQL!
    Anyhow, I would like to create an PL/SQL Script as a package, which holds a list of Constant Variables, which will be common across a number of PL/SQL Packages rather than having to repeat the constants again and again over a number of files and then having the worry of trying to maintain them all.
    Can someone please advise me how to create such a package?
    Thanks

    You can create the package this way:
    create or replace package myconst is
    const1 number := 0;
    const2 number := 2;
    end;
    /And you can optionally initialize your constants this way:
    create table myconstTable  (c1 number, c2 number);
    insert into myconstTable values (1,2);
    create or replace package body myconst is
    begin
      Select c1,c2
        into const1,const2
        from myConstTable;
    end;
    /And finally you can use it this way:
    set serverout on
    exec dbms_output.put_line(myconst.const1);
    1Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]

  • Windows CCP Failing to create a package successfully....

    Hi All,
    I have been trying to create a test package with CCP. I have limited it to include just Acrobat 11 and updates to make the logs easier to follow:
    OS: Windows 8 64bit
    9/10/2013 17:25:42[INFO] AdobePackageBuilder - Build Version - 1.2.0.4
    9/10/2013 17:25:42[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    9/10/2013 17:25:42 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
    9/10/2013 17:25:42 [WARN] AdobePackageBuilder - Error in creating file for 7z test output. Error code : 3
    9/10/2013 17:25:42 [WARN] AdobePackageBuilder - Preprocessing of 7z file failed!
    9/10/2013 17:25:44 [INFO] AdobePackageBuilder - Sucessfully extracted the product at C:\Users\tryhorn.tim\AppData\Local\Temp\{34378342-D2BE-465E-AF4E-313B6E4393A1}\ACCCx2_1_2 _232
    9/10/2013 17:25:44 [INFO] AdobePackageBuilder - Extraction completed with return code = 0
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - ASU at Path (C:\Adobe Pack
    ages\Adobe Acrobat XI 32-bit\Build\Setup\Adobe Acrobat XI Pro_0\Set-up.exe) is not found. Skipping copying and renaming.
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    9/10/2013 17:26:05 [INFO] AdobePackageBuilder - Successfully created Setup.ini file for Acrobat Customized Wizard.
    While a package is created if you try to execute it it crashes to desktop.
    Any Ideas?
    Thanks,
    Tim

    Hi Servite College,
    Could you please try a different network source to create a package.
    Additionally:
    The following host/port combinations may need to be whitelisted when logging in with an Adobe ID to download, install, and activate licensing for applications via a Creative Cloud membership.
    ccmdls.adobe.com:443
    ims-na1.adobelogin.com:443
    na1r.services.adobe.com:443
    prod-rel-ffc-ccm.oobesaas.adobe.com:443
    lm.licenses.adobe.com:443
    ccmdl.adobe.com:80
    swupmf.adobe.com:80
    swupdl.adobe.com:80
    Note: Please make 32 bit package on 32 bit machine and 64 bit package on 64 bit machine.
    Regards,
    Romit Sinha

  • How to Initiate For Creating Business Package.

    Hi all,
    We donu2019t have NWDI setup in our landscape; therefore I would like to know that how i can initiate for creating business package of custom specific application development using Web Dynpro JAVA and DB Oracle. If anyone has idea about this type of in-house development, please suggest.

    Hi Gautam
    Please setup NWDI for creating custom business pachage.
    Download DTR, CBS and CMS same patch level as your Server and delpoy.
    then Create Software component in System Landscape Directory(SLD) and create custom business package track in the CMS for development using Web Dynpro JAVA
    Hope this will help.
    Thanks
    Arun

  • How to create the package.

    Hi ,
    How to create the package.
    Thanks

    Hi Mahaboob,
    Goto SE80 Transaction
    Select Package and below give the package name and click on enter.
    then u get a pop up asking to create package. Click yes. then u get a pop up  Package Builder: Create package
    Give the description and the Application component and click on create.
    Best regards,
    raam

  • 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

  • Can you import more pictures into a photo book that is already in work?

    Can you import more pictures into a photo book that is already in work? I have already spent many hours trying to create a photo album but came across more pictures to choose from. However, I don't know how to get these new pictures into the "list" o

  • Sales Invoice prototype

    Can any body plz send me some prototype test for Sale Invoice, am using VBAK , VBAP and VBKD tables and any body plz explain how i have to do protype test for those transactions tht have to be there in Sales Invoice data extraction

  • HT201317 Transfer photos automatically from i-phone to i-photo on the mac.

    Hi everybody, I am trying to transfer  photos of my iphone automatically to i-photo on the mac.But it doesnt work. I activated iphone on i-cloud. What am I missing ? thank you

  • How to in Update process of SP's with Upgrade of Add on

    Hi, I'm updating the system to the latest ECC 6.0 STACK 20. This includes various SP's and also, in my case, a update of PI_BASIS (version 2005 to 2006). My question is, should I update the PI_BASIS in SAINT to the SP0 of 2006 version, and then conti

  • Stop iphoto from automatically importing pictures

    How do I stop iphoto from automatically opening up and attempting to import pictures when I plug in a Compact Flash card? I shoot for business and for pleasure - I manage business photography differently and not by iphoto. Please tell me how to stop