Viewing code of a package

Oracle 9.2.0.5 on HP-UX 11.23.
I tray to see the code of a package and I only see a encrypted code (of the package). I am doing this connected as the owner of this package.
Any idea?

Is the WRAP done by the developer as a free decision? This is, I can view the code of another packages. Does this means that the developer of this other packages decided not to WRAP the code?

Similar Messages

  • Unable to view code for procedures/packages in SQL workshop

    Hi
    1 The code window is blank when i try to view the code of any package/procedure in HTML DB sql workshop..
    2 Also when i try to describe HTMLDB_COLLECTIONS view it hangs..
    Am i missing any settings here..
    Thanks in advance
    Laks

    I understand the HTML DB collections view is populated by the HTML DB runtime but why does it hang the firefox browser when i just give a describe on it from sql window
    Also unable to view code for Stored program units ?...
    Anything i am missing or not aware of ?
    Thanks in advance
    Regards
    Laks

  • How to view RUN_REPORT_OBJECT buil-in package source code

    Ps help.
    I'm creating a batch report that will execute from PL/SQL not forms - so I can't use this built-in directly on my PL/SQL procedure. How do I view RUN_REPORT_OBJECT source code and that of the functions that it calls.
    Thanks
    Khombi

    You can't see source code of this package.
    You can use srw package. Please see the following link.
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_evnt.htm

  • Source Code for Business Package Assets

    If anyone customized I would like to know how to get to the Java source code for Asset Business Package
    Regards
    Mike

    Augustine Vinish wrote:
    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    AugustineHi - the source code isn't read in from a file by the database, it's actually stored in the database itself (have a look at the user_source view). Now you may have text files backups of your source code, that have been used previously to create the packages, but the database won't store any info about the file used to do this.

  • Performance effects of writing code in Application Package

    Hi all,
    I just have this strange doubt about the performance of the system if we write the code in "Application Package". Writing code in application package is a good practice as it is good in trems of readability but I am wondering whether performance is effected apart from the advantages of reusability, readability etc.
    I have to create a application class object(Import as well) whenever I need to call a method in the class or any property,during this process the application class object has to be loaded which consumes component buffer which is considerable. So if I am calling in amethod which has say some 20 lines of code in a class of some 1000 odd lines of code. How best is to write that 20 lines of code directly rather than calling a method in the application class.
    Please give your views if my assumptions are wrong.
    Thanks
    Vamsi.

    You ask a good question and you are using a good thought process. It seems that if you write 20 lines of code inline, you will have less memory overhead and less CPU cycles (no construction overhead) than if you write that same 20 lines in an App Class and then create an instance of an object for each row. Is this true? I'm not sure, but using the debugger, etc, it seems logical. It seems logical enough for me to just assume that is the case. Besides performance, however, you have to think about upgrades. If you are modifying a delivered component, then it is usually preferable to write your code outside the delivered code, and then import that code using an App Class or FUNCLIB.
    I think there are some more important questions to answer:
    1. If you have an App Class with 1,000 lines of code and you are only using 20, then why are those 20 lines in the same class as the other 1,000 lines? It seems as though the "big" class with 1,000 lines should use the class that has only 20 (composition), but not be included in the class's code base. Classes should be small. A 1,000 line class is probably too complex and should be broken down anyway. A 1,000 line class may be necessary, but I would take a good look at it and consider refactoring.
    2. If you are iterating over rows and creating an instance for each row, only to execute a method, then perhaps you should consider creating an instance outside the loop and then just execute the method, passing in values, much as you would a Java static method. If you are using a field level event, like RowInit, then this isn't possible. It might be tempting to apply the same approach using component scoped variables, but I cringe at anything other than local scope. I would rather take the minimal performance hit of a small class than use a scope other than local.
    3. If you are only creating an object for the sole purpose of executing a method, then you may be using OOP wrong anyway, and may be better served by a FUNCLIB.
    These are just some thoughts I have. Properly designed App Classes make your PeopleCode easier to write and maintain, but won't add much, if anything to the the number of CPU cycles and memory consumption. In fact, some may argue that the discipline and design afforded by good OOP (composition, TDD, etc) would result in better performing programs.

  • Granting view/select access to packages and procedures

    We have role that we grant to users allowing them select access to tables, views, etc.
    They also need to be able to view the contents of packages, etc.
    Does anyone no a way of granting them access (other than grant execute) so they can only view the content of a package?

    It is not normal for users to be granted access to the source code. Even if you have EXECUTE on another user's package you can only read the spec, not the body.
    If you want to do this then you will need to build some filtering views over the _SOURCE view and grant SELECT on the new views to the users in question.
    A much better solution would be to just allow people to look at the source in the source control repository.
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • Source Code for the Package

    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    Augustine

    Augustine Vinish wrote:
    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    AugustineHi - the source code isn't read in from a file by the database, it's actually stored in the database itself (have a look at the user_source view). Now you may have text files backups of your source code, that have been used previously to create the packages, but the database won't store any info about the file used to do this.

  • Source Code for Business Package for Products

    Hi,
    I need to the source code and customization steps for Business Package for Products.
    Please let me know how and where can i get this.
    Thanks in Advance
    Prashil

    Augustine Vinish wrote:
    Hi Team ,
    I have find out the source code of the Package from dba_source at text column .
    How can I find out
    *1 .where the Database is mounted ie Server information and*
    *2 .Name of the Sql file contains the package body*
    *3 .location of the file in the Server*
    Regards ,
    AugustineHi - the source code isn't read in from a file by the database, it's actually stored in the database itself (have a look at the user_source view). Now you may have text files backups of your source code, that have been used previously to create the packages, but the database won't store any info about the file used to do this.

  • How do I view code in FlashCS4?

    Hi,
      How do I view code in Flash CS4? I am wondering if it's even possible but I am new to Flash so I guess anything is possible, haha. I need to fix my actionscript and this is one of the ways I was told to do it was to look at the code first.
    Thanks,
    ashmic19

    There weren't any "a"'s shown in the timeline so I am wondering if the actionscript I created really applied itself?
    But the protocal you gave helped because now I know how to view the actions applied to various parts so thank you.
    ashmic19

  • What is wrong with the idl code generated by packager.exe?

    Hello everybody,
    I am trying to figure out what is wrong with the idl code generated by packager.exe. In the evaluation for the bug posted at http://developer.java.sun.com/developer/bugParade/bugs/4964563.html it says that the IDispatch interface is not exposed correctly and thus early binding of java objects is not possible using the current activex bridge implementation.
    As I am no idl expert I have no idea what that means. However, I managed to dig out the idl code generated by packager.exe for the following example bean:
    package test;
    public class MyBean
         protected int value;
         public MyBean()
         public void setMyValue(int _value)
              value = _value;
         public int getMyValue()
              return value;
         public MyBean getSelfReference()
              return this;
    }The corresponding idl code generated by packager.exe is
    uuid(81B0BF63-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    library MyBean
    importlib("Stdole2.tlb");
    dispinterface MyBeanSource;
    dispinterface MyBeanDispatch;
    uuid(81B0BF64-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    dispinterface MyBeanSource {
    properties:
    methods:
    uuid(81B0BF65-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    dispinterface MyBeanDispatch {
    properties:
    [id(4097)]
    int myValue;
    methods:
    [id(32768)]
    VARIANT_BOOL equals(IDispatch* arg0);
    [id(32769)]
    IDispatch* getClass();
    [id(32770)]
    int getMyValue();
    [id(32771)]
    IDispatch* getSelfReference();
    [id(32772)]
    int hashCode();
    [id(32773)]
    void notify();
    [id(32774)]
    void notifyAll();
    [id(32775)]
    void setMyValue(int arg0);
    [id(32776)]
    BSTR toString();
    [id(32779)]
    VARIANT wait([optional] VARIANT var0, [optional] VARIANT var1);
    uuid(81B0BF62-2A55-11D8-A73E-000475EBF021),
    version(1.0)
    coclass MyBean {
    [default, source] dispinterface MyBeanSource;
    [default] dispinterface MyBeanDispatch;
    };Does anyone know what is wrong with this code and maybe how to fix the idl code? Generating the dll should then be easy (I already tried several variations of the idl code but as my idl knowledge is limited it didn't really do what I wanted).

    Then the question is why it does work with visual controls (even if you set them to non-visible)?

  • How to view code of all the custom and complex folder  folder

    How to view code of all the custom and complex folder folder in EUL?

    You do not need to run all the reports.
    Also i am not sure about why do you need to see the code of every thing, i assume you will not get much from it.
    If there is a certain folder you are interested in then this is the way.
    Any way there is no way to get the code of the complex folders since they are logical join of other folders.
    to get the code of the custom folder s you can use:
    select * from eul_us.eul5_objs t
    WHERE t.obj_type='CUO'
    AND t.obj_object_sql1 IS NOT NULL;
    you should look (and concatenate) at the obj_object_sql1,obj_object_sql2.....
    Tamir

  • View – Code Dreamweaver 8

    My OS: Vista Home Edition Premium
    Computer: HP Pavilion
    Just installed Dreamweaver 8 all working ok.
    But when I am uploading my saved older files HTML or PHP and trying to
    View – Code Its crashes Dreamweaver.
    Gives me problem details:
    Problem signature:
      Problem Event Name:  APPCRASH
      Application Name:  Dreamweaver.exe
      Application Version:  8.0.0.2734
      Application Timestamp:  4314e5d1
      Fault Module Name:  Dreamweaver.exe
      Fault Module Version:  8.0.0.2734
      Fault Module Timestamp:  4314e5d1
      Exception Code:  c0000094
      Exception Offset:  00398a73
      OS Version:  6.0.6000.2.0.0.768.3
      Locale ID:  1049
      Additional Information 1:  f150
      Additional Information 2:  112d33ddab86c076fa96123810cc4032
      Additional Information 3:  7dfb
      Additional Information 4:  a63c01ecde76748e910015c1ea4e1e5c
    Please help, how can I fix this error?
    Thank you.

    Open up DW and run the Adobe Updater or visit the following website ( http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8 ).  Based on that report DW was never updated and also Vista is still prior to Service Pack 1.  So I think you might want to update that too while you are at it.

  • Viewing code in Java classes

    Hello all,
    I'm new to this forum, so first I'll say Hello.
    I'm a CS student taking my first Java class, and I'm trying to figure out how to view code for certain Java classes and methods; in particular, I want to view the actual code for the g.drawString, g.drawRect, g.setColor, ect... methods. Where do we go to view the actual code for these methods. I find it very frustratingto learn how to use these methods, and yet not to be able to see the actual code that executes them.

    Hello all,
    I'm new to this forum, so first I'll say Hello.
    I'm a CS student taking my first Java class, and I'm
    trying to figure out how to view code for certain
    Java classes and methods; in particular, I want to
    view the actual code for the g.drawString,
    g.drawRect, g.setColor, ect... methods. Where do we
    go to view the actual code for these methods. I find
    it very frustratingto learn how to use these methods,
    and yet not to be able to see the actual code that
    executes them.First thing you should know is that not all code is open-source. You are rarely going to get the source code with libraries and other such items.
    Second, you can always read the JavaDocs provided on this site.
    http://java.sun.com/reference/api/
    API documentation is much more informative (often times) than reading the source code itself.
    Third, the JDK ships with the source code. You can also get copies of the source code from java.net by enrolling in one of the programs and agreeing to the terms and conditions provided therein.

  • Insufficient privilege when Activating an attribute view (person responsible for package = SYSTEM)

    Insufficient privilege when Activating an attribute view (person responsible for package = SYSTEM)
    SAP HANA Studio
    Version: 1.0.33
    Build id: 201206301604 (363996)
    Playing with the efashion tutorial with HANA Studio.
    I am SYSTEM user by default when starting the studio.
    -Schema created
    -DDL created
    -Data loaded
    -Attribute views created
    Below an extract of the error log:
    <info>Create Attribute View failed: SQL: transaction rolled back by an internal error: insufficient privilege: Not authorized

    Hello Anooj and Sri,
    Thank you for your answers, I really appreciate your inputs.
    So I executed this:
    "GRANT SELECT ON SCHEMA SYSTEM TO _SYS_REPO WITH GRANT OPTION;"
    Under the Studio SQL GUI and I still have the same error when activating my very simple attribute view.
    I have installed a recent HANA + Studio + Client release on my laptop:
      SAP HANA Studio
    Version: 1.0.33
    Build id: 201207050531 (364183)
    And yes, this is a demo and yes I am logged as the SYSTEM user (default user when stating the studio). For now, I dont know how to connect to another user with the studio and I will search the doumentation.
    Below a copy/past of the error msg.
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Attribute View: SQL: transaction rolled back by an internal error: insufficient privilege: Not authorized (ptime/query/plan_executor/ddl/qx_cube.cc:1514) n
    Create view DDL statement: CREATE COLUMN VIEW "_SYS_BIC"."efashion/ATV_OUTLET_LOOKUP" TYPE JOIN WITH PARAMETERS ( joinIndex = "EFASHION_TUTORIAL"."OUTLET_LOOKUP", joinIndexType = 0, viewAttribute = ('SHOP_ID', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "SHOP_ID", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$SHOP_ID'), viewAttribute = ('SHOP_NAME', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "SHOP_NAME", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$SHOP_NAME'), viewAttribute = ('MANAGER', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "MANAGER", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$MANAGER'), viewAttribute = ('ZIP_CODE', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "ZIP_CODE", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$ZIP_CODE'), viewAttribute = ('CITY', "EFASHION_TUTORIAL"."OUTLET_LOOKUP", "CITY", '', 'default', 'attribute', '', 'efashion/ATV_OUTLET_LOOKUP$CITY'), view = ('V_OUTLET_LOOKUP', "EFASHION_TUTORIAL"."OUTLET_LOOKUP"), defaultView = 'V_OUTLET_LOOKUP', 'REGISTERVIEWFORAPCHECK' = '1' )nVersion: 48n
    Thank you.
    Patrick

  • NetBeans: Calling code from other packages?

    Normally, when I would call code from eclipse, I would type something like:
    import +<package name>.<class name>+But somehow, this approach doesn't seem to work in NetBeans, how can I import code from another package? I can seem to import from the same package, but not a different one.
    Edited by: px7659 on Jun 15, 2010 6:21 PM

    px7659 wrote:
    Normally, when I would call code from eclipse, I would type something like:
    import +<package name>.<class name>+But somehow, this approach doesn't seem to work in NetBeans, how can I import code from another package? I can seem to import from the same package, but not a different one.Then the package is not part of the project. Did you perhaps forget to add the jar library in question?

Maybe you are looking for