SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2002
    Location
    Germany
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems with ODBC Driver for DB2 and SilkTest 5.5 FP3

    we use DB2 V7.2 FP7 and have the problem that it isn't possible to get data from the DB.
    The connect to the database functions but a simple select statement failes.
    A test with Oracle and Access was also OK.

    4Test Script:
    [-] testcase dbconnect()
    [ ] HDATABASE hdbc
    [ ] HSQL hstmnt
    [ ] hdbc = DB_Connect ("DSN=Datenbank;UID=db2admin;PWD=db2admin;DBALIAS= ADRESSEN") //Connect is OK
    [ ] hstmnt = DB_ExecuteSql (hdbc, "SELECT * FROM DATEN") // Error
    [ ] DB_Disconnect (hdbc)

    Result:
    [-] Testcase dbconnect - 1 error
    [ ] *** Error: (42S02) [IBM][CLI Driver][DB2/NT] SQL0204N "DB2ADMIN.DATEN" ist ein nicht definierter Name. SQLSTATE=42704
    [ ] Occurred in DB_ExecuteSql
    [ ] Called from dbconnect at odbc.t(5)

    Has anybody an idea?

    ------------------

  2. #2
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with ODBC Driver for DB2 and SilkTest 5.5 FP3

    Well, the error message is being generated by the odbc driver, silktest is simply reporting this error (which it received) to you.
    Try connecting through a different odbc client (e.g. odbctest) with the same logon information, and see if you get the same error.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:51 PM.

Copyright BetaSoft Inc.