Out parameter problem with mssqlserver4v70rel510

 

for 5.1, you can get it off our download pages.
Joe
ker joe wrote:
Yes I am getting the same error. Can you point to the latest driver.
Joseph Weinstein <[email protected]> wrote:
Hi. I'll bet you're either running MS SQLServer 7 SP3 or SQL2000.
If I'm right, let me know, and I'll send you the latest driver,
which has new stuff to adapt to a change MS put in their DBMS for
these versions.
Joe
Greg Williams wrote:
I'm having a problem getting back out parameters from a stored procedureusing the
Weblogic jDrivers with weblogic server 5.1.
I get the exception:
java.sql.SQLException: Invalid column number (1). Use next() to fetchthe data before
calling any getXXX method.
when I attempt to call a getInt on an out parameter. Here's the code:
CallableStatement cstmtSubmit=null;
String SubmitSQL="{ call ascs_submit_schd_pmt
cstmtSubmit = con.prepareCall(SubmitSQL);
cstmtSubmit.registerOutParameter(1, java.sql.Types.INTEGER);
cstmtSubmit.setInt(2, Integer.parseInt(paymentId));
cstmtSubmit.setString(3,co_id);
cstmtSubmit.setString(4,pol_no);
cstmtSubmit.setString(5,sub_pol);
cstmtSubmit.setString(6,bus_div);
cstmtSubmit.setString(7,agent_id);
cstmtSubmit.setString(8,chg_start_dt);
cstmtSubmit.setString(9,chg_stop_dt);
cstmtSubmit.setString(10,pmt_freq);
cstmtSubmit.setString(11,max_pmts);
cstmtSubmit.setString(12,pmts_made);
cstmtSubmit.setString(13,comm_amt);
cstmtSubmit.setString(14,comm_reason);
cstmtSubmit.setString(15,rec_flag);
cstmtSubmit.setString(16,rec_rate);
cstmtSubmit.setString(17,change_by);
cstmtSubmit.setString(18,trans_dt);
cstmtSubmit.registerOutParameter(19, java.sql.Types.INTEGER);
cstmtSubmit.execute();
spReturnCode=cstmtSubmit.getInt(1);
iPaymentId = cstmtSubmit.getInt(19);
This code should work according to the JDBC 2.0 API documentation andin fact works
with no problems with a JdbcOdbcDriver.
I originally wrote the stored procedure to return an int and have thelast parameter
as an integer out parameter. Like this:
String SubmitSQL="{? = call ascs_submit_schd_pmt
This also works with the JdbcOdbcDriver but doesn't work with the Weblogictype 4
driver for mssqlserver. It gives a different sqlException:
java.sql.SQLException: Invalid column number (19). This table has 1columns (a valid
index is 1 trough 1).
This example works fine to return a integer, but as soon as you tryto access the
out parameter it throws the sqlException.
I've tried this with two versions of the mssqlserver4v70rel510 driver:
5.1.0 for SQLserver 7.0 04/03/2000 17:05:44 #66825
and
5.1.0 Service Pack 9-EARLY_RELEASE for SQLserver 7.0 01/17/2001 14:01:00#96383
- internal build by joe on client joe.nt
Any ideas? Is this a bug in the driver or are out parameters not supportedin the
type 4 jDriver?
Greg--
PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced
positions
for people who want to work with Java, XML, SOAP and E-Commerce infrastructure
products.
We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose
CA.
Send resumes to [email protected]

Similar Messages

  • Missing IN or OUT parameter problem

    I have really weird behaviour in only one call to stored procedure.
    Sometimes this problem is stable. Sometimes it starts working after passing
    the method once in a debuger. I can change sql to call different stored
    procedure and it doesn't affect the behavioir. This is WLS813 and Oracle 9i.
    I would appreciate any advice.
    The source code is simple and is used in multiple places in the application
    (I tried its different variations with the same result):
    DataSource ds = EJBContext.getInstance().getDefaultDataSource();
    conn = ds.getConnection();
    stmt = conn.prepareCall("{ ? = development_pkg.Get_AddUnit_BlockList ( ?,
    stmt.registerOutParameter(1, OracleTypes.CURSOR);
    stmt.setObject(2, developmentId);
    stmt.setObject(3, isCallerInAllSocietyViewRole() ? null :
    getCallerUserEntity().getSocietyId());
    stmt.setString(4, getCallerName());
    stmt.execute(); - this line generates an exception
    Exception if isCallerInAllSocietyViewRole() is true (1st call after
    restarting the server):
    java.sql.SQLException: Missing IN or OUT parameter at index:: 2 at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at
    oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1678)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2883)
    at
    oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2979)
    at
    oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4103)
    at
    weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
    at
    Exception if isCallerInAllSocietyViewRole() is true (any consecuent call):
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at
    oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1539)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2883)
    at
    oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2979)
    at
    oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4103)
    at
    weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
    at
    Exception if isCallerInAllSocietyViewRole() is false:
    java.lang.NullPointerException at
    oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:728) at
    oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:787)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
    at
    oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2979)
    at
    oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4103)
    at
    weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
    at ...
    Thanks,
    Mikhail Stolpner

    Hi Joe,
    Thank you for your reply. I tried multiple different ways: setNull,
    setObject. The behavior is the same. The following is the original code
    (before I played with it) and it worked fine in WLS812:
    DataSource ds = EJBContext.getInstance().getDefaultDataSource();
    conn = ds.getConnection();
    stmt = conn.prepareCall("{ ? = call development_pkg.Get_AddUnit_BlockList
    stmt.registerOutParameter(1, OracleTypes.CURSOR);
    stmt.setInt(2, developmentId.intValue());
    if (isCallerInAllSocietyViewRole()) {
    stmt.setNull(3, OracleTypes.INTEGER);
    } else {
    stmt.setInt(3, getCallerUserEntity().getSocietyId().intValue());
    stmt.setString(4, getCallerName());
    stmt.execute();
    I created a BEA case but I think that it would be very difficult to
    reproduce the problem as the same code works fine for me in all other
    cases!!! And despite spending a lot of time I couldn't figure out why it is
    failing in this particular case. This is not related to the stored procedure
    as I changed the sql and it didn't change anything.
    Sincerely,
    Mikhail Stolpner
    "Joe Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Hi. So are you saying it always fails with a setObject(3, null), or only
    after first running it the other way? This sounds like a problem with the
    oracle drivers setObject() with null as input. What I would like to see is
    if this works:
    if ( isCallerInAllSocietyViewRole() )
    stmt.setNull(3, Types.VARCHAR );
    else
    stmt.setObject( 3, getCallerUserEntity().getSocietyId() );
    Joe
    Mikhail wrote:
    I have really weird behaviour in only one call to stored procedure.
    Sometimes this problem is stable. Sometimes it starts working after
    passing the method once in a debuger. I can change sql to call different
    stored procedure and it doesn't affect the behavioir. This is WLS813 and
    Oracle 9i. I would appreciate any advice.
    The source code is simple and is used in multiple places in the
    application (I tried its different variations with the same result):
    DataSource ds = EJBContext.getInstance().getDefaultDataSource();
    conn = ds.getConnection();
    stmt = conn.prepareCall("{ ? = development_pkg.Get_AddUnit_BlockList
    stmt.registerOutParameter(1, OracleTypes.CURSOR);
    stmt.setObject(2, developmentId);
    stmt.setObject(3, isCallerInAllSocietyViewRole() ? null :
    getCallerUserEntity().getSocietyId());
    stmt.setString(4, getCallerName());
    stmt.execute(); - this line generates an exception
    Exception if isCallerInAllSocietyViewRole() is true (1st call after
    restarting the server):
    java.sql.SQLException: Missing IN or OUT parameter at index:: 2 at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at
    oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1678)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2883)
    at
    oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2979)
    at
    oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4103)
    at
    weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
    at
    Exception if isCallerInAllSocietyViewRole() is true (any consecuent
    call):
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1 at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at
    oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1539)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2883)
    at
    oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2979)
    at
    oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4103)
    at
    weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
    at
    Exception if isCallerInAllSocietyViewRole() is false:
    java.lang.NullPointerException at
    oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:728) at
    oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:787)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
    at
    oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2979)
    at
    oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4103)
    at
    weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
    at ...
    Thanks,
    Mikhail Stolpner

  • Out parameter problem

    Hi all,
    I have a procedure with that signature :
    procedure test(id in number, ret out nocopy varchar2)
    as
    begin
        -- do stuff ...
    end;Running the procedure successfully means i can call the procedure AND get a result in ret parameter : either 'OK' or 'KO'.
    When i connect with SQL*Pus, i can run successfully the procedure just ONE time. The second time, i can't get any result in ret (ie ret is empty).
    If i do the same with Oracle SQL Developer, i can run the procedure successfully TWO times and the third time it fails.
    If i call the same procedure from my web application , i can run successfully FOUR times and then it fails.
    In each case, i have to disconnect from Oracle and then reconnect for running the procedure again.
    Any idea ?
    Stephan
    Oracle 10.2.0.1.0
    Oracle 10.2.0.3.0 (same problem with this version also)

    Hi,
    It seems the "stuff" part has some code that's dependent on the session state or something like that.
    You would probably need to show us what the code is and what exactly you're doing when you're calling the procedure.
    A sample SQL*Plus snippet containing the compilation of the procedure followed by its execution so we can reprodure the test would be highly helpful, please.

  • Out.println() problems with large amount of data in jsp page

    I have this kind of code in my jsp page:
    out.clearBuffer();
    out.println(myText); // size of myText is about 300 kbThe problem is that I manage to print the whole text only sometimes. Very often happens such that the receiving page gets only the first 40 kb and then the printing stops.
    I have made such tests that I split the myText to smaller parts and out.print() them one by one:
    Vector texts = splitTextToSmallerParts(myText);
    for(int i = 0; i < texts.size(); i++) {
      out.print(text.get(i));
      out.flush();
    }This produces the same kind of result. Sometimes all parts are printed but mostly only the first parts.
    I have tried to increase the buffer size but neither that makes the printing reliable. Also I have tried with autoFlush="false" so that I flush before the buffer size gets overflowed; again same result, sometimes works sometimes don't.
    Originally I use such a system where Visual Basic in Excel calls a jsp page. However, I don't think that this matters since the same problems occur if I use a browser.
    If anyone knows something about problems with large jsp pages, I would appreciate that.

    Well, there are many ways you could do this, but it depends on what you are looking for.
    For instance, generating an Excel Spreadsheet could be quite easy:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class TableTest extends HttpServlet{
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
              response.setContentType("application/xls");
              PrintWriter out = new PrintWriter(response.getOutputStream());
                    out.println("Col1\tCol2\tCol3\tCol4");
                    out.println("1\t2\t3\t4");
                    out.println("3\t1\t5\t7");
                    out.println("2\t9\t3\t3");
              out.flush();
              out.close();
    }Just try this simple code, it works just fine... I used the same approach to generate a report of 30000 rows and 40 cols (more or less 5MB), so it should do the job for you.
    Regards

  • Returning result set from procedure out parameter, display with anon block

    I'm trying to do something pretty simple (I think it should be simple at least). I want to use a pl/sql procedure to return a result set in an OUT parameter. If I run this code by itself (in the given anonymous block at the end, without trying to display any results), toad says that the PL/SQL procedure successfully completed.
    How can I display the results from this procedure? I am assuming that the result set should be stored in the O_RETURN_REDEEM_DTL, but how can I get anything out of it?
    I have this package with the following procedure:
    /* FUNCTION - REDEEM_DTL_READ                          */
         PROCEDURE REDEEM_DTL_READ(
              ZL_DIVN_NBR_IN     IN     REDEEM_DTL.ZL_DIVN_NBR%TYPE,
              GREG_DATE_IN     IN     REDEEM_DTL.GREG_DATE%TYPE,
              ZL_STORE_NBR_IN     IN     REDEEM_DTL.ZL_STORE_NBR%TYPE,
              REGISTER_NBR_IN     IN     REDEEM_DTL.REGISTER_NBR%TYPE,
              TRANS_NBR_IN     IN     REDEEM_DTL.TRANS_NBR%TYPE,
              O_RETURN_REDEEM_DTL OUT REDEEM_DTL_TYPE,
              o_rtrn_cd       OUT NUMBER,
              o_err_cd        OUT NUMBER,
              o_err_msg       OUT VARCHAR2
         IS
         BEGIN
              o_rtrn_cd := 0;
              o_err_msg := ' ';
              o_err_cd := 0;
              --OPEN REDEEM_DTL_READ_CUR(ZL_DIVN_NBR_IN, GREG_DATE_IN, ZL_STORE_NBR_IN, REGISTER_NBR_IN, TRANS_NBR_IN);
              OPEN O_RETURN_REDEEM_DTL FOR SELECT * FROM REDEEM_DTL;
    --           LOOP
    --                FETCH REDEEM_DTL_READ_CUR INTO O_RETURN_REDEEM_DTL;
    --                EXIT WHEN REDEEM_DTL_READ_CUR%NOTFOUND;
    --           END LOOP;
    --           CLOSE REDEEM_DTL_READ_CUR;
         EXCEPTION
          WHEN OTHERS
          THEN
               o_rtrn_cd := 7;
                 o_err_msg := SUBSTR (SQLERRM, 1, 100);
                 o_err_cd  := SQLCODE;
         END REDEEM_DTL_READ;and call it in an anonymous block with:
    DECLARE
      ZL_DIVN_NBR_IN NUMBER;
      GREG_DATE_IN DATE;
      ZL_STORE_NBR_IN NUMBER;
      REGISTER_NBR_IN NUMBER;
      TRANS_NBR_IN NUMBER;
      O_RETURN_REDEEM_DTL PSAPP.CY_SALESPOSTING.REDEEM_DTL_TYPE;
      O_RETURN_REDEEM_DTL_OUT PSAPP.CY_SALESPOSTING.REDEEM_DTL_READ_CUR%rowtype;
      O_RTRN_CD NUMBER;
      O_ERR_CD NUMBER;
      O_ERR_MSG VARCHAR2(200);
    BEGIN
      ZL_DIVN_NBR_IN := 71;
      GREG_DATE_IN := TO_DATE('07/21/2008', 'MM/DD/YYYY');
      ZL_STORE_NBR_IN := 39;
      REGISTER_NBR_IN := 1;
      TRANS_NBR_IN := 129;
      -- O_RETURN_REDEEM_DTL := NULL;  Modify the code to initialize this parameter
      O_RTRN_CD := NULL;
      O_ERR_CD := NULL;
      O_ERR_MSG := NULL;
      PSAPP.CY_SALESPOSTING.REDEEM_DTL_READ ( ZL_DIVN_NBR_IN, GREG_DATE_IN, ZL_STORE_NBR_IN,
    REGISTER_NBR_IN, TRANS_NBR_IN, O_RETURN_REDEEM_DTL, O_RTRN_CD, O_ERR_CD, O_ERR_MSG );
      FOR item IN O_RETURN_REDEEM_DTL
      LOOP
        DBMS_OUTPUT.PUT_LINE('ZL_DIVN_NBR = ' || item.ZL_DIVN_NBR);
      END LOOP;
    END; And end up with an error:
    ORA-06550: line 25, column 15:
    PLS-00221: 'O_RETURN_REDEEM_DTL' is not a procedure or is undefined
    ORA-06550: line 25, column 3:
    PL/SQL: Statement ignoredMessage was edited by:
    user607908

    Aha, I knew I forgot something!
    I actually had it defined as a REF CURSOR in PSAPP.CY_SALESPOSTING package spec:
    TYPE REDEEM_DTL_TYPE IS REF CURSOR;since I wasn't sure what to make it.
    Cursor used in procedure:
    CURSOR REDEEM_DTL_READ_CUR (
      zl_divn_nbr_in IN NUMBER,
      greg_date_in IN DATE,
      zl_store_nbr_in IN NUMBER,
      register_nbr_in IN NUMBER,
      trans_nbr_in IN NUMBER)
    IS
    SELECT ZL_DIVN_NBR, GREG_DATE, ZL_STORE_NBR, REGISTER_NBR, TRANS_NBR, PAYMENT_TYP_NBR
    FROM REDEEM_DTL
    WHERE ZL_DIVN_NBR = zl_divn_nbr_in AND GREG_DATE = greg_date_in AND
       ZL_STORE_NBR = zl_store_nbr_in AND REGISTER_NBR = register_nbr_in AND
       TRANS_NBR = trans_nbr_in;Updated code:
    /* PROCEDURE - REDEEM_DTL_READ                          */
         PROCEDURE REDEEM_DTL_READ(
              ZL_DIVN_NBR_IN     IN     REDEEM_DTL.ZL_DIVN_NBR%TYPE,
              GREG_DATE_IN     IN     REDEEM_DTL.GREG_DATE%TYPE,
              ZL_STORE_NBR_IN     IN     REDEEM_DTL.ZL_STORE_NBR%TYPE,
              REGISTER_NBR_IN     IN     REDEEM_DTL.REGISTER_NBR%TYPE,
              TRANS_NBR_IN     IN     REDEEM_DTL.TRANS_NBR%TYPE,
              O_RETURN_REDEEM_DTL OUT REDEEM_DTL_TYPE,
              o_rtrn_cd       OUT NUMBER,
              o_err_cd        OUT NUMBER,
              o_err_msg       OUT VARCHAR2
         IS
         BEGIN
              o_rtrn_cd := 0;
              o_err_msg := ' ';
              o_err_cd := 0;
              OPEN REDEEM_DTL_READ_CUR(ZL_DIVN_NBR_IN, GREG_DATE_IN, ZL_STORE_NBR_IN,
                   REGISTER_NBR_IN, TRANS_NBR_IN);
              --OPEN O_RETURN_REDEEM_DTL FOR SELECT * FROM REDEEM_DTL;
              LOOP
                  FETCH REDEEM_DTL_READ_CUR INTO O_RETURN_REDEEM_DTL;
                   EXIT WHEN REDEEM_DTL_READ_CUR%NOTFOUND;
                   DBMS_OUTPUT.PUT_LINE('ZL_DIVN_NBR = ' || O_RETURN_REDEEM_DTL.ZL_DIVN_NBR);
                END LOOP;
               CLOSE REDEEM_DTL_READ_CUR;
    --           LOOP
    --                FETCH REDEEM_DTL_READ_CUR INTO O_RETURN_REDEEM_DTL;
    --                EXIT WHEN REDEEM_DTL_READ_CUR%NOTFOUND;
    --           END LOOP;
    --           CLOSE REDEEM_DTL_READ_CUR;
         EXCEPTION
          WHEN OTHERS
          THEN
               o_rtrn_cd := 7;
                 o_err_msg := SUBSTR (SQLERRM, 1, 100);
                 o_err_cd  := SQLCODE;
         END REDEEM_DTL_READ;the updated anon block:
    DECLARE
      ZL_DIVN_NBR_IN NUMBER;
      GREG_DATE_IN DATE;
      ZL_STORE_NBR_IN NUMBER;
      REGISTER_NBR_IN NUMBER;
      TRANS_NBR_IN NUMBER;
      O_RETURN_REDEEM_DTL PSAPP.CY_SALESPOSTING.REDEEM_DTL_TYPE;
      O_RTRN_CD NUMBER;
      O_ERR_CD NUMBER;
      O_ERR_MSG VARCHAR2(200);
    BEGIN
      ZL_DIVN_NBR_IN := 71;
      GREG_DATE_IN := TO_DATE('07/21/2008', 'MM/DD/YYYY');
      ZL_STORE_NBR_IN := 39;
      REGISTER_NBR_IN := 1;
      TRANS_NBR_IN := 129;
      -- O_RETURN_REDEEM_DTL := NULL;  Modify the code to initialize this parameter
      O_RTRN_CD := NULL;
      O_ERR_CD := NULL;
      O_ERR_MSG := NULL;
      PSAPP.CY_SALESPOSTING.REDEEM_DTL_READ ( ZL_DIVN_NBR_IN, GREG_DATE_IN, ZL_STORE_NBR_IN,
         REGISTER_NBR_IN, TRANS_NBR_IN, O_RETURN_REDEEM_DTL, O_RTRN_CD, O_ERR_CD, O_ERR_MSG );
      FOR item IN 1..O_RETURN_REDEEM_DTL.COUNT
      LOOP
        DBMS_OUTPUT.PUT_LINE('ZL_DIVN_NBR = ' || O_RETURN_REDEEM_DTL(item).ZL_DIVN_NBR);
      END LOOP;
    END;and the new error:
    ORA-06550: line 25, column 38:
    PLS-00487: Invalid reference to variable 'O_RETURN_REDEEM_DTL'
    ORA-06550: line 25, column 3:
    PL/SQL: Statement ignoredAlso, it would be nice if the forums would put a box around code so that it would be easy to
    distinguish between what is supposed to be code and what should be regular text...
    Message was edited by:
    user607908

  • Help me sort out the problems with Java 2 SDK SE

    I install Java SDK 2 standard Eddition version 1.4 in my computer (Window NT4). When I test the installation by typing in "java -version", it displays the following message.
    C:\JavaPractice>java -version
    java version "1.4.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
    Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
    But, When I compile a simple programme, it doesn't work and displays the following message.
    C:\JavaPractice>javac HelloDan.java
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    Could anybody help me sort out the problem, Please?

    i might guess that you have j2sdk1.4.0\jre\bin on your PATH, but not j2sdk1.4.0\bin ...
    Larry

  • I finally found out my problem with my macbook and 32inch lcd

    So I dont know if you have read but i have been having a little problem with my macbook and my 32inch lcd. The problem that I have been having is when it is hooked up threw the dvi to vga going into my t.v is that when i were to close the macbook it would goto sleep. Well i have done many things to prevent this from happening and nothing worked. I have the new apple wireless keyboard and mouse. After a few post I was told to do many things like click the mouse which I had already tried about 1.1 million times. Well after I was sick of it all I just got so mad at the whole situation. I tried one last time clicking and holding the mouse button down it stayed on. I thought I was dreaming this so I then tried it again and it worked. I was having the problem of closing the macbook then waking it back upp with the mouse and the my screen which would be the 32inch lcd would just flicker a few times then say no imput. I no longer have this problem

    problem solved

  • Since updating firefox, the virginia gov site times out. no problem with other sites

    Since updating firefox a couple day ago, I get 'The connection has timed out
    The server at www.tax.virginia.gov is taking too long to respond''
    when I try to get on that site. I had to email my payment info to a friend to pay my sales tax. (She could get on the site) I have no problem getting on other sites.

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to sort out your problems with the os 4 upgrade.

    I'm in the UK, and I am an Orange customer. I have just been in contact with an amazing guy called Lee, who has sorted my problem for me. His advice.......
    go into
    Settings, general, scroll down to bottom of the screen to Reset, and tap on it.
    Go to 3rd option, Reset Network Settings and tap on it, a red box will appear, tap to accept. Screen will close and Apple logo will appear, LEAVE to power up on its own, and re-enter your wi-fi connection password information.
    If this fails to cure your problem, Connect your iphone to a different computer,
    When your iphone shows up in itunes, click on it and do a RESTORE WITHOUT BACKUP, leave until your phone has restored and then plug into your own computer. You can now back up from your own computer information
    Hope this solves our problems

    Apple does not provide support here.
    This is a users forum.
    Everyone here is a user like yourself.
    If you would like support from Apple you can contact them by phone or online.

  • Has Firefox sorted out the problem with accessing e-mails on tiscali

    When trying to access my e-mails with tiscali[ talktalk] I receive a message saying ' Undefined E-Mails in mail' and Icannot retrieve any e-mails fropm my inboxwww.talttalk.co.uk

    I have seen a few searches that indicate some people have had success by changing their wifi security settings.  Using none (not recommended) or using WPA2 with a strong pass phrase (longer than 8 characters) seems to work for everyone I've talked to.  I've not had this issue myself on any of my devices (2 iPhone 4, 2 iPhone 5, 2 iPad 2, all running iOS 6.1.3, and 2 iPod Touch 3rd Gen running iOS 5.1.1), but then again, my home wifi has had a strong pasphrase, and WPA2 for 7-8 years now.  I beleive that some people have had luck with performing a reset of network settings (but others have not, and claimed that it actually made things worse some how).  Some have had luck performing a device restore in iTunes, while others have claimed that did nothing but cause them to lose everything. 
    I know there is so much wifi congestion in my neighborhood that it is hard to find a channel that doesn't already have 2-3 routers using it.  It is possible that resetting your wifi router might help.  I know that when my iPhone wouldn't connect to my wireless network, it would usually clear up if I restarted the router.

  • I've recently switched routers on my iMac. The set-up appeared to go well, and my incoming mail is working, but my outgoing mail is not. I spent a long time sorting out the problem with my provider, who told me the problem is on the "Apple side".

    I've recently switched routers on my iMac. The set-up seemed to go well, and the incoming mail works. The outgoing mail is the issue - it sits in the outbox buffering and doesn't send. After several calls to my service provider they decided the issue was on the "Apple side" since my internet connection seemed to be working fine, and all input information was correct - ports selected, etc. Any ideas what to try next?

    Open Keychain in Utilites and delete all the "outgoing" entries (will probably be smtp.<your ISP name>.net). Then go into Mail Preferences>Accounts, clear out any passwords for the outgoing. Can't say exactly where this is or what this looks like in 10.7, since I'm running 10.6. Then enter new (EDIT: or can be the same old ones) passwords, or password. Allow Keychain to save those new ones.
    FWIW, here's what this looks like in mine.

  • Parameter Problem with Drill down reports

    Hi,
    I have created a drill down report.
    I have a master report which list all the employee names and a detail report which list the contact details for each employee selected.
    The URL looks like this http://webser/dev60cgi/rwcgi60.exe?detail&p_empid = 1200
    detail is a kepmapping entry in cgicmd
    this does not work and the detail report does not get the p_empid value.
    Now if i enter the compelete url like http://webser/dev60cgi/rwcgi60.exe?server=rep_ss&report=det.rdf......
    it works.
    Any suggestions !
    Thanks,
    Shailesh
    null

    Hi,
    I got this resolved by using javascript and doing explicit form submit. As our information is highly secured we don't want the users to see any of the URL links from href, browser or from view source.
    I got the first two resolved but when i do a view source i could se in header sections of html view souce the follwing code
    <head>
    < base href="http://webser.../522222.htm>
    </head>
    is there any way using reports i can hide this.
    Any help, suggestions or reference will be highly apprecaited.
    Thanks,
    Shailesh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    did you specify the token %* in the CGICMD.DAT file so additional parameters are picked up from the URL ?
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    null

  • Excel Problems with Mt Lion

    Funny with an Excel file with many sheets (14) on my 17" MacBook Pro, using Mail, if I click on the Excel file to open it, all I get a sheet however all the data does not display in the Excel file. 
    However if I take the same file and drag it to my desktop, letting it create a new file then open the file all the data is in the Excel spread sheet.
    Just wondering if any one else is having a problem with Excel, Mail, & Mt Lion?
    thank you for any reply John

    I've upgraded to Leopard and also have had difficulty printing in excel (using Office for Mac 2004 Student/Teacher Ed)....Word, Powerpoint, and Entourage all print fine.....and I print fine off the internet and in Apple iWork (Numbers, Pages) and in "Mail" . REally strange.....
    I am able to open files in excel, but cannot print them....
    I'm a former PC guy.....very set in my ways (I was) until I bought my wife an iMac G5 last year, before Intel came out. Anyway....she loved the Mac so when my Laptop hard drive fried, I decide to take the plunge and am I glad i did......
    I'm frustrated about this glitch with excel in Leopard....but for those of us who have attempted to (and succeeded) upgrade Microsoft Operating systems (though you never really succeed....Microsoft just keeps fixing things...with new patches or new service packs!).....well you know what I mean....upgrading to Leopard was a breeze.....I just wish I could figure out this problem with printing in excel!
    I would drop excel and just use "Numbers", but I work with all PC users (using various versions of Office) so I need to make sure they can open my "Numbers and Pages" files and even amend them if needed,...which I don't know they can do??????? i know I just jumped subjects here...but anyone have any thoughts on this too?
    To summarize:
    1. problems printing in excel with Leopard upgrade on macbook.
    2. can PC users with Office 2004 (I don't think any use the new 2007)....open my files from email if I generate them with Numbers or Pages?
    Thanks,
    Steve D.

  • Problems with java and SQL

    Hi all. Not sure if I should ask this here or in an SQL forum. I�m trying to manipulate an access database through java via the JDBC-ODBC bridge driver. The program compiles ok but when I try to execute it I get an error. According to the error there is a syntax problem in my SQL create table statement but it doesn�t tell what the problem is and I�ve looked over the create statement and can�t find anything wrong with it. There is, however, an error code from the driver but I have no way of referencing it. Anyone here know why otherwise normal SQL code would cause a syntax error with java or how I can track the error to get a hint at what�s going wrong? Here is the code and the error:
    // java program to create an access database through JDBC
    import java.sql.*;
    public class videodb {
    public static void main(String args[]) {
         // attempt tp load DB driver
         try {
         // load the jdbc-odbc driver
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         catch (ClassNotFoundException cnfe) // driver not found
         System.err.println("Unable to load database driver");
         System.err.println("Details : " + cnfe);
         System.exit(0);
         try {
         // Create a connection to the data source
              Connection con = DriverManager.getConnection ("jdbc:odbc:vdds","","");
              // Create a statement to execute SQL commands     
              Statement stmt = con.createStatement();
              // create a table for DVD's
              stmt.executeUpdate ("create table DVD (id number(5), name char(30));");
              // insert a record into the DVD table
              //stmt.executeUpdate ("insert into DVD values (0001, 'StarGate');");
              // Close the connection
         con.close();
         catch (SQLException sqle) {
    System.out.println("Problem with SQL: " + sqle);
    System.out.println("Driver Error Number" + sqle.getErrorCode());     
    Error:
    Problem with SQL: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in CREATE TABLE statement.
    Driver Error Number-3551

    Here's what I got. I don't see anything that helps but I'm kinda new to using SQL and java together.
    D:\javatemp\viddb>java videodb
    Problem with SQL java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver
    ] Syntax error in CREATE TABLE statement.
    Driver Error Number-3551
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in
    CREATE TABLE statement.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
    at videodb.main(videodb.java:31)
    D:\javatemp\viddb>

  • Problem with checkbox group in row popin of table.

    In table row popin I have kept Check Box Group.I have mapped  the texts property of checkbox group to the attribute which is under the subnode of the table.the subnode properties singleton=false,selectioncardinality=0-n,and cardinality=0-n.
    if there are 'n' number of records in the table.each record will have its own row popin and in the row popin there is check box group.
    the check box group in the row popin  belongs to that perticular row.
    but the checkboxegroup values in row popins of all the  rows are getting changed to the row which is lead selected.
    The same scenario  (table in the row popin is showing the values corresponding to its perticular row and all the table values in popin are not getting changed to the one lead selected in the main table)is working fine with the table in place of  checkbox group in row popin with datasource property of table  binded to the subnode
    I cant trace out the problem with checkbox group in place of table.
    Please help me in this regard.I have to place check box group in place of table in row popin.
    Thanks and Regards
        Kiran Kumar K

    I have done the same thing successfully with normal check box ui element. Try using check box in your tabel cell editor instead of check box group.

Maybe you are looking for

  • Wireless printing from HP Photosmart 6520

    I'm trying to set up my new HP Photosmart 6520 printer to print wireless.  I have the Wireless Direct turned on. The trouble happens when I go to the wireless radio and click on the name of the printer. I get an exclamation point in the middle of the

  • Optical out audio not working

    As per page 27 in the G5 manual, I connected the optical audio out port to my stereo receiver optical input port. No sound from itunes, though it is coming from the computer. I have switched the sound output to "optical digital-out port" in the Syste

  • Workflow multiple versions in production

    Hi Experts, when i transport my work flow from development to production multiple versions are getting created. e.g in development i have version 0001 and production also have version 001 i did some changes in development in version 0001 now i transp

  • Photo sizes and adobe software

    Hi I'm attempting to make my first web banner in illustrator. I have a photo that I bought of Istockphoto, it is 851 x 546 px I created a new document in Illustrator 800 x 400 px. I then opened up the photo in illustrator and it opened in a new docum

  • Null cipher key?

    We had a snoop program ran against our WLS servers and found that some of our hosts allow a null cipher key, which means SSL communication could occur over clear text. We do not run our servers on SSL, how do I configure WLS to not allow a null ciphe