Oracle API - Standard IN and OUT parameter

Hi,
I need to use the standard Oracle API to load bulk data into required table in Oracle HRMS. However, I am confuse on the IN and OUT parameter. For example the below standard Oracle API:
procedure Create_category
(p_validate in boolean default false
,p_effective_date in date
,p_business_group_id in number
,p_category in varchar2
,p_type in     varchar2
,p_description in varchar2
,p_parent_cat_usage_id in     number
,p_synchronous_flag in     varchar2
,p_online_flag in     varchar2 default null
,p_attribute_category in varchar2 default null
,p_attribute1 in varchar2 default null
,p_attribute2 in varchar2 default null
,p_attribute3 in varchar2 default null
,p_attribute4 in varchar2 default null
,p_attribute5 in varchar2 default null
,p_attribute6 in varchar2 default null
,p_attribute7 in varchar2 default null
,p_attribute8 in varchar2 default null
,p_attribute9 in varchar2 default null
,p_attribute10 in varchar2 default null
,p_attribute11 in varchar2 default null
,p_attribute12 in varchar2 default null
,p_attribute13 in varchar2 default null
,p_attribute14 in varchar2 default null
,p_attribute15 in varchar2 default null
,p_attribute16 in varchar2 default null
,p_attribute17 in varchar2 default null
,p_attribute18 in varchar2 default null
,p_attribute19 in varchar2 default null
,p_attribute20 in varchar2 default null
,p_data_source in varchar2 default null
,p_start_date_active in date
,p_end_date_active in date default null
,p_category_usage_id out nocopy number
,p_object_version_number out nocopy number
,p_comments in varchar2 default null
Appreciate clarification on the below:
1. What does the standard IN and OUT parameter mean?
2. Is there any other parameter besides IN and OUT?
My objective is to identify what are the mandatory/required/optional fields based on the API's parameters.
Thanks and Regards,
SC

Hi;
All APIs are listed in Oracle Integration Repository. I suggest check below notes:
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
Technical Uses of Customer Interface and TCA-API [ID 269121.1]
Pelase also check below:
Api's in EBS
Re: Api's in EBS
http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
API
Fixed Asset API
List of API
Re: List of APIs
Oracle Common Application Components API Reference Guide
download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
List of APIs and open interface R12
Re: List of APIs and open interface R12
Regard
Helios

Similar Messages

  • Missing In and Out Parameter at index in procedure

    Hi,
    I am writing my select query on command on source tab, say
    select
    A as A,
    B as B
    from table
    I am writing insert query in command on source tab.
    insert into table(
    A,
    B
    values
    :A,
    :B
    It end with a error in target Missing In and Out Parameter at index 26
    All columns are in caps.
    Please help
    Regards,
    Prerna

    Hi,
    put a DECLARE step before all. After that under my opinion it's better to put a TO_CHAR().
    Try putting your variable in text mode and modify your filter into
    TO_CHAR(LAST_UPDATE_DATE,'YYYYMMDDHHMI') >= TO_CHAR(#PROJ.P_EXTRACT_FROM_TS,'YYYYMMDDHHMI')In your operator if you click on variable which value do you see?

  • Oracle Instant Client and OUT Parameter of custom type in Stored Procedures

    Hi @ all!
    I try to set up a simple client application, that calls a stored procedure via Instant Client from C#.
    The stored procedure and assiciated types looks like this:
    TYPE MYVALUE AS OBJECT
          Id      INTEGER,
          value     FLOAT
    TYPE MYVALUELIST AS TABLE OF MYVALUE;
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT MYVALUELIST)
                                           IS
    ...I created an Oracle Command executing this SP and added OracleParameters for ID and (where I got stuck) the RESULTSET.
    Is it possible to pass a parameter with a custom type from C# in some way?
    I already tried it as a function with SELECT * FROM TABLE(ReadValues(1));
    With my parameter RESULTSET as the RETURN type. But since I use DML within the procedure, this does not work inside of a query...
    Any suggestions?
    Thanks in advance!

    Hi Greg!
    Sorry, I misunderstood the forum topic then. =(
    Anyway, in the example you provided in the link, this is nearly exactly my situation. But there the Oracle.DataAccess.Client is used, where the OracleDBType can be called to initialize an object of type person. I use the instant client libraries called by using System.Data.OracleClient. There is only the OracleType enum, that does not contain an object or something similar.
    So I do it right now after trying a bit with a ref cursor parameter and an OracleDataAdapter - the ref cursor is passed back from Oracle as a DataReader, so die DataAdapter is able to use it for a .Fill():
    OracleCommand cmd = new OracleCommand();
    cmd.Parameters.Add("RESULTSET", OracleType.Cursor).Direction = ParameterDirection.Output;
    OracleDataAdapter odr = new OracleDataAdapter(cmd);
    DataTable result = new DataTable();
    odr.Fill(result);Within my stored procedure I just added the following OUT parameter:
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT sys_refcursor)
                                           IS
    currentlist MYVALUELIST;
    ... [Adding elements to that list] ...
    OPEN resultset for select * from TABLE(currentlist);It works now, but I don't like that solution that much since I'm always afraid that there are lots of opened cursors idyling around. Do I have to close this one explicitly after filling my table by the DataAdapter?
    Regards

  • Performance problem with sproc and out parameter ref cursor

    Hi
    I have sproc with Ref Cursor as an OUT parameter.
    It is extremely slow looping over the ResultSet (does it record by record in the fetch).
    so I have added setPrefetchRowCount(100) and setPrefetchMemorySize(6000)
    pseudo code below:
    string sqlSmt = "BEGIN get_tick_data( :v1 , :v2); END;";
    Statement* s = connection->createStatement(sqlStmt);
    s->setString(1, i1);
    // cursor ( f1 , f2, f3 , f4 , i1 ) f for float type and i for interger value.
    // 5 columns as part of cursor with 4 columns are having float value and
    // 1 column is having int value assuming 40 bytes for one rec.
    s->setPrefetchRowCount (100);
    s->PrefetchMemorySize(6000);
    s->registerOutParam(2,OCCICURSOR);
    s->execute();
    ResultSet* rs = s->getCursor(2);
    while (rs->next()) {
    // do, and do v slowly!
    }

    Hi,
    I have the same problem. It seems, when retrieving cursor, that "setPrefetchRowCount" is not taking into account by OCCI. If you have a SQL statement like "SELECT STR1, STR2, STR3 FROM TABLE1" that works fine but if your SQL statement is a call to a stored procedure returning a cursor each row fetching need a roudtrip.
    To avoid this problem you need to use the method "setDataBuffer" from the object "ResultSet" for each column of your cursor. It's easy to use with INT type and STRING type, a lit bit more complex with DATE type. But until now, I'm not able to do the same thing with REF type.
    Below a sample with STRING TYPE (It's assuming that the cursor return only one column of STRING type):
    try
      l_Statement = m_Connection->createStatement("BEGIN :1 := PACKAGE1.GetCursor1(:2); END;");
      l_Statement->registerOutParam(1, oracle::occi::OCCINUMBER, sizeof(l_CodeErreur));
      l_Statement->registerOutParam(2, oracle::occi::OCCICURSOR);
      l_Statement->executeQuery();
      l_CodeErreur = l_Statement->getNumber(1);
      if ((int) l_CodeErreur     == 0)
        char                         l_ArrayName[5][256];
        ub2                          l_ArrayNameSize[5];
        l_ResultSet  = l_Statement->getCursor(2);
        l_ResultSet->setDataBuffer(1, l_ArrayName,   OCCI_SQLT_STR, sizeof(l_ArrayName[0]),   l_ArrayNameSize,   NULL, NULL);
        while (l_ResultSet->next(5))
          for (int i = 0; i < l_ResultSet->getNumArrayRows(); i++)
            l_Name = CString(l_ArrayName);
    l_Statement->closeResultSet(l_ResultSet);
    m_Connection->terminateStatement(l_Statement);
    catch (SQLException &p_SQLException)
    I hope that sample help you.
    Regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle APIs For Contacts and Role Responsibility

    Hello,
    Please, I need a direction on how to proceed about the use of the right API. I'm working with Oracle EBS R12. If this is not the place for this kind of doubt, please let me know the best one.
    I already have a site for a customer, which was created by the ra_customers_interface_all, after loading the data and processing the interface.
    Now I need to create (using Oracle APIs) a contact name, which will have at least a telephone number and an e-mail address.
    I know that the contact name will be in table HZ_PARTIES, but later it will be related to a site. The registry that will be used for this has the Party_Type value equals to 'PARTY_RELATIONSHIP', according to what the customers interface did after being executed.
    Then the telephone number and e-mail address will be in table HZ_CONTACT_POINTS. The Owner_Table_Name of it has to be 'HZ_PARTIES'. The Owner_Table_Id of it will have the value of Party_Id from table HZ_PARTIES, which has Party_Type value equals to 'PARTY_RELATIONSHIP'.
    After this, my main goal is to create a role responsibility to the contact name. So I know there are other two tables involved. They are HZ_CUST_ACCOUNT_ROLES and HZ_ROLE_RESPONSIBILITY.
    And I see there are two more tables involved, which are HZ_RELATIONSHIPS, which will do the PERSON x ORGANIZATION relation, and also table HZ_ORG_CONTACTS, which has the field PARTY_SITE_ID, to finally indicate that this contact is part of a site, which I already have.
    I have all these tables in mind. I just need a tip on how to proceed. I'm able to create a party as PERSON, not yet as PARTY_RELATIONSHIP. I'm able to create a contact point (telephone number). I'm lacking the idea about what to do have this:
    site -> contact name -> telephone number of this contact name inside this site
    I can do this:
    site -> telephone number of this site
    Any help would be great.

    Thanks for the reply but i stil have the problem...............
    My Current machine.config has this to say in that particular section
    <connectionStrings>
    <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
    <add name="OraAspNetConString" providerName="Oracle.DataAccess.Client" connectionString=" "/>
    </connectionStrings>
    What can be done.........................in this case
    Thanks

  • Stored procedure with IN and OUT parameter

    HI all,
    here is code example
    declare
             in_dt date  := '1-feb-2010' ;
    col1 ...;
    col2 ...;
    col3 ...;       
    begin
      select e.*
      into col1,
            col2,
            col3
      from table_xyz e
      where e.start_dt  = in_dt;
    end;
    How do i convert the above code into stored procedure by accepting "in_dt" as IN parameter and getting the result set displayed (output) through OUT parameter say "cur_out" (OUT paramter)
    Thank you so much !!! I really appriciate it !!

    i ran my procedure which is very similar syndra posted
    create or replace procedure foo(p_dt in date, cv out sys_refcursor) as
    begin
    open cv for
    select e.*
    from table_xyz e
    where start_dt = p_dt;
    end;
    /Here is how is executed
    DECLARE
      P_DT DATE;
      CV SYS_REFCURSOR;
    BEGIN
      P_DT := '10-oct-2005';
      -- CV := NULL;  Modify the code to initialize this parameter
      scott.foo ( P_DT, CV );
      COMMIT;
    END;           
    -- i get PL/SQL procedure successfully complted , But i dont see the result set Or output
    - How do i see the output when i m using refcursor ?? i tried using print , but nothing didnt work
    - Any idea ??
    Thank you!!
    Edited by: user642297 on Jun 24, 2010 1:35 PM

  • Selection on Oracle 8i Standard Edition and Enterprise Edition

    I have seen "Oracle8i: A Family of Database Products" which states the feature difference between oracle8i standard and enterprise edition, for example, failover, parallel server, ...
    However, if I only use one databse in my application then it seems that there is no difference between standard and enterprise edition.
    Is there any significant difference between those that I must use enterprise edition one, e.g. performance???

    Hi,
    Can anybody give me a short explaination about the differences between the Standard Edition and the Enterprise Edition. Is the standard edition a fully qualified development and production environment?
    Regards,
    Joshua The diff between SE and EE has to do with what you license. SE for example, is not licensed for REP and Parallel Server but that might not stop someone from implementing them ? I consider SE and EE to be 'fully qualified development and production environment' but that is just my opinion.
    RP.

  • Oracle OLAP best practice and DB11g parameter suggestion

    Hi All ,
    We have huge partitioned fact table with nearly 1 billion of data(15GB export dump) for range by month partition holding 24 months data. Any special recommendation you prefer for parameters (AWM etc.) ?
    or else any recommendation to Create cube strategies ?
    Also any recommandation on Cube partition and Database 11g paramater(int.ora) related changes for OLAP 11g cube ?
    Thanks in advance,
    Debashis

    There are recommended parameters and recommended strategies in the Oracle documentation.
    For starters, I recommend these guides:
    VLDB and Partitioning Guide
    Data Warehousing Guide
    OLAP User's Guide
    All of which can be found at:
    http://www.oracle.com/pls/db112/portal.all_books

  • Oracle 10g Standard One

    I want to clear out some issue abt Oracle 10g Standard One and Partitioning. On the internet I have found that one of the Oracle Enterprise Edition Features not available in Oracle Standard Edition One is:
    Oracle partitioning - For database over 100 gigabytes
    Can someone confirm this? Does it actually mean that there is actually PARTITIONING in Oracle10g Standard One if the database is less than 100GB ?
    thanks

    I don't believe partitioning is available in the standard edition (or in Standard Edition One). The comment you refer to is likely explaining the sort of databases that might benefit from partitioning-- there aren't a lot of folks that would want to partition database tables if the database was only a few GB in size.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Example of IN OUT parameter in a procedure

    Hi All,
    Can anyone please send me a procedure using inout parameter, I know about IN Parameter and OUT Parameter, but I don't know about INOUT parameter in pl/sql.
    please send some example.
    thanks
    mohan

    Hi
    Read the fine manuals
    Refer http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_packages.htm
    Search "Parameter Modes'
    - Pavan kumar N

  • Return Nested Table  Using Out Parameter

    Hi Friends,
    I wrote a function in which i'm using a return type as NUMBER and OUT parameter as TABLE but i'm not able to call the function in PL/SQL because of TABLE ,Can anyone plz tell me how to call the function in PL/sql using TABLE as OUT parameter. The calling function is mentioned below..
    FUNCTION get_label_to_folder (
    i_folder_id IN NUMBER,
    i_label_id IN NUMBER,
    i_new_path IN VARCHAR2,
    i_src_path IN VARCHAR2 DEFAULT NULL,
    --i_output_loc_type   IN       VARCHAR2,
    o_vdoc_table OUT vdocs_table
    RETURN NUMBER;
    I tried to call that function in this manner but it won't work--
    DECLARE
    TYPE vdocs_table IS TABLE OF VARCHAR2 (50);
    vdoc vdocs_array := vdocs_array ();
    vret VARCHAR2 (20);
    BEGIN
    vret :=
    sce_label_util.get_label_to_folder (32272,
    324073,
    '/test-aaaa/a1/',
    NULL,
    vdoc
    FOR i IN vdoc.FIRST .. vdoc.LAST
    LOOP
    DBMS_OUTPUT.put_line (vret || ' ,' || vdoc (i));
    END LOOP;
    END;
    Kindly check it and plz resolve the problem.
    Regards,
    Anand

    It is not the correct approach to do this (passing a collection using an OUT parameter) using a function.
    Does not matter whether you dislike it. It is still wrong.
    It should be a procedure. It should likely define the OUT parameter as being passed by reference and not value in order to decrease the call overheads and increase performance.
    Also note that is it not called a table. The correct terminology is a collection or an associative array. A table is something you get inside the database engine. The structure you define in the PL engine is nothing like a database table and everything like an array.
    PS. And how do you expect us to determine the error? How do you expect us to test anything if we do not know what Oracle version you are using? Please.. FULL details, including Oracle version number and the full Oracle error message!

  • What is limit of database size in oracle 10g standard edition/edition one

    Hai All,
    What is the limit of database size in oracle 10g standard edition and standard edition one.. I see the white paper of oracle says that the limitation is 500 GB. This limitation is correct.? if correct then what happened after the limit..?
    Please help?
    Shiju

    What white paper would that be? I can't see any limit in the Oracle Database 10g Editions comparisons.
    C.

  • Difference between standard edition and enterprise edition?

    Is there any document describing the feature differences between Oracle 9i standard edition and enterprise edition?
    Specifically is Oracle Text bundled with the standard edition?
    Thanks a lot
    James

    Hi,
    Check this document:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=112591.1
    Apart from the features that are present in E.E. and not in S.E., there is little difference (except the license price...).
    Note that some seperately purchased options are only available with E.E., not S.E. (e.g. Partitioning, Enterprise Manager Packs).
    MB

  • Diff between Oracle 9i Standard Editionand Oracle 9i Enterprise Edition

    what is the diff between Oracle 9i Standard Edition     and Oracle 9i Enterprise Edition

    Check http://www.oracle.com/database/product_editions.html
    This is about 10g but mostly should be the same as in 9i with at least two exceptions known for me RAC is not possible for 9i SE and 9i had not XE at all.
    Gints Plivna
    http://www.gplivna.eu

  • Oracle Database Standard One

    Hi,
    I know HTMLDB is included in Oracle Database Standard Edition and Enterprise Edition. I would like to know if the same applies for Oracle Database Standard One?
    Thanks.
    Best Regards,
    Patrick

    Patrick,
    HTML DB is supported in Standard One, Standard and Enterprise Editions of the Oracle Database.
    Thanks,
    - Scott -

Maybe you are looking for

  • Lightroom 3.4 and Camera Raw 6.4

    I like the interface. There were some subtle changes. I don't like the import dialogue menu. Find it more confusing that the previous dialogue box setup. Suggestions: 1) Add a 3rd level customization. I take a lot of images per month and sometimes on

  • Trouble Syncing Tour with my contacts and Calendar

    I have a tour and have had a great deal of trouble with syncing my calendar and my contact from my pc into the BB.  I keep getting error messages during the sync after it has processed some records.  When I try to import my Calendar from Windows mail

  • How to get shape layer's content parameters in AEGP?

    Hi all, I have no idea when I want to export the parameters from the Contents of shape layer. Now I add Polystar Path1, ZigZag 1, and Repeater1, three contents of shaper layer. Content seems not equal to effect. I used AEGP_GetNewEffectStreamByIndex

  • Can't open Excel attachment​s

    I have curve 8330.  My boss sends me emails with excel attachments and I can't open them.  I keep getting a message that says "password not supported for this format".  Any ideas how to fix this?  I've had the phone for about a month and it's been li

  • DELL BLADE Server and Windows 2003 Oracle 10g RAC

    Anyone out there sucessfully set up a Windows 2003 Oracle 10g RAC using DELL BLADE Servers and VMWARE configuration?