Using the DBMS_XDBRESOURCE PL/SQL package

Does anyone know how to use the functions in the DBMS_XDBRESOURCE package? I've tried to use the GETCREATIONDATE function but no luck. I usually get a "PLS-00221: 'GETCREATIONDATE' is not a procedure or is undefined"
The 11g PL/SQL packages and type reference describes it as such:
Given an XDBResource, this function returns its creation date.
Syntax:
DBMS_XDBRESEROUCE.GETCREATIONDATE (
res IN XDBResource)
RETURN TIMESTAMP;
Notice the misspelling, which is confusing enough. However, I have no idea how to make an XDBResource object. I've tried the path to the resource as well as the RAW resource ID.
I'm doing this in SQL*Plus, and just want to see if I get the same timestamp that I would see when I browse the object in the XML Repository.
Any help would be appreciated.

Thank you, that works. I remember reading this in the developer's guide, but forgot about it when I did a describe on resource_view and I didn't see any date elements.
Since you mentioned events, and since I will be using them to perform some action, what are the best events to use when a new file is added or an existing one is updated? I haven't digested all the information in the events chapter, but Post-Create and Post-Update are obvious, but I want to make sure it's a valid XML file before anything is triggered.

Similar Messages

  • Using the DBMS_LDAP PL/SQL package to access OID images

    Hey,
    I have built a script using LDAP to access the OID information for all the Portal users and store that information in a regular table in my database, but I am having some trouble retrieving the images associated with each user, so I was wondering if someone could help me out with a code example or point me in the right direction in how I could do this.
    Thanks

    I am seaching for a similar solution. Any ideas please?

  • Issue using the DBFS PL/SQL API

    Hi guys,
    I'm trying to use the DBFS PL/SQL APIs and create some simple functions that for example return the file size or move a file to a different path. I created a user DBFS_USER and granted DBFS_ROLE to that user. Using SQLDeveloper, when I run the following code, it works fine:
    SET SERVEROUTPUT ON
    DECLARE
    l_props DBMS_DBFS_CONTENT_PROPERTIES_T;
    l_prp dbms_dbfs_content_property_t;
    l_blob BLOB;
    l_item_type INTEGER;
    BEGIN
    DBMS_DBFS_CONTENT.getPath (
    path => '/staging_area/test_dir/IAMDBFS_USER.txt',
    properties => l_props,
    content => l_blob,
    item_type => l_item_type);
    FOR x in 1..l_props.count LOOP
    l_prp := l_props(x);
    if (l_prp.propname = 'std:length') then
    DBMS_OUTPUT.put_line(l_prp.propname || ' : ' || l_prp.propvalue);
    end if;
    END LOOP;
    END;
    However, when I try to put it in a package, I get the error message "Error(415,10): PLS-00201: identifier 'DBMS_DBFS_CONTENT_PROPERTY_T' must be declared" while trying to compile. This is what my package and its body looks like:
    create or replace
    PACKAGE MY_DBFS_PKG IS
    Function GetFileLength
    (P_FILE_PATH IN Varchar2
    ,P_ErrMsg OUT Varchar2)
    Return Number;
    END MY_DBFS_PKG
    Body:
    create or replace
    PACKAGE BODY MY_DBFS_PKG IS
    FUNCTION GetFileLength(
    P_FILE_PATH IN VARCHAR2 ,
    P_ErrMsg OUT VARCHAR2)
    RETURN NUMBER
    IS
    l_return NUMBER;
    l_props DBMS_DBFS_CONTENT_PROPERTIES_T;
    l_prop DBMS_DBFS_CONTENT_PROPERTY_T;
    l_blob BLOB;
    l_item_type INTEGER;
    BEGIN
    l_Return := 0;
    P_ErrMsg := NULL;
    DBMS_DBFS_CONTENT.getPath ( path => p_file_path, properties => l_props, content => l_blob, item_type => l_item_type);
    FOR x IN 1..l_props.count
    LOOP
    l_prop := l_props(x);
    IF (l_prop.propname = 'std:length') THEN
    l_Return := l_prop.propvalue;
    EXIT;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    l_Return := NVL(SQLCODE, -1);
    p_ErrMsg := SQLERRM;
    RETURN l_return;
    END GetFileLength;
    END MY_DBFS_PKG;
    Am I missing an extra grant somewhere? Or have I missed a declaration in the package or package body?
    I am not a DB person so pardon the probably inefficient loop to find the length or wrong declaration somewhere. I'm open to suggestions/recommendations but want to use the DBFS PL/SQL API as I need other functions out of it.
    Thanks very much in advance.
    Cappa

    Hi guys,
    I'm trying to use the DBFS PL/SQL APIs and create some simple functions that for example return the file size or move a file to a different path. I created a user DBFS_USER and granted DBFS_ROLE to that user. Using SQLDeveloper, when I run the following code, it works fine:
    SET SERVEROUTPUT ON
    DECLARE
    l_props DBMS_DBFS_CONTENT_PROPERTIES_T;
    l_prp dbms_dbfs_content_property_t;
    l_blob BLOB;
    l_item_type INTEGER;
    BEGIN
    DBMS_DBFS_CONTENT.getPath (
    path => '/staging_area/test_dir/IAMDBFS_USER.txt',
    properties => l_props,
    content => l_blob,
    item_type => l_item_type);
    FOR x in 1..l_props.count LOOP
    l_prp := l_props(x);
    if (l_prp.propname = 'std:length') then
    DBMS_OUTPUT.put_line(l_prp.propname || ' : ' || l_prp.propvalue);
    end if;
    END LOOP;
    END;
    However, when I try to put it in a package, I get the error message "Error(415,10): PLS-00201: identifier 'DBMS_DBFS_CONTENT_PROPERTY_T' must be declared" while trying to compile. This is what my package and its body looks like:
    create or replace
    PACKAGE MY_DBFS_PKG IS
    Function GetFileLength
    (P_FILE_PATH IN Varchar2
    ,P_ErrMsg OUT Varchar2)
    Return Number;
    END MY_DBFS_PKG
    Body:
    create or replace
    PACKAGE BODY MY_DBFS_PKG IS
    FUNCTION GetFileLength(
    P_FILE_PATH IN VARCHAR2 ,
    P_ErrMsg OUT VARCHAR2)
    RETURN NUMBER
    IS
    l_return NUMBER;
    l_props DBMS_DBFS_CONTENT_PROPERTIES_T;
    l_prop DBMS_DBFS_CONTENT_PROPERTY_T;
    l_blob BLOB;
    l_item_type INTEGER;
    BEGIN
    l_Return := 0;
    P_ErrMsg := NULL;
    DBMS_DBFS_CONTENT.getPath ( path => p_file_path, properties => l_props, content => l_blob, item_type => l_item_type);
    FOR x IN 1..l_props.count
    LOOP
    l_prop := l_props(x);
    IF (l_prop.propname = 'std:length') THEN
    l_Return := l_prop.propvalue;
    EXIT;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    l_Return := NVL(SQLCODE, -1);
    p_ErrMsg := SQLERRM;
    RETURN l_return;
    END GetFileLength;
    END MY_DBFS_PKG;
    Am I missing an extra grant somewhere? Or have I missed a declaration in the package or package body?
    I am not a DB person so pardon the probably inefficient loop to find the length or wrong declaration somewhere. I'm open to suggestions/recommendations but want to use the DBFS PL/SQL API as I need other functions out of it.
    Thanks very much in advance.
    Cappa

  • How to use the EBS PL/SQL API from outside PL/SQL

    Hi,
    our attempts to call the stored procedures/functions of the EBS PL/SQL API via JDBC revealed the following issues:
    1. Logical values cannot be exchanged through boolean parameters as the OCI has no notion of this type. Instead we need to write PL/SQL wrappers converting boolean to integer and vice versa. Is that true or are we missing something?
    2. Complex values cannot be exchanged through record types as only PL/SQL code has a notion of this type. Instead we need to write PL/SQL wrappers converting record values to object type values. Is that true or are we missing something?
    3. Types must be defined outside of packages, i.e. in the schema, for whatever reason. Instead we need to write PL/SQL wrappers converting values of types defined in packages to values of types defined in the schema. Is that true or are we missing something?
    4. It is possible to let functions return tables so the results can be queried using SELECT * FROM TABLE. Such functions are called "table functions". Is there something similar for the other direction, i.e. is it possible to call a stored procedure and pass in a table value through an sql INSERT statement?
    5. Do we really have to write all those wrapper routines on our own or is there a PL/SQL library providing such? If not, is there some kind of code generation facility that can generate such wrappers?
    Thanks and Regards,
    Konrad

    Hi Helios,
    I belive its better to move your issue on Forum Home » Database » SQL and PL/SQL which you can get more quick responseYou are probably right! I was thinking about a different forum but I did not see this one. I just posted the question there...
    Still, if somebody has an idea here as well, just let me know ;-)
    Konrad

  • Creating Web services using JDeveloper for Pl/SQL package having ref cursor

    Hi,
    I am trying to create web services for PL/SQL package in JDeveloper. When I am trying to create this web service, the functions in the package which is returning referential cursor or record cursor are not visible. When I highlight the function and click "Why Not?", it displays the message "The following types used by the program unit do not have an XML schema mapping and/or serializer Specified: REF CURSOR". Could you please let me know, how I can create this web service?
    I am getting similar error when I am trying to create web service for a package with overloaded functions also.
    Thanks,

    Ok so I played around with this some more. I created the same process in bpel using oracle bpel designer and here are the results.
    1. Against 10g database running a synch process data is retutned without error.
    2. Against 9i database running an asynch process data is retutned without error.
    3. Against 9i database running a synch process data is retutned with error.
    I'm definilty missing something.

  • Passing date to another form and use the date in sql statement

    hello! to all programmers
    i have some small problem that need some help.
    i want to use date value parameter from the first page in the second page sql statement but i get invalid cursor state error so if anyone can solve this problem or give me a better solution to do this process.
    thanks in advance
    p/s
    EBDATE is define as date data type in my database.
    this is part of my jsp code...
    <---------------------------------------------------------------------->
    SimpleDateFormat sdfInput = new SimpleDateFormat( "yyyy-MM-dd" );
    SimpleDateFormat sdfOutput = new SimpleDateFormat ( "dd/MM/yyyy" );
    String date= request.getParameter("date");
    Date date1 = sdfInput.parse(date);
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:wtmis_db","","");
    Statement stmt=con.createStatement();
    ResultSet set=stmt.executeQuery("select * from ELECTRICBIL where EBDATE="+sdfOutput.format(date1));
    if (set!=null)
    set.next();
         Date bildate =set.getDate ("EBDATE");
         Date sdate =set.getDate ("EBSTARTDATE");
         Date edate =set.getDate ("EBENDDATE");
         int kw =set.getInt ("EBKILOWATT");
         int maxdemand =set.getInt ("EBMAXIMUMDEMAND");
         int days =set.getInt ("EBDAYS");     
    <---------------------------------------------------------------------->

    Try this
    <%
    while(set.next())
    Date bildate =set.getDate ("EBDATE");
    Date sdate =set.getDate ("EBSTARTDATE");
    Date edate =set.getDate ("EBENDDATE");
    int kw =set.getInt ("EBKILOWATT");
    int maxdemand =set.getInt ("EBMAXIMUMDEMAND");
    int days =set.getInt ("EBDAYS");
    %>
    <tr>
    <td width="211"><div align="left"><b>Bill Date :</b></div></td>
    <td width="573"><%=sdfOutput.format(date1)%></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Bill From :</b></div></td>
    <td width="573"> <input type="text" name="textfield" value="<%=sdate%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Bill To :</b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=edate%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b><b>kiloWatt Use (Rm)</b>: </b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=kw%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Max Demand kiloWatt (Rm):</b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=maxdemand%>"></td>
    </tr>
    <tr>
    <td width="211"><div align="left"><b>Days In Billing :</b></div></td>
    <td width="573"> <input type="text" name="textfield2" value="<%=days%>"></td>
    </tr>
    <%
    %>
    i hope. Now u wouldn't get any error message...but...u wouldn't get results as well...Check ur date format with access date format....
    Revert back

  • Using the java.util.regex package

    I am trying to use the regex package to grep out portions of a string that match a regular expression. Some code from my class
        String fileList = "1_tmp.txt 2_tmp.txt 3_tmp.txt 1_inpt.txt 2_inpt.txt 3_inpt.txt 1_out.txt 2_out.txt 3_out.txt";
        String regex = "[0-9].*_out.txt"  ;
        Pattern pat = Pattern.compile(regex);
        Matcher m = pat.matcher(fileList);
        boolean succ = m.find();
        for (int i =0; i< m.groupCount(); i++) {
            System.out.println(m.group(i));
        }I was expecting to see
    1_out.txt
    2_out.txt
    3_out.txt
    This doesnt work this way, nothing gets printed out. Anybody has any idea what is wrong here?
    I am basically trying to get the same functionality as
    ls | grep "*_out.txt"
    Also is there any way to do a OR in the regular expression, like
    match [0-9]*_out.txt OR [0-9]*_out.txt
    Thanks
    -kn

    I don't see a difference in your OR, but look in the Pattern JavaDocs under logical operators.
    Second, groups are not appropriate in your situation. You have a single pattern which you wish to repeatedly find. Groups are used when you wish to pick out one subsection of a matched item. For example, a pattern dealing with a phone number might have three groups, the area code, the prefix, and the rest.
    Still, group 0 is by definition the entire matched item, so if your pattern was right, it should have worked.
    I think the critical piece is the ".*" section. * is a greedy marker and combined with the 'any chacter' marker will eat as many characters as it can. In this case, it's probably eating the rest of the string, which leaves nothing left for the "_out.txt" part of the pattern. Try using the *?, which is a reluctant marker and will basically look ahead in the pattern and eat the minimum number of characters it can.

  • How to use the transaction STO5 (SQL Trace)

    Hi,
        I want to check the performance of program using the ST05 transaction. Please send me the step by step procedure to trace my program.
    Thanks & Regards,
    Santhosh Kumar.R

    Hi,
    following explanation clearly you abt ST05
    Hi,
    SQL trace(ST05) provides the developer with the ability to analyse database select statements. Simply execute ST05 to turn on SQL trace, then execute the statement/program you want to analyse. Now turn off SQL trace using ST05
    and click on list trace to view the details.
    You can also perform traces on other items such as authorisation objects.
    The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Performance Tuning is useful mainly reducing load on database. It is very important aspect while writing the programs/FM etc.....
    SQL Trace
    Use
    The SQL Trace function is an on-demand log of selected SQL statements that are issued against the database through the Open SQL Engine. The SQL Trace can be switched on or off dynamically. The log format is database independent. Besides the SQL statement text, each log record contains information about the point in time when the statement was executed, its duration, its input parameters and results (where applicable) as well as context information.
    Features
    The SQL Trace is especially useful for:
    Development:
    SQL Trace can help JDO, enterprise beans, servlet and JSP developers to learn which kind of database accesses their code produces.
    &#61489;&#61486; Performance analysis
    Typically, performance issues are caused by inefficient database accesses. In this case SQL Trace can be used to show the issued SQL statements and their duration, thus helping to identify inefficient SQL statements.
    Functions
    <b>The following functions are available on the initial screen</b>:
    Select trace:
    • Select the trace mode SQL Trace, Enqueue Trace, RFC Trace, or Table Buffer Trace. You can select mutliple trace modes simultaneously.
    Select trace function:
    • Start the trace recording.
    • Stop the trace recording.
    • Branch to trace list, detailed list, or time-sorted list.
    • Branch to Explain SQL to analyze an SQL statement without an explicit trace file.
    Trace files are managed by the system. Thus they can be saved, like any other object;
    saved trace files can be displayed and deleted.
    Trace Status
    A trace can only be activated once on any application server. The Trace Status display informs you whether another user in the system has already activated a particular trace.
    Starting the Trace
    Prerequisites
    <b>You can only switch on the Performance Trace for a single instance</b>. You should already have decided the scope and targets of your performance analysis.
    Procedure
    <b>To analyze a trace file, do the following</b>:
    ... 1. Choose the menu path Test &#61614; Performance Trace in the ABAP Workbench.
    The initial screen of the test tool appears. In the lower part of the screen, the status of the Performance Trace is displayed. This provides you with information as to whether any of the Performance Traces are switched on and the users for which they are enabled. It also tells you which user has switched the trace on.
    2. Using the selection buttons provided, set which trace functions you wish to have switched on (SWL trace, enqueue trace, RFC trace, table buffer trace).
    3. If you want to switch on the trace under your user name, choose Trace on.
    If you want to pass on values for one or several filter criteria, choose Trace with Filter.
    Typical filter criteria are: the name of the user, transaction name, process name, and program name.
    4. Now run the program to be analyzed.
    You will normally analyze the performance trace file immediately. In this case, it is a good idea to use a separate session to start, stop, and analyze the Performance Trace
    If you are shown trace kernel errors on the initial screen (for example, not enough storage space available), you must first remove the errors or have them removed by your system administrator.
    The selected trace types can be changed as required during a performance trace interval (time between switching on and off the trace). The user (user group) must remain unchanged.
    Result
    The results of the trace recording are written to a trace file. If trace records are overwritten during the trace interval, the system displays a message to inform you when you analyze the trace file.
    The results of the trace recording are stored to ten trace files. Overwriting trace records, however, cannot be entirely excluded in this case either.
    The Performance Trace records all database access calls, table buffer calls, remote calls, or calls for user lock activity. These measurements can affect the performance of the application server where the trace is running. To preserve system performance, you should therefore turn off the trace as soon as you finish recording your application.
    Stopping the Trace
    Prerequisites
    You have started the trace and finished running the program that you want to analyze.
    <b>For performance reasons, you should switch off the traces as soon as you have finished recording.</b>
    Procedure
    <b>To deactivate the trace:</b>
    ... 1. Choose Test &#61614;Performance Trace in the ABAP Workbench.
    The initial screen of the test tool appears. It contains a status line displaying the traces that are active, the users for whom they are active, and the user who activated them.
    2. Select the trace functions that you want to switch off.
    3. Choose Deactivate Trace.
    If you started the trace yourself, you can now switch it off immediately. If the performance trace was started by a different user, a confirmation prompt appears before deactivation-
    Result
    The results of the trace are stored in one or more trace files. You can then analyze the performance data stored in the trace file. See also, Analyzing Performance Data.
    Look at the below link
    http://www.sapbrainsonline.com/TOOLS/SQLTRACE/SQL_TRACE.html
    <b>Reward with points if helpful.</b>
    Regards,
    Vijay

  • How can I use the Rownum/Customized SQL query in a Mapping?

    Hi,
    * I need to use a Rownum for populating one of the target field? How to create a mapping with Rownum?
    * How can I use an Dual table in OWB mapping?
    * Can I write Customized SQL query in OWB? How can I achieve this in a Mapping?
    Thanks in Advance
    Kishan

    Hi Niels,
    As I'm sure you know, the conundrum is that Reports doesn't know how many total pages there will be in the report until it is all done formatting, which is too late for your needs. So, one classical solution to this problem is to run the report twice, storing the total number of pages in the database using a format trigger, and throwing away the output from the first run when you don't know the total number of pages.
    Alternatively, you could define a report layout so that the number of pages in the output is completely predictable based upon, say, the number of rows in the main query. E.g., set a limit of one, two, ... rows per page, and then you'll know how many pages there will be simply because you can count the rows in a separate query.
    Hope this helps...
    regards,
    Stewart

  • How to install sql server 2012 using the license of sql 2014

    Hello,
    We want to install sql server 2012 on a server because of an application that can not work with sql server 2014.
    We have a license for sql server 2014. The license is not visible for sql 2014 in our licenses because it is now included in the installation package. We also can not get a license key for SQL 2012 server now.
    How can we get a valid sql server 2012 license key?
    Thanks,
    Gr. Peter.

    Hello Peter, 
    This is a community forum for technical questions & issues.
    For question regarding pricing / licensing please contact a Microsoft sales partner or licensing expert.
    Call (1-800-426-9400), Monday through Friday, 6:00 AM to 6:00 PM PST to speak directly to Microsoft licensing specialist.
    Regards.
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • Performance of PL/SQL-packages under Oracle 11gR2

    Under Oracle 9i I have used PL/SQL-packages/procedures to perform complicated initializations of the tables of a database schema.
    This was always a long job ... but an execution time of about 4 hours was acceptable!
    Now I changed to Oracle 11g.
    And now there is the following behaviour:
    When I create a NEW instance of the database and then create the schema the execution time ( using the same PL/SQL-packages as in Oracle 9i ) is more than 12 hours which is not acceptable anymore!
    When I only drop the schema ( in the EXISTING instance ) with a drop user (owner of the schema) cascading and then create the schema again the execution time for the same initialization is less than 3 hours which is OK.
    Does anyone have an idea about the reason for such a 'strange' behaviour?
    ... Or does anyone have a hint where I could look for such reasons?

    Hi,
    did you compare the execution plan in 9i and 11g R2?
    when you go to 11gR2, did you keep the statistic of the 9i, so if any regression, 11g can use 9i plan?
    thanks

  • Utl_http package from our custom pl/sql package.

    We have a requirement to invoke a thrid party Url that uses HTTPS. For this we are using the call to utl_http package from our custom pl/sql package. When we invoke the custom package form Oracle Forms it works fine. But when we try to invoke the same from ApplicationModule Class in our custom OA Framework form we get the following error.
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1577
    ORA-28862: SSL connection failed

    Duplicate post.
    ApplicationModule class in a custom OA Framework
    ApplicationModule class in a custom OA Framework

  • Generating Java wrappers for PL/SQL Packages in JDeveloper 3.1

    I have not been successful in using JD3.1 to generate java classes for use in calling PL/SQL packages from a Java Servlet I am developing. I have followed the directions under the 'Generating Java Code for Oracle Objects and PL/SQL Packages' help topic: I display the package in the database browser window, right click on the package, select 'Generate Java', and click 'OK' on the pop-up JPublisher window that appears. The wizard clocks out for a few moments, then the JPublisher window disappears, but the java class is not added to JDeveloper's Navigation pane for the Project and Package I specified in the wizard.
    Any idea where the generated class is going to?

    should be, but isn't... JDeveloper3.1
    (build 681) default install... Is it in
    a custom package I didn't install? Or
    am I just a dumb nut?Hmm.. I thought it was in there.. JPub is a java based tool. You can invoke it as such.
    1st, use setvars.bat from your jdeveloper/bin directory.
    2nd, run java oracle.jpub.java.Main (pass it the same arguments as you would the jpub.exe)
    Here's the output from my machine here:
    D:\JDeveloper31\bin>setvars D:\JDeveloper31
    Setting JDeveloper 1.2 runtime environment to "D:\JDeveloper31"
    Setting JDK version 1.2 in "D:\JDeveloper31\java1.2"
    D:\JDeveloper31\bin>java oracle.jpub.java.Main
    JPub: Java Object Type Publisher, version 8.1.6.0.0 Production
    (and the rest of the help)
    Take Care,
    Rob
    null

  • Invoke oracle report 10g from database pl/sql package

    Hi
    Is there a way that i can invoke an oracle report 10g from the database pl/sql package? I am working on a requirement that needs to generate a report when one of the criteria is not met.
    Please suggest me on this.

    Thanks for the info.
    I have a scenario where i need to fetch members details like name , email address and so on from the mainframes on the oracle database. Then on the oracle database i need to check if they have a email address or not. If yes then i need to generate a notice and mail it to them. If they don't have an email address, i'll have to print that out in a some centralized location.
    By the way, the notice was developed using oracle reports 10g.
    Now i am developing a pl/sql package which will do the address validation but i didn't know how to call a oracle report to generate the notice in pl/sql procedure.
    As suggested i will try with dbms scheduler and see if that works for me.

  • How to run the procedure in SQL editor

    Schema Temp, Package Name = Pk_DRmanagement
    PROCEDURE LoadCardRefundRequests(v_streamer_batch_id IN NUMBER,
    vDebugLevel IN NUMBER DEFAULT 0, RowsProcessed OUT NUMBER )
    I use the following in SQL editor to compile and encounter problem. Can you help me with the correct implementation
    begin
    declare vCnt number;
    execute vCnt := Temp.Pk_DRmanagement.LoadCardRefundRequests(10407, 0);
    end;
    Thanks
    Just Do It

    declare
    vCnt number;
    begin
    Temp.Pk_DRmanagement.LoadCardRefundRequests(10407, vCnt );
    end;

Maybe you are looking for

  • Key Reports for Customers (Follow-Up from P2P)

    Currently, we are working intensively on enhancing the reporting area in B1 and XL Reporter. Our ambition is to reach a situation where most of the required reports will be installed automatically. We would like to know your opinion about your prefer

  • How can I Insert data into my msaccess Database table

    Hello all, I am new to Java programming and I have problem that how can i insert name into my database table. The code which i have written is following: String filename = "d:/test.mdb"; String database = "jdbc:odbc:Driver={Microsoft Access Driver (*

  • Send message only if not alredy in jms

    Hi I have messages in my queue, before sending messages into the queue i want the client to test if the message already exist there and only then to send the messages. Is that possible?

  • Disable hitArea for an imported swf

    hi. I am trying to create a custom data tip for a pie chart that is an imported swf. Basically I have the pie wedge move the swf on rollOver. The problem is that swf is on a higher depth than the pie chart it is not getting the rollOut call when the

  • Best way of switching alertlog

    In Unix I have seen something like: cat $AL_HOME/alert_SID.log >> $AL_HOME/logging_alert.log rm $AL_HOME/alert_SID.log I am not convinced this is the best way. Wait to see other cooler ways of doing this task. Message was edited by: sape007 Message w