Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.sprintlink.net!demon!doc.news.pipex.net!pipex!bnr.co.uk!bcarh8ac.bnr.ca!bcarh189.bnr.ca!nott!cunews!omega.scs.carleton.ca!ug940027
From: ug940027@omega.scs.carleton.ca (jean-philippe torunski)
Subject: VisualAge / Win and DB/2 problem PLEASE help!
X-Nntp-Posting-Host: alpha10.scs.carleton.ca
Message-ID: <D9CtqJ.HKu@cunews.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Organization: School of Computer Science, Carleton U., Ottawa, Canada
X-Newsreader: TIN [version 1.2 PL2]
Date: Mon, 29 May 1995 19:20:43 GMT
Lines: 27

I was wondering if anyone has had any success connecting to a DB/2 
database with VisualAge. 

I create the connection under the Visual Tools menu, create the access 
set ok. But when I try to create a query it causes the error
"The code page "X" and/or country code "X" ..." SQL1204N SQLSTATE 225.
in a message box where X are two unprintable (8-bit) characters.

This is with a Windows client of VisualAge 2.0 Team. the Server is an 
OS/2 Warp machine. DB/2 also runs on the Warp server. I'm using CAE for 
the client.

I can connect under Visage OS/2 and with the DOS DB/2 software (connect 
to ... command). The country code is 1 (US) and the code page is 437 (on 
both the server and the client). The codepage for the databaes is also 437.

The error is caused in the 
AbtIbmDatabaseManager>>openCallForDatabaseNamed:ifError: method, which 
(unfortunately) the source code is not available (DLL). It is called from 
the AbtIbmDatabaseManager>>openDatabaseNamed:ifError: method.

Unfortunately, IBM doesn't want to help us since our 60-day free time is 
expired.

Any help would be greatly appreciated.

JP
