ODBC Trouble

Hi, everyone. I'm sure you've seen this type of thing before
but I'm new to this and can't figure it out.
Synopsis: I'm developing pages for php, have installed and
configured MySQL, have installed and configured ODBC driver for
MySQL, installed and configured IIS and get "An unidentified error
has occurred" when I try to create a database connection. The MySQL
Server is "localhost" the username is "root" the password is
correct and I can connect to the MySQL database via ODBC from SQL
Server no problem.
What am I getting wrong??
Appreciate any help. Tks in advance.

Hi again,
when you try and make a connection a dir is created called
connection, you
will see it in your local site root.
please go to the connection folder and check your connection
string with one
of these.
http://www.connectionstrings.com/
other then taht have a go at this extension by Tom muck
http://www.tom-muck.com/extensions/help/oledbconnectionString/
regards
kenny
"Lindy's Husband" <[email protected]> wrote
in message
news:e43s90$ptv$[email protected]..
> Sorry, should have mentioned that I'm trying to connect
in the Database
> Tab
> wgich provides a dialog box for the connection details.
I'm an Oracle
> developer
> myself so I'm no stranger to database connections but
this one has me
> flummoxed!!
>

Similar Messages

  • ODBC trouble Oracle BI Client

    Hi all,
    I created a cube using awm. I need to use my cube to make excel reports.
    Since everything is installed in a unix server. I needed to install BI admin tool in my windows machine Windows 7 , and set an ODBC connection to the Oracle BI Server.
    Everything seems to go fine, but when I click Finish , I get the message ODBC Administrator has stopped working
    I really can't understand the problem. Not even an error message to rely on. Can it be related to Windows 7 ?
    Any information will be helpful ! Thx !!

    Hi all,
    I created a cube using awm. I need to use my cube to make excel reports.
    Since everything is installed in a unix server. I needed to install BI admin tool in my windows machine Windows 7 , and set an ODBC connection to the Oracle BI Server.
    Everything seems to go fine, but when I click Finish , I get the message ODBC Administrator has stopped working
    I really can't understand the problem. Not even an error message to rely on. Can it be related to Windows 7 ?
    Any information will be helpful ! Thx !!

  • Informix ODBC refresh trouble

    Hello forum,
    I am using Crystal Reports XI ver 11.5.8.826 on WinXP Pro to design reports for an Informix database.  The connection between the report designer and the database is an Informix ODBC connection, version 3.31.  I have other database client applications that are able to access the database through the ODBC connection without any trouble.  My Crystal Reports designer, however, is often unable to refresh database information properly, which prevents me from being able to add new database fields to existing reports.  To refresh reports, I am using the Database menu item Verify Database.  It often returns messages indicating that the report tables no longer exist, even though I am certain that they do.  The refresh menu item on tables in the Field Explorer appears to do nothing.  I have also tried to re-create the connection in the Database Expert, but this also has no effect.  Does anybody have any advice?  I am confident that the Crystal Reports designer is the problem, because I run the report query in other DB clients using the same ODBC connection, and they return the expected result.
    Thanks,
    Paul Oldenburg
    Global Crossing Conferencing

    Thank you very much for the quick response. 
    Using the Set Datasource Location dialog appears to have updated the information in the Field Explorer, as you suggested.  The changes to the database schema are now available in the designer.  The Database menu item Verify Database runs without errors.
    Now, however, when I save the report template with changes using the new schema, I get the following error when generating the report using the C++ CrystalDecisions API:  "EngineException: Database logon failed."  In the report designer, I used the Database menu item Log On or Off Server to make sure that the credentials stored in the template were correct.  I also ran the report in the designer using Print Preview, and all the data appeared to populate correctly, even new schema elements.  It looks like the designer is able to use the new template properly, but not my C++ application which uses the CrystalDecisions API to generate reports.
    Do you a suggestion to address this problem?
    Thanks again.
    Paul Oldenburg

  • Trouble using ODBC on Linux

    Hi there.
    I'm fairly new to ODBC, so I apologize in advance if I am missing
    some cirtical piece of information in my question.
    I am trying to setup ODBC so that I can connect to my Oracle
    database from RODBC (a package within the R statistical package),
    where R is running on my Linux box where I installed the instant
    client.
    I have installed the 10.2.0.3 version of the instant client
    (basic, odbc, and sqlplus pieces) on my Linux machine.
    I have set LD_LIBRARY_PATH to include the new lib directory
    /usr/lib/oracle/10.2.0.3/client/lib
    which contains the libsqora.so.10.1 file.
    uname -a yields the following:
    Linux stacw34 2.6.9-78.0.0.0.1.ELsmp #1 SMP Fri Jul 25 14:41:56 EDT 2008 i686 i686 i386 GNU/Linux
    I have set TNS_ADMIN to point to a directory with a tnsnames.ora
    file that contains the following entry:
    nickel =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=<my_machine>)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVICE_NAME=nickel.regress.rdbms.dev.us.oracle.com)
    I have verified that the tnsnames entry is working correctly
    by connecting to the database using the instant client sqlplus
    executable.
    At this point, I am trying to connect to the database using the
    ODBC piece through RODBC. I have found that the errors I get from R
    seem to be the same as those from isql, so I am trying to use
    isql to find the root of the problem. Is there a better tool
    to validate that ODBC is working on linux?
    Anyway, I installed the odbc piece from the instant client, but
    I had to do some editing by hand due to the way the machine
    is configured. My /etc/odbcinst.ini file contains:
    [PostgreSQL]
    Description          = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Driver64          =
    Setup          = /usr/lib/libodbcpsqlS.so
    Setup64          =
    UsageCount          =
    CPTimeout          =
    CPReuse          =
    FileUsage          = 1
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.3/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    And my ~/.odbc.ini file contains:
    [nickel]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = Oracle 10g ODBC driver
    DSN = nickel
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    ServerName =
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    UserID =
    When I run isql as follows:
    isql -v nickel
    I get the following error:
    ORA-12162: TNS:net service name is incorrectly specified
    It seems to be that this error occurs because I don't have
    ORACLE_SID set. If I set ORACLE_SID to nickel, and then
    run the same command, now I get:
    ORA-12545: Connect failed because target host or object does not exist
    The sqlnet.log file contains the following:
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/usr/lib/oracle/10.2.0.3/client/lib/bin/oracle)(ARGV0=oraclenickel)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=([email protected]<myhost>)(HOST=<myhost>)(USER=<myuser>))))
    VERSION INFORMATION:
         TNS for Linux: Version 10.2.0.3.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    Time: 20-MAR-2009 14:02:02
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12545
    TNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    nt secondary err code: 2
    nt OS err code: 0
    I can't figure out what is wrong with my odbc setup which would lead
    isql (and probably RODBC) to use this connect string (beq protocol, etc.).
    I am guessing that is where the problem stems from.
    Can you help me figure out how to find out what I am doing wrong
    when configuring the odbc setup?
    Thanks,
    Ari
    Edited by: amozes on Mar 20, 2009 11:06 AM

    That's easily explained.
    As you find documented in
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15699/post_inst_task.htm#sthref398
    you have to set 'ServerName' in odbc.ini to your TNS alias, in your case:
    ServerName = nickel
    Since you did not give a ServerName, Oracle assumed that you want to connect to a local database.
    As you rightly assume, the ORA-12162 indicates that ORACLE_SID is not set, which is needed for a local connection.
    If you set ORACLE_SID, Oracle will try to establish a local connection by executing a server process $ORACLE_HOME/bin/oracle.
    Since this executable cannot be found, you get the ORA-12545.
    Yours,
    Laurenz Albe
    PS: Your solution is better, as it does not require a tnsnames.ora file.

  • Trouble accessing Lotus Notes DB Via ODBC NotesSQL 8 driver.

    Hello,
    I am using Crystal Reports version XI and am trying to access lotus notes database via an ODBC connection. My reports have been running sucessfully but we recently upgraded to Lotus Notes 8.  I was receiving error messages stating that the ODBC driver was not compatible so I upgraded to Lotus Notes 8 SQL driver.  Now I am receiving the following errors.
    Crystal Reports
    Database Connector Error: 'IM005:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed'
    Crystal Reports
    Logon failed.
    Details: 01000:[Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    I am now using NotesSQL 8 and Lotus Notes 8, is there something that I need for crystal to recognize them.
    Any help would be appreciated.
    Thanks, Stacy

    Hi Stacy,
    I would appear Lotus changed the way their ODBC driver works from version 6. According to our [platforms |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e09198a1-911e-2b10-179f-ce8eed51aed0] for CR XI we only support Lotus Notes 6.
    We can't fix this now but you may want to ask Lotus if they know of any work arounds or updates to make it backward compatable.
    You may want to try donwloading CR XI R2 SP4 and use your XI keycode to see if that works.
    Thank you
    Don

  • Trouble connecting to local ODBC

    I inherited a CF site based on an Access db. I downloaded the
    files and database that I need to my local machine. Also created an
    ODBC connection to the db. Seems like I have to specify an RDS
    login to see the db tables. I do not have an RDS login. How do I
    set the site up to use the ODBC connection to view the db
    tables?

    See this previus iPad discussion
    https://discussions.apple.com/thread/2523772?start=0&tstart=0

  • Trouble with odbc or ole db

    i am trying to connect by website to a database so i can
    password my site but im having trouble doing it.
    im new to building web sites so i could do with a dummies
    guide on what the hell to do....lol
    i have a database and i have some web pages but ive just
    gotta get the 2 to talk, where do i put the database and should i
    use ole db or dsn ??

    Yes, look in the control panel of your hosting or contact
    your host's
    support..
    You can password protect a directory (folder).
    Put all of the private pages in this directory, and when
    someone tries to
    view them, he or she will be prompted to enter the password
    you set up for
    the directory.
    Take care,
    Tim
    "shadowseeker2411" <[email protected]> wrote
    in message
    news:g9jlpe$f2f$[email protected]..
    >i think i have set up the testing server as all the
    feilds have something
    >in
    > them...weather they are right or not is another
    matter...lol
    > i have set up an access database but i dont know about
    the server side
    > language
    > im running xp sp3.
    > all i am after is for one password to be used for the
    whole site, i would
    > give
    > people (my family) the password and they could then
    access the site,is
    > this the
    > only way to do it or is there an easier way ??
    >

  • DTW - Trouble using ODBC and Configuration Files

    I am using SBO SP1 PL2 and DTW 2005.
    I have been making use of saving the configuration for the import of an object and then using the command line to run it, as described in DTW help under "Schedule Run".
    I typically use tab-delimited files saved from Excel and the above method works very well.
    However, I would prefer to use ODBC directly from the template tables I have in a SQL database. It works perfectly using the GUI within DTW, and it lets me save the configuration file, but when I try to run DTW from the command line using ODBC, I get these error messages:
    Can not connect to ODBC data source.
    Can not get SQL handler.
    Does anyone have any suggestions on how I can use DTW from the command line while using ODBC sources?
    Thank you.

    I've got the same problem.
    I solve it once by editing the xml file's <ExID> tag from <ExID></ExID> to <ExID />
    So the problem resides at the XML syntax.
    My problem is that I lost the XML file I used and now I can't make it work again.
    Have anybody found the solution at this problem or is there an updated version of DTW?

  • Trouble in extracting Via ODBC to Oracle or Access - Numbers Change

    I am running a report that I only want the group records printed. One of the group fields  shows a sum of a function from the detail records.
    The following function sj_rec is on the detail record
    WhilePrintingRecords;
    Numbervar clm_sj_amt;
    if {SJE_RECORD.SJER_TYPE} in ["S","J"] then
        clm_sj_amt := clm_sj_amt + {SJE_RECORD.SJER_AMOUNT};
    if {SJE_RECORD.SJER_TYPE} = "R" then
        clm_sj_amt := clm_sj_amt - {SJE_RECORD.SJER_AMOUNT};
    clm_sj_amt;
    Then on the Group Record we have disp_sj function
    WhilePrintingRecords;
    numberVar   clm_sj_amt;
    clm_sj_amt;
    On the crystal report  every thing looks fine.
    When I extract the  Information Via ODBC to Oracle or Access the numbers change. If I extract to Excel it is fine.
    Can you please explain why I canu2019t get on oracle the exact info displayd in crystal ???

    Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum
    Likely differences in how ODBC links and indexes the tables.

  • [?] ODBC connection troubles

    Hello,
    I have a 10g server is running on Win2003 comp, and I want to connect to it
    from WinXP client computer using ODBC.
    1) I downloaded Oracle client (from
    http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip),
    unpacked it onto a client comp, set the PATH variable to that folder
    2) Tried to connect:
    data source: MS ODBC driver for Oracle
    server: Win2003ServerName
    username: sysman
    password: sysman_pwd
    And I got an error ORA-12514: TNSlistener does not currently know of service
    requested in connect descriptor
    I'm a novice in Oracle, and what can I imagine is I have to create a correct
    tnsnames.ora file on the client comp. But where have I place it to, or how
    to register it?
    Thanks.

    Can you try using the Oracle ODBC driver? The 10g Instant Client does not support using third-party ODBC drivers, it just installs what the Oracle ODBC driver requires. You'll have to download and install the Oracle ODBC driver components as well as the straight Instant Client as well.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Trouble With Oracle8 ODBC Diver

    Hi all,
    I'm using Oracle Enterprise Edition 8.1.7 and Microsoft Oracle ODBC Driver 8.1.7 for Windows. After having configured my DSN, i've tested to connect to my Database whith ODBCTEST. But I always receive the same error :
    SQLSTATE : 01000
    Native Error Code : 444
    Driver Message : le pilote a renvoyi une valeur incorrecte ou n'a rien envoyi pour SQL_DRIVER_ODBC_VER : 03.51
    I've no problem to use my database with another driver(JDBC) or via SQLPLus.
    Is there a non compatible version of ODBCTEST ?
    Could somebody give me some help ? Thanks a lot.
    Jean-Marie.

    1) There's no such thing as the "Microsoft Oracle ODBC Driver 8.1.7". There are two similiar ODBC drivers you can be using-- the Microsoft ODBC driver for Oracle or the Oracle ODBC driver. The former is from Microsoft, the latter from Oracle.
    2) I'll wager that the problem here is that you're using the Oracle driver with an old version of the MDAC (Microsoft Data Access Components) which includes the ODBC Driver Manager. The Oracle driver is identifying itself as supporting the ODBC 3.51 API, but the driver manager isn't aware that that revision of the API exists. You should be able to solve this problem by downloading an updated MDAC from <http://www.microsoft.com/data>.
    If this doesn't solve your problem, can you translate the driver message into English? My French is extremely limited.
    Justin

  • A trouble with "LIKE" in a select statement

    Hi!
    I'm having trouble with "LIKE" in a select statement...
    With Access I can make the following and everything works well:
    SELECT name, birthday
    FROM client
    WHERE birthday LIKE '*/02/*';
    but if try to do it in my application (it uses Access), it doesn't work - I just can't understand that!!!
    In my application the "month" is always the currently month taken from the "System". Look what I'm doing...
    String query1 = "SELECT name, birthday " +
              "FROM client " +
              "WHERE birthday " +
              "LIKE '*/" +
              pMonth +
              "/*' " +
              "ORDER BY birthday ASC ";
    ResultSet rs = statement1.executeQuery(consulta1);
    boolean moreRecords = rs.next();
    The variable "moreRecords" is always "false", the query returns nothing although the table "client" has records that attend the query.
    Please, anyone can help me?! It's a little bit urgent.
    Thanks,
    Katia.

    Hi Katia,
    I'll bet the problem lies with the characters you're using to escape the LIKE clause. You're using the ones that Access likes to see, but that's not necessarily what's built into the JDBC-ODBC driver class.
    You can find out what the correct escape wildcard characters are from the java.sql.DatabaseMetaData.getSearchStringEscape() method. It'll tell you what to use in the LIKE clause.
    I'm not 100% sure about your code. It doesn't use query1 anywhere. I'd do this:
    String query = "SELECT name, birthday FROM client WHERE birthday LIKE ? ORDER BY birthday ASC";
    PreparedStatement statement = connection.createStatement(query);
    String escape = connection.getMetaData().getSearchStringEscape();
    String test = escape + '/' + pMonth + '/' + escape;
    statement.setString(1, test);
    ResultSet rs = statement.executeQuery();
    while (rs.hasNext())
    // load your data into a data structure to pass back.
    rs.close();
    statement.close();Let me know if that works. - MOD

  • Data Import error - Valuation Method (ODBC -1029)

    Hello all, first post on the SCN. I did some search for similar problems, but nothing seemed to help here.
    We are using Business One, two different companies and databases. We were at the time of the year to update the price list, so we used the Administration -> Data Import/Export -> Data Import -> Import from Excel.
    One company (US only) imports perfectly, but the other database (Canada + US) gives me the following error message on 91 / 1036 entries.
    Row Number xxx : [Items - Valuation Method] , 'Field cannot be updated (ODBC -1029)
    Since the errors only appears on one of the two databases, I ruled out that the excel sheet we used to be the problem.
    The excel sheet only has 4 columns : The item identification, the price list that it needs to update, the price, and the currency (USD or $ for us).
    Neither of the two companies use any valuation method. In fact, neither companies have the field at all in Item Master Data, and its grayed out in the Company Details.
    We also made a dump of the entire item database, and compared what items were imported successfully and those that generated the error, and while the column Valuation Method either had nothing or A, there was no pattern to it. Some errors had nothing, some had A in it.
    I checked for any other differences between items that were imported and the ones with error, and cannot see any visible differences, so all I can think here is that its either an invisible setting when the item was created, or there's some character that is creating a fault somewhere (like an empty space).
    One of the topics found on this error message (ODBC -1029) said that we might need to request a script to fix the database, but that topic was back in 2006, I'm not sure if it still applies, 8 years later.
    Essentially I ran out of things to try on my end. Now I can only ask to the experts.
    Thank you for your time!

    The company that has troubles importing does not allow us to change the Valuation Method for each item. The field is missing entirely from the Item Master Data. I included a screenshot.
    The field is grayed out in the Company Details, but its set as Moving Average. The other company uses Moving Average by default as well, from the looks of it (the field does appear in Item Master Data, but its grayed out).
    We used the same excel sheet to import data in both companies, just need to figure out why its 100% on one side and not on the other side.
    Just to be a bit more clear, we cannot select or visualize the Valuation Method on the items that are not getting imported. Its invisible.
    When we exported the full list of items, there was no pattern between the items that are not imported and those that are imported properly.
    To be clear, the Valuation Method for :
    Items that are imported properly are A or blank.
    Items that are not imported and generate an error are A or blank.
    There is no logic between those that work and those that do not, which is why I can't figure it out on my own.
    Thank you!

  • Oracle ODBC  - Internal Error - unable to initialize NLS during driver load

    I'm having some trouble with my ODBC connections which I hope someone can please help me with!
    About 6 weeks ago all was working as normal.
    As far as I know there have been no updates to the ORacle DB, the Windows XP operating system or the ODBC Drivers.
    Today when I opened access and visual case 2 to connect to Oracle I was at first greeted with a:
    unable to connect SQLState=IM004 SQL_HANDLE_ENV
    error. ODBC also kept crashing.
    I restarted the computer and was confronted with a different error:
    odbc SQLSTate 08004 ORA 12154 TNS could not resolve the connect identifier specified
    I was able to fix this error by setting the environment variable TNS_ADMIN in windows xp environment variables. I'm extremely confused about how this happened though as it was working and I don't think anything has changed.
    I was then able to connect to the database via Microsoft Access but when I opened Visual Case 2 and tried to make an update, I was confronted with the following error:
    Oracle ODBC Driver - internal error - unable to initialize NLS during driver load
    I looked in the registry at:
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home1
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraClient10g_home2
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb10g_home1
    and NLS_LANG was set to "AMERICAN_AMERICA.WE8MSWIN1252" in all 3 places.
    (Though KEY_OraClient10g_home2 only had 4 entries as opposed to KEY_OraClient10g_home1's 13 entries)...
    Since I made those changes I can no longer connect through Access.
    I just receive a ODBC - connection to 'xxx' failed
    Advice greatly appreciated!!!!
    Edited by: user11150264 on Aug 25, 2009 10:21 PM

    Actually it sort of does...
    I switched the ODBC connection to use instant client and now it's all working again.
    The biggest mystery is what changed to make it suddenly stop working the old way...

  • JDBC-ODBC Bridge to SPSS data files - Result Set Type is not supported

    Hello,
    As mentioned in the subject I am trying to read SPSS data files using the SPSS 32-Bit data driver, ODBC and the JDBC-ODBC Bridge.
    Using this SPSS Driver I manged to read the data directly into an MS-SQL Server using:
    SELECT [...] FROM
    OPENROWSET(''MSDASQL.1'',''DRIVER={SPSS 32-BIT Data Driver (*.sav)};DBQ=' SomePathWhereTheFilesAre';SERVER=NotTheServer'', ''SELECT 'SomeSPSSColumn' FROM "'SomeSPSSFileNameWithoutExt'"'') AS a
    This works fine!
    Using Access and an ODBC System DNS works for IMPORTING but NOT for LINKING.
    It is even possible to read the data using the very slow SPSS API.
    However, when it comes to JDBC-ODBC the below code does only work in part. The driver is loaded successfully, but when it comes to transferring data into the resultset object the error
    SQLState: null
    Result Set Type is not supported
    Vendor: 0
    occurs.
    The official answer from SPSS is to use .Net or to use their implementation with Python in their new version 14.0. But this is obviously not an option when you want to use only Java.
    Does anybody have experience with SPSS and JDBC-ODBC??? I have tried the possible ResultSet Types, which I took from:
    http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/rjvdsprp.htm
    and none of them worked.
    Thank you in advance for your ideas and input & stay happy!
    Here the code without all the rest of the class arround it:
    // Module:  SimpleSelect.java
    // Description: Test program for ODBC API interface.  This java application
    // will connect to a JDBC driver, issue a select statement
    // and display all result columns and rows
    // Product: JDBC to ODBC Bridge
    // Author:  Karl Moss
    // Date:  February, 1996
    // Copyright: 1990-1996 INTERSOLV, Inc.
    // This software contains confidential and proprietary
    // information of INTERSOLV, Inc.
    public static void main1() {
      String url   = "jdbc:odbc:SomeSystemDNS";
      String query = "SELECT SomeSPSSColumn FROM 'SomeSPSSFileName'";
      try {
        // Load the jdbc-odbc bridge driver
        Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
        DriverManager.setLogStream(System.out);
        // Attempt to connect to a driver.  Each one
        // of the registered drivers will be loaded until
        // one is found that can process this URL
        Connection con = DriverManager.getConnection (url);
        // If we were unable to connect, an exception
        // would have been thrown.  So, if we get here,
        // we are successfully connected to the URL
        // Check for, and display and warnings generated
        // by the connect.
        checkForWarning (con.getWarnings ());
        // Get the DatabaseMetaData object and display
        // some information about the connection
        DatabaseMetaData dma = con.getMetaData ();
        System.out.println("\nConnected to " + dma.getURL());
        System.out.println("Driver       " +
          dma.getDriverName());
        System.out.println("Version      " +
          dma.getDriverVersion());
        System.out.println("");
        // Create a Statement object so we can submit
        // SQL statements to the driver
        Statement stmt = con.createStatement(ResultSet.TYPE_FORWARD_ONLY ,ResultSet.CONCUR_READ_ONLY);
        // Submit a query, creating a ResultSet object
        ResultSet rs = stmt.executeQuery (query);
        // Display all columns and rows from the result set
        dispResultSet (rs);
        // Close the result set
        rs.close();
        // Close the statement
        stmt.close();
        // Close the connection
        con.close();
      }

    Thank you for your reply StuDerby!
    Actually the above script was before, as you suggested, leaving the ResultSetTeype default. This did not work...
    I am getting gray hair with SPSS - in terms of connectivity and "integratebility" none of their solutions offered is sufficient from my point of view.
    Variable definitions can only be read by the slow API, data can only be read by Python or Microsoft Products... and if you want to combine both you are in big trouble. I can only assume that this is a company strategy to sell their Dimensions Platform to companies versus having companies developping their applications according to business needs.
    Thanks again for any furthur suggestions and I hope, that some SPSS Developper will see this post!
    Cheers!!

Maybe you are looking for