+ Reply to Thread
Results 1 to 2 of 2

Thread: iSeries Access ODBC Driver with unicode data problem

  1. #1
    Guest.Visitor Guest

    Default iSeries Access ODBC Driver with unicode data problem

    CharlesWong wrote: > I'm writing a VBScript to get data from the iSeries machine, which > runs on V5R3. The PF contains some unicode data. The CCSID of the > file level is 37. Some of the fields are defined as CCSID 13488. > > Below is the VBscript connection string: > strCnn = "Driver=iSeries Access ODBC Driver; " & _ > "System=xx.xx.xx.xx; " & _ > "Uid=" & strUser & ";" & _ > "CCSID=1200;" & _ > "GRAPHIC=1;" & _ > "Signon=3;" > It connects to the machine successfully. But when this statment: > Set strRst = conType.Execute(sqlStr) is run, there is an error: > Run-time error 80004005 > [IBM][iSeries Access ODBC Driver] [DB2 UDB] > > Does this problem relate to the connection string? Can't really say. There's not enough information from the error message to make any determination. I am curious as to why you specify a CCSID of 1200 when the files are 37. Bill

  2. #2
    Guest.Visitor Guest

    Default iSeries Access ODBC Driver with unicode data problem

    Hi, I'm writing a VBScript to get data from the iSeries machine, which runs on V5R3. The PF contains some unicode data. The CCSID of the file level is 37. Some of the fields are defined as CCSID 13488. Below is the VBscript connection string: strCnn = "Driver=iSeries Access ODBC Driver; " & _ "System=xx.xx.xx.xx; " & _ "Uid=" & strUser & ";" & _ "CCSID=1200;" & _ "GRAPHIC=1;" & _ "Signon=3;" It connects to the machine successfully. But when this statment: Set strRst = conType.Execute(sqlStr) is run, there is an error: Run-time error 80004005 [IBM][iSeries Access ODBC Driver] [DB2 UDB] Does this problem relate to the connection string?

+ Reply to Thread

Similar Threads

  1. Excel and ODBC to access iseries data
    By Guest.Visitor in forum Microsoft Access
    Replies: 6
    Last Post: 04-10-2006, 10:08 AM
  2. Replies: 10
    Last Post: 08-13-2004, 04:22 AM
  3. Replies: 0
    Last Post: 07-14-2004, 06:06 AM
  4. Replies: 0
    Last Post: 10-31-2001, 03:11 PM
  5. Updating data with ADO and Client Access ODBC Driver
    By Guest.Visitor in forum Programming
    Replies: 2
    Last Post: 10-17-1999, 01:14 PM

Posting Permissions

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