Need help on ODI error table

Hi all,
I need to know following things
1) I have created open few tools and if business validation fails it throws OpenToolExecutionException with some error code now I want to check in which SNP_ table it goes and how cud I track my error info.
2)
In other way where these error messages are stored when any scenario execution fails.
snp_sess_task_log and SNP_STEP_LOG and SNP_SESS_STEP all are having
one entry I_TXT_TASK_MESS in which table these messages are present
3)
Please let me know the names of scenario execution error tracking tables so that I can used them for notification purpose when any scenario fails.
3)
I want to know how operator showing this error code as I have inserted
oracle.odi.sdk.opentools.OpenToolExecutionException: 5000
     at com.nucleus.acom.odi.opentool.tool.OdiProductTransferOpenTool.callOracleSP(OdiProductTransferOpenTool.java:240)
     at com.nucleus.acom.odi.opentool.tool.OdiProductTransferOpenTool.execute(OdiProductTransferOpenTool.java:124)
     at com.sunopsis.dwg.function.SnpsOpenToolFunction.actionExecute(SnpsOpenToolFunction.java)
     at com.sunopsis.dwg.function.SnpsOpenToolFunction.execute(SnpsOpenToolFunction.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.i(e.java)
     at com.sunopsis.dwg.cmd.h.y(h.java)
     at com.sunopsis.dwg.cmd.e.run(e.java)
     at java.lang.Thread.run(Thread.java:595)

Hi Santos,
Is it possible to use the same in OpenTool as I am invoking these steps one by one using invocation API.
So in that case I wrote a java class as a controller and few Open Tool .
* Condition is like we are executing steps one by one from that controller class .
if the previous step caused exception then I use to stop all the other steps those are the successor of the same.
* Open tool may throw some OpenToolExecutionException which depends on some businees validation and also some common java exception .
how to use this API odiRef.getPrevStepLog() in my java code and where.
could you please send me code for that one
regards,
palash Chatterjee

Similar Messages

  • Installing Elements 11 on Mac. Need help with install error "Setup wants to make changes."

    Installing Elements 11 on Mac 10.8.2. Need help with install error:  Setup wants to make changes. Type your password to allow this."  After entering Adobe password, nothing happens.  Locked from further installation.  Any ideas?  Adobe phone support could not help.

    Just before letting changes (installation in this case) be made on the system, Mac OS prompts for password & this has to be the Mac system password. This password prompt is the system's own native prompt & would accept the system password only. Please make sure it is the right system password (all/admin rights) and the installaion should run.

  • Need Information On R12 Error tables.

    Hi Friends,
    I need information on R12 Error Tables and Staging Error tables. Can you please send me any documention on this.
    Little bit urgent.
    Thanks

    Thanks for you Reply.
    Actually i am new to Apps. I am a OBIEE Developer. Here i will tell you the process. From Flat files to Staging area they are Loading the Data using some Scripts. After that they are using some concurrent programes for clensing the data and load them in to the Interface Tables. Then Those tables are loaded in to the Main oracle Tables.
    Mean while when they loading the data from staging to Interface they clensing the data. If Any errors occur they are moving those tables into some Built in Tables like (MTL_Interface_Errors). This is the process.
    And i don't know how to find the error tables..
    Thanks.
    Edited by: 806756 on Nov 9, 2011 1:34 AM

  • Need info on Staging Error Tables ( Please Very urgent)

    Hi Friends,
    I am new to ERP. I need Information on Staging Error Tables in ERP. Please Let me know if anybody have an idea on this.
    Thanks

    I am new to ERP. I need Information on Staging Error Tables in ERP. Please Let me know if anybody have an idea on this.https://forums.oracle.com/forums/search.jspa?threadID=&q=Staging+AND+Tables&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Need Help!! Errors during Local Client Copy

    Doing a Local Client Copy and getting these error messages in the log:
    Table Name       Component          Package
    /1CN/CMFSAPH0FOR                    DDIC Error        (See SE14)
    /1CN/CMFSAPH1FDT                    DDIC Error        (See SE14)
    /1CN/CMFSAPH1FFX                    DDIC Error        (See SE14)
    /1CN/CMFSAPH2TGR                    DDIC Error        (See SE14)
    /1CN/CMFSAPH2TRM                    DDIC Error        (See SE14)
    /1CN/CMFSAPH3TCT                    DDIC Error        (See SE14)
    /1CN/CMFSAPH3TUS                    DDIC Error        (See SE14)
    /1CN/CMFSAPH4TFX                    DDIC Error        (See SE14)
    /1CN/CMFSAPH4TQU                    DDIC Error        (See SE14)
    Then I go to SE14 then put the name of the tables then click CHECK >> DATABASE OBJECT and then as the result I get:
    "Table is not created in the database"
    If I go down to the database level and look within the Oracle database dba_tables the tables and objects exists within the database but SAP is unable to recognize them.  All objects were imported with a Oracle Data Pump dump file and now I just need help in getting SAP to recognize the tables.
    Edited by: Adam Gendle on Feb 19, 2010 12:29 AM

    Hi,
    Its showing inconsistency between ABAP Dictionary and the database.
    Have you run Test-Run before performing actual client copy ?
    Please check the Consistency of affected Tables.
    SE11 -> Display Table -> Utilities -> Database Object -> Check
    (check DB Object as well as Run time Object)
    Please refer this [SAP Note 686357 - Table pool length incorrect after Unicode conversion|https://service.sap.com/sap/support/notes/686357] to get more information. The relevant solution is mentioned there if the pool tables having inconsistency with VARDATA field.
    Also refer SAP Note 1171306 - Error with pooled tables when copying a client.
    Regards,
    Bhavik G. Shroff

  • Need help correcting message error number

    Hello, i need help correcting message number for running archiving test runs.
    05.08.2011 08:31:42 Message number 999999 reached. Log is full                                BL           252          E
    05.08.2011 08:31:42 Job cancelled after system exception ERROR_MESSAGE                        00           564          A
    Any help wopuld be appreciated.
    Regards.

    Summary
    Symptom
    One or several database tables of the application log contain too many entries.
    The following database tables belong to the application log:
    - BALHDR (all releases)
    - BALHDRP(< 4.6C)
    - BALM   (< 4.6C)
    - BALMP  (< 4.6C)
    - BALC   (< 4.6C)
    - BALDAT  (>= 4.6C)
    - BAL_INDX (all releases)
    Other terms
    RSSLG200,
    RSSLGK90,
    SLG2,
    application log,
    log
    delete,
    performance
    Reason and Prerequisites
    The application log is a tool to collect, save and display logs.
    Many different applications collect messages in the application log which contain information or messages for the end user. The application automatically log serves as a temporary storage for messages. The logs are written on the database but they are not automatically deleted.
    There is no general procedure for switching the application log on or off. Some applications provide this option or they offer the option of reducing the number of entries created. (See Notes 91519, 183960, 141244).
    The expiration date of application logs
    A log usually has an expiration date, which is set by the application, that calls the 'Application log' tool. If the application log does not set an expiration date, the 'Application log' tool sets the expiration date as 12/31/2098 or 12/31/9999,depending on the release, which allows the logs to stay in the system for as long as possible. The end user cannot set the expiration date. The expiration date does not mean that logs which have reached that date will automatically be deleted. It is used to control the deletion of logs when you call the Deletion report. The DEL_BEFORE flag in the BALHDR table determines whether or not the log can be deleted even before the expiration date is reached.
    DEL_BEFORE= SPACE means that the log can be deleted before the expiration date is reached. (Default value)
    DEL_BEFORE='X' means that the log can only be deleted after the expiration date.
    Solution
    Deleting the logs of the application log.
    Releases >= 4.6A:
    =====================================================================
    In Releases >= 4.6A, use Transaction SLG2.
    On the selection screen you can restrict the amount of logs to be deleted:
    The 'Object' and 'Subobject' fields specify the application area in which the logs were written (see F4 Help).
    The 'External Identification' field specifies the number which was          provided for this log by the application.
    o  If you also want to delete logs which have not reached the expiration date you must set the option "Also logs which can be deleted before the expiration date".
    Select 'Help with application' in Transaction SLG2 for further explanation of the procedure for deleting.
    SLG2 is a report transaction. The corresponding report is SBAL_DELETE. At regular intervals, this can be scheduled as a background job.
    Releases < 4.6A:
    =====================================================================
    For Releases < 4.6A, note the following instructions:
    In general, the deletion of application logs can be carried out in two steps:
    1. Report RSSLG200: Deletion of all logs which expired:
    Use report RSSLG200 to delete all logs whose expiration date is reached or exceeded. (This report is not yet available in the standard in Release 3.0F. In this case, the report can be installed in advance; see corrections attached to this note).
    As of Release 3.1H, Report RSSLG210 is also available. This report allows the definition of a job that runs regularly and deletes such logs.
    2. Report RSSLGK90: Deleting all logs for which a deletion is allowed before expiration:
    Sometimes, step 1 does not delete enough logs. The reason for this might be that the expiration date of the logs is too far in the future or that no expiration date has been defined at all (in this case, depending
    on the release, the assumed expiration date is 12/31/2098 or 12/31/9999)
    Use report RSSLGK90 for these logs.
    When you execute this report, you can restrict the logs to be deleted in a selection screen:
    The fields 'Object' and 'Subobject' specify the application area which wrote the logs (see F4 help).
    The field 'External number' indicates the number which was assigned by the application for this log.
    Field 'Log class' indicates the importance of the log.
    NOTE: By default, this field contains the value '4', this means only logs with additional information. If you want to delete all logs, enter the value '1' in this field. All logs with log class '1' or higher will then be deleted.
    The fields 'To date' and 'Until time' refer to the creation date of a log.
    If you enter 12/31/1998 and 23:59:59, you get all logs created in and before 1998
    NOTES:
    Client-dependency:
    Note that the application log tables are client-dependent. Therefore, you must delete data in each client.
    Which applications create entires in the application log:
    To determine which applications create the logs, look in Table BALHDR to see which objects the logs were created for ( Transaction SE16, Table BALHDR, Field OBJECT). You can find the text description for the object in Table BALOBJT. The application is usually derived from the name and text of the object. The log is displayed in Transaction SL61. The display is restricted to certain objects, among other things.
    Database error:
    If very many data exists on the DB, Report RSSLGK90 might cause problems. In this case, implement Note 138715.
    In very rare cases a dump is created even after Note 138715 was implemented:
        ABAP/4 runtime error  DBIF_RSQL_SQL_ERROR
        SQL error 1555 occurred accessing table "BALHDR "
        Database error text...: "ORA-01555: snapshot too old
    If you cannot correct the error by means of database utilities, Note 368700 provides a way to bypass this error.
    Report RSSLG200 can also run into problems. In this case, use the correction for Report RSSLG200 attached to this Note.
    Expiration date in Report RSSLGK90:
    There are logs on the database which may only be deleted explicitly after the expiration date (flag DEL_BEFORE = 'X' in table BALHDR). These logs are not deleted in advance by report RSSLGK90. Since, however, this flag is used very rarely, you can ignore this data.
    Restriction of the quantity of log data by the application:
    To avoid large quantities of logs from different applications, also refer to the following notes:
    - 91519
    - 183960
    - 141244
    Archiving logs:
    As of Release 6.20, it has been possible to archive logs.
    The logs are archived via archiving object BC_SBAL.
    The archiving programs are started via Transaction SARA (archive administration).
    Via Support Packages, the archiving of application logs has been made available for Releases 4.6C (SAPKB46C27), 4.6D (SAPKB46D17), and 6.10 (SAPKB61011) as well.
    Header Data
    Release Status: Released for Customer
    Released on: 04.08.2005  13:55:45
    Master Language: German
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BC-SRV-BAL Basis Application Log
    Affected Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_APPL 30 30F 31I  
    SAP_APPL 40 40A 40B  
    SAP_APPL 45 45A 45B  
    SAP_BASIS 46 46A 46D X
    SAP_BASIS 60 610 640 X
    Corrections Instructions
    Correction
    Instruction Valid
    from Valid
    to Software
    Component Last
    Modifcation
    158903 30F 30F SAP_APPL 16.05.2000  07:13:08
    162069 31H 45B SAP_APPL 16.05.2000  07:16:07
    Related Notes
    1009281 - LAW: Runtime error CONNE_IMPORT_WRONG_COMP_TYPE
    856006 - Mass processing saves unnecessary logs
    737696 - Add. info on upgrade to SAP R/3 Enterprise 4.70 Ext. 2 SR1
    706478 - Preventing Basis tables from increasing considerably
    637683 - Add info about upgrade to SAP R/3 Enterprise Core 4.70 Ext 2
    587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
    540019 - Report RJBTPRLO does not work correctly
    400687 - Delete application log: DBIF_RSQL_INVALID_CURSOR
    390062 - Additional information about upgrading to 4.6C SR2
    370601 - Composite SAP note: APO 3.0 and 3.1 performance
    365602 - M/AM: Sales agent determination log - perf.
    327285 - Additions to upgrade to 4.6C SR1
    183960 - ALE: Deactivating application logs for data transfers
    141244 - Deactivating the application log during data transfer
    138715 - RSSLGK90: Too many lock entries in the database
    118314 - Installing the interface to a separate EH&S
    91519 - Deleting logs of the application log
    Print Selected Notes (PDF) 
    Attributes
    Attribute Value
    Transaction codes BALC
    Transaction codes BALM
    Transaction codes CLEAR
    Transaction codes HIER
    Transaction codes SARA
    Transaction codes

  • Need help determining compiling error

    Good morning,
    I need help finding the cause of a compiling error I receive. I have reviewed my code numerous times without any luck. I hope you guys might see something I am not! The entire file exceeds the limit I can post, so I am attaching it in 2 posts. Sorry for the inconvenience. The error and my code are posted below. Thank you for your help!
    C:\StockTrackerDB.java:382: cannot find symbol
    symbol : method add(java.lang.Boolean)
    location: class java.util.ArrayList<java.lang.String>
                   aList.add(new Boolean(rs.getBoolean("admin")));
    ^
    1 error
    Tool completed with exit code 1
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class StockTrackerDB
         private Connection con = null;
         //Constructor; makes database connection
         public StockTrackerDB() throws ClassNotFoundException,SQLException
              if(con == null)
                   String url = "jdbc:odbc:StockTracker";
                   try
                        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   catch(ClassNotFoundException ex)
                        throw new ClassNotFoundException(ex.getMessage() +
                                    "\nCannot locate sun.jdbc.odbc.JdbcOdbcDriver");
                   try
                        con = DriverManager.getConnection(url);
                   catch(SQLException ex)
                        throw new SQLException(ex.getMessage()+
                                    "\nCannot open database connection for "+url);
         // Close makes database connection; null reference to connection
         public void close() throws SQLException,IOException,ClassNotFoundException
              con.close();
              con = null;
         // Method to serialize object to byte array
         private byte[] serializeObj(Object obj) throws IOException
              ByteArrayOutputStream baOStream = new ByteArrayOutputStream();
              ObjectOutputStream objOStream = new ObjectOutputStream(baOStream);
              objOStream.writeObject(obj); // object must be Serializable
              objOStream.flush();
              objOStream.close();
              return baOStream.toByteArray(); // returns stream as byte array
         // Method to deserialize bytes from a byte array into an object
         private Object deserializeObj(byte[] buf) throws IOException, ClassNotFoundException
              Object obj = null;
              if(buf != null)
                   ObjectInputStream objIStream = new ObjectInputStream(new ByteArrayInputStream(buf));
                   obj = objIStream.readObject(); //IOException, ClassNotFoundException
              return obj;
         // Methods for adding a record to a table
         // add to the Stocks Table
         public void addStock(String stockSymbol, String stockDesc) throws SQLException, IOException, ClassNotFoundException
              Statement stmt = con.createStatement();
              stmt.executeUpdate("INSERT INTO Stocks VALUES ('"
                                    +stockSymbol+"'"
                                    +",'"+stockDesc+"')");
              stmt.close();
         // add to the Users table
         public boolean addUser(User user) throws SQLException,IOException,ClassNotFoundException
              boolean result = false;
              String dbUserID;
              String dbLastName;
              String dbFirstName;
              Password dbPswd;
              boolean isAdmin;
              dbUserID = user.getUserID();
              if(getUser(dbUserID) == null)
                   dbLastName = user.getLastName();
                   dbFirstName = user.getFirstName();
                   Password pswd = user.getPassword();
                   isAdmin = user.isAdmin();
                   PreparedStatement pStmt = con.prepareStatement("INSERT INTO Users VALUES (?,?,?,?,?)");
                   pStmt.setString(1, dbUserID);
                   pStmt.setString(2, dbLastName);
                   pStmt.setString(3, dbFirstName);
                   pStmt.setBytes(4, serializeObj(pswd));
                   pStmt.setBoolean(5, isAdmin);
                   pStmt.executeUpdate();
                   pStmt.close();
                   result = true;
              else
                   throw new IOException("User exists - cannot add.");
              return result;
         // add to the UserStocks table
         public void addUserStocks(String userID, String stockSymbol)
                        throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              stmt.executeUpdate("INSERT INTO UserStocks VALUES ('"
                                    +userID+"'"
                                    +",'"+stockSymbol+"')");
              stmt.close();
         // Methods for updating a record in a table
         // updating the Users table
         public boolean updUser(User user) throws SQLException, IOException, ClassNotFoundException
              boolean result = false;
              String dbUserID;
              String dbLastName;
              String dbFirstName;
              Password dbPswd;
              boolean isAdmin;
              dbUserID = user.getUserID();
              if(getUser(dbUserID) != null)
                   dbLastName = user.getLastName();
                   dbFirstName = user.getFirstName();
                   Password pswd = user.getPassword();
                   isAdmin = user.isAdmin();
                   PreparedStatement pStmt = con.prepareStatement("UPDATE Users SET lastName = ?," + " firstName = ?, pswd = ?, admin = ? WHERE userID = ?");
                   pStmt.setString(1, dbLastName);
                   pStmt.setString(2, dbFirstName);
                   pStmt.setBytes(3, serializeObj(pswd));
                   pStmt.setBoolean(4, isAdmin);
                   pStmt.setString(5, dbUserID);
                   pStmt.executeUpdate();
                   pStmt.close();
                   result = true;
              else
                   throw new IOException("User does not exist - cannot update.");
              return result;
         }

         // Methods for deleting a record from a table
         // delete a record from the Stocks table
         private void delStock(String stockSymbol) throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              stmt.executeUpdate("DELETE FROM Stocks WHERE "
                                    +"symbol = '"+stockSymbol+"'");
              stmt.close();
         // delete a record from the Users table
         public void delUser(User user) throws SQLException,IOException,ClassNotFoundException
              String dbUserID;
              String stockSymbol;
              Statement stmt = con.createStatement();
              try
                   con.setAutoCommit(false);
                   dbUserID = user.getUserID();
                   if(getUser(dbUserID) != null) // verify user exists in database
                        ResultSet rs1 = stmt.executeQuery("SELECT userID, symbol "
                                              +"FROM UserStocks WHERE userID = '"+dbUserID+"'");
                        while(rs1.next())
                             try
                                  stockSymbol = rs1.getString("symbol");
                                  delUserStocks(dbUserID, stockSymbol);
                             catch(SQLException ex)
                                  throw new SQLException("Deletion of user stock holding failed: " +ex.getMessage());
                        } // end of loop thru UserStocks
                        try
                        {  // holdings deleted, now delete user
                             stmt.executeUpdate("DELETE FROM Users WHERE "
                                              +"userID = '"+dbUserID+"'");
                        catch(SQLException ex)
                             throw new SQLException("User deletion failed: "+ex.getMessage());
                   else
                        throw new IOException("User not found in database - cannot delete.");
                   try
                        con.commit();
                   catch(SQLException ex)
                        throw new SQLException("Transaction commit failed: "+ex.getMessage());
              catch (SQLException ex)
                   try
                        con.rollback();
                   catch (SQLException sqx)
                        throw new SQLException("Transaction failed then rollback failed: " +sqx.getMessage());
                   // Transaction failed, was rolled back
                   throw new SQLException("Transaction failed; was rolled back: " +ex.getMessage());
              stmt.close();
         // delete a record from the UserStocks table
         public void delUserStocks(String userID, String stockSymbol) throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              ResultSet rs;
              stmt.executeUpdate("DELETE FROM UserStocks WHERE "
                                    +"userID = '"+userID+"'"
                                    +"AND symbol = '"+stockSymbol+"'");
              rs = stmt.executeQuery("SELECT symbol FROM UserStocks "
                                         +"WHERE symbol = '"+stockSymbol+"'");
              if(!rs.next()) // no users have this stock
                   delStock(stockSymbol);
              stmt.close();
         // Methods for listing record data from a table
         // Ordered by:
         //          methods that obtain individual field(s),
         //          methods that obtain a complete record, and
         //          methods that obtain multiple records
         // Methods to access one or more individual fields
         // get a stock description from the Stocks table
         public String getStockDesc(String stockSymbol) throws SQLException, IOException, ClassNotFoundException
              Statement stmt = con.createStatement();
              String stockDesc = null;
              ResultSet rs = stmt.executeQuery("SELECT symbol, name FROM Stocks "
                                                      +"WHERE symbol = '"+stockSymbol+"'");
              if(rs.next())
                   stockDesc = rs.getString("name");
              rs.close();
              stmt.close();
              return stockDesc;
         // Methods to access a complete record
         // get User data from the Users table
         public User getUser(String userID) throws SQLException,IOException,ClassNotFoundException
              Statement stmt = con.createStatement();
              String dbUserID;
              String dbLastName;
              String dbFirstName;
              Password dbPswd;
              boolean isAdmin;
              byte[] buf = null;
              User user = null;
              ResultSet rs = stmt.executeQuery("SELECT * FROM Users WHERE userID = '" +userID+"'");
              if(rs.next())
                   dbUserID = rs.getString("userID");
                   dbLastName = rs.getString("lastName");
                   dbFirstName = rs.getString("firstName");
                   // Do NOT use with JDK 1.2.2 using JDBC-ODBC bridge as
                   // SQL NULL data value is not handled correctly.
                   buf = rs.getBytes("pswd");
                   dbPswd=(Password)deserializeObj(buf);
                   isAdmin = rs.getBoolean("admin");
                   user = new User(dbUserID,dbFirstName,dbLastName,dbPswd,isAdmin);
              rs.close();
              stmt.close();
              return user; // User object created for userID
         // Methods to access a list of records
         // get a list of selected fields for all records from the Users Table
         public ArrayList listUsers() throws SQLException,IOException,ClassNotFoundException
              ArrayList<String> aList = new ArrayList<String>();
              Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("SELECT userID, firstName, lastName, admin "
                                                 +"FROM Users ORDER BY userID");
              while(rs.next())
                   aList.add(rs.getString("userID"));
                   aList.add(rs.getString("firstName"));
                   aList.add(rs.getString("lastName"));
                   aList.add(new Boolean(rs.getBoolean("admin")));
              rs.close();
              stmt.close();
              return aList;
         // get all fields in all records for a given user from the UserStocks table
         public ArrayList listUserStocks(String userID) throws SQLException, IOException, ClassNotFoundException
              ArrayList<String> aList = new ArrayList<String>();
              Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("SELECT * FROM UserStocks "
                                                      +"WHERE userID = '"+userID+"' ORDER BY symbol");
              while(rs.next())
                   aList.add(rs.getString("symbol"));
              rs.close();
              stmt.close();
              return aList;
    }

  • TS3694 I need help to fix error message -69

    I am having problem with syncing my ipod classic (160gb). I have this error message -69, that I need help with. I have already restored my ipod, but cannot add my anything (audiobooks-my music) to my ipod.

    see if you have any friend have a Mac computer, do a restore there before syncing with your PC

  • Need help in creating multivalued table

    hi all,
    please i need help how to create a table with a column that require to have many cells in each cell of each record.
    plz help me with the datatype and the sql syntax.
    thanks

    you mean nested tables?
    Examples are here
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2139603
    Sybrand Bakker
    Senior Oracle DBA

  • Need help in Creating External Tables

    Hi All,
    I have a flat file containing numberic data, CLOB data, and also date columns data. I have to load this flat file data into staging server table using External tables. I have to write a stored procedure in such way creating exteranl tables dynamically. My question or need help from you people is that how to define the external table to load the CLOB data from flat file.
    Thanks,
    Sankar

    The LOCATION clause of an external table specifies the file or files to be read when the table is queried. You can change it to refer to different files without dropping and recreating the table and invalidating all dependent code.
    Regarding DBMS_SQL, yes you can do it the hard way if you prefer.
    Good point about CLOB columns in external tables. Quite possibly they are not supported, but I would have to check the manuals and try some examples.

  • Need help asap with Error #2109!

    Need major help in an error that is driving me crazy! I have a movie clip button, however, once you click on it the output will say:
    ArgumentError: Error #2109: Frame label instance15 not found in scene Scene 1.
    at flash.display::MovieClip/gotoAndStop()
    at index_fla::MainTimeline/goLabel()
    i am new in flash and trying to learn as3.  i've looked at what error this is but i cant get my head around it.  what i m trying to do it if you click on a button, a swf file will load on the the page. but it is not loading and the error comes up!
    my code is:
    function goLabel(e:MouseEvent):void
    gotoAndStop(e.target.name);
    if anyone knows how to solve this problem please help! let me know if i need any other codes, but this should be it!
    thanks. i am about to go bald.

    Do you have a frame on your timeline that is labeled as "instance15"?
    The code you show will do nothing in the way of loading an swf.... gotoAndStop is a timeline command, not a file loading command.

  • Need help with an Error

    Hello, im using this class to query a table from my database. everything is ok, but when i write the closing } of the Main class the Program gives an error. In the main class ive wrote here at the bottom, the main class has no ending } . Now only the final } gives an error but everything else is ok, ive double checked all brackets, they are all in good place, what is going wrong?
    package DBandQueryHandler;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    class Main {
        public static void main(String[] args){
            Class driver_class=null;
                    try{    
                        driver_class=Class.forName("com.mysql.jdbc.Driver");         }
                    catch(ClassNotFoundException e){ 
                        e.printStackTrace(); 
                        return;
            System.out.println("Found Driver"+ driver_class);
            Connection connection=null;
            try{
                connection= DriverManager.getConnection("jdbc:mysql://localhost:3306/....", ".....", "........");
            catch(SQLException e){
                e.printStackTrace();
                return;
            try{
                System.out.println("Established connection to"+ connection.getMetaData().getURL());
            catch(SQLException e1){
                e1.printStackTrace();
            Statement statement=null;
            try{
                statement= connection.createStatement();
                statement.execute("SELECT * FROM KLANTEN");
                Resultset resset= statement.getResultSet();
                System.out.println("Row user_id, username, password, abbonement1, abbonement2, openstaand");
                while(resset.next()){
                    System.out.println(resset.getRow());
                    System.out.println("" + resset.getSring("user_id"));
                    System.out.println("" + resset.getSring("username"));
                    System.out.println("" + resset.getSring("password"));
                    System.out.println("" + resset.getSring("abbonement1"));
                    System.out.println("" + resset.getSring("abbonement2"));
                    System.out.println("" + resset.getSring("openstaand"));
                resset.close();
            catch(SQLException e){
                e.printStackTrace();
            finally{
                if(statement=null){
                    try{
                    statement.close();
                    catch(SQLException e){
                e.printStackTrace();
                if(connection=null){
                    try{
                    connection.close();
                    catch(SQLException e){
                e.printStackTrace();
       }

    javaboy2 wrote:
    Like i said, when i write all brackets correctly, the program gives errors, but when i delete the the last bracket, the program doesnt give errors(except for the last bracket=> '}' expected). I dont understand this.
    The errors of the program with correct amount of brackets are these: Yes, the errors come up with correct brackets because you have errors . When you take out the bracket, the structure is too bad so it doesn't look for the rest of the errors. This problem has absolutely nothing to do with brackets at all. That's why you needed to post the errors in your first post, rather than ignoring them and pretending your code is perfect and blaming it on brackets.
    And these errors would be fixed if you read them.
    Cannot find symbol ResultsetThat's because there is no class called Resultset. It's called ResultSet.
    Your if statements are using assignment instead of equality
    statement=null; //that assigns null to the statement object
    statement==null; //that checks to see if statement equals nullAgain, read your errors. They don't lie.

  • Need help putting info in table

    I am new to Dreamweaver. I am trying to make a very basic
    website useing a table. Top section for logo, left for links, and
    the main information in the bigger of the boxes. Anyway, I made the
    table but will not let me put anything in the table. I have the cs2
    version. Can anyone help me out?
    <table width="680" border="1" cellpadding="0"
    cellspacing="2" bgcolor="#33FF99" frame="border">
    <!--DWLayoutTable-->
    <tr>
    <td width="130" height="100"></td>
    <td width="558"></td>
    </tr>
    <tr height="800">
    <td width="130" height="480"></td>
    <td></td>
    </tr>
    </table>

    Show us your code, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "moocow870" <[email protected]> wrote in
    message
    news:f1nd1e$btf$[email protected]..
    >I am new to Dreamweaver. I am trying to make a very basic
    website useing a
    > table. Top section for logo, left for links, and the
    main information in
    > the
    > bigger of the boxes. Anyway, I made the table but will
    not let me put
    > anything
    > in the table. I have the cs2 version. Can anyone help me
    out?
    >

  • Need help on this error

    Hi friends,
    thanks to your suggestions i could solve most of the problems i faced. i get this error, could someone help me with it.
    Error in conversion exit CONVERSION_EXIT_CUNIT_INPUT
    Message no. RSAR137
    Diagnosis
    An error occurred in record 1 during execution ofconversion exit CONVERSION_EXIT_CUNIT_INPUT for field /BIC/UNITQ40.
    Procedure
    Check that the record where the error occurred has the correct format, and correct it accordingly.
    regards
    kris

    hi kris,
    it's happened that value in your characteristics unitq40 not valid, it can be the value not exist in 0unit master data, try to solve this with
    - check the monitoring for detail, the invalid value, e.g EA
    - transaction se16, table t006a, check this value may not exist here
    - logon r/3 side, check if this value exist in table t006a, if so do transfer global setting with use rsa1->source system->right click r/3 source system->'transfer global setting', mark 'unit of measurements' and choose option 'update table'->execute
    - if the value also not exist in r/3 then you need to maintain with transaction cuni
    see these 2 threads
    Re: Error: CONVERSION_EXIT_CUNIT_INPUT and 0Unit
    Re: 0Unit / se16 / CUNI
    hope this helps.

  • Need help in runtime error

    I try to run the ausp dbtable.
    with entries of object: 00001019680 and more that 1300 entries
    Inter char. sr_code
    classtype: z01
    the problem is display in a short dump with this message
    There is no help text for this runtime error either the text was inadvertently deleted or the release of the kernel differs from that of that of the database.
    Thanks.
    I hope you could help me. I need it urgent

    Hi rhym,
    Thta soounds like a memory issue to me. At least that is what causes that to happen to me.
    The 'slice' of data you are requesting, based on your criteria, may be more mega bytes than the memory buffer. Too much data perhaps.
    When this happens to me I have to take smaller chuncks of data, multiple extractions, then paste them all together.
    Try half the number of entries, and see.
    RS

Maybe you are looking for