Article View: sybase.public.sqlanywhere
Article #1Re: Connect To ASA 9 using OLE DB with PowerBuilder 9
From: Chris Keating [Sybase iAnywhere]
Date: Mon, 20 Apr 2009 16:43
Date: Mon, 20 Apr 2009 16:43
71 lines
3638 bytes
3638 bytes
You need to 1) Provide the engine name parameter 2) Likely provide the communication links parm i.e., "PROVIDER='ASAProv.90',PROVIDERSTRING='eng=aa;dbn=aa;links=TCPIP'" Carlos wrote: > This is the scenario > > pc with windows xp , sql 9 (client) > i can login using interactive sql to the service in the linux pc, but > can't make a connection using ole db, it brings up odbc dialog. > > pc with linux , sql 9 (server) > database running , service AA, database AA > > both pc are running in the same network and subnet. > > please tell me any additional info. > thx > > > "Chris Keating [Sybase iAnywhere]" <keating_no@spam_sybase.com> escribi� > en el mensaje de noticias:49ec8ae2$1@forums-1-dub... >> You have not provided enough information to connect. >> >> Possible cause: You do not have an engine that is running and the >> autostart fails because you have not specified which database file you >> would like to start and connect. >> >> >> Recommendation: >> 1) Specify ENG=<engine_name> as a best practice >> 2) If autostarting the database, add DBF=<path and filename of DB> to >> identify the database >> >> If you are attempting to connect to an aleady running database, the >> DBF is not needed. >> >> >> >> SQLCA.DBMS = "OLE DB" >> SQLCA.LogPass = <***> >> SQLCA.LogId = "dba" >> SQLCA.AutoCommit = False >> SQLCA.DBParm = >> "PROVIDER='ASAProv.90',PROVIDERSTRING='eng=asademo9;dbn=asademo;dbf=c:\Program >> Files\Adaptive Server Anywhere 9\asademo.db'" >> >> Carlos wrote: >>> I'm trying to connect to a database running ASA 9 in a linux pc from >>> powerbuilder 9. I can't seem to find the right parameters, when I >>> test the >>> connection the ODBC dialog pops up, and I want to make the connection >>> without ODBC. >>> Here's the connection params... please help me telling what I'm doing >>> wrong. >>> (the server is starting as fernando, and the database is fernando.db) >>> >>> // Profile fernando >>> SQLCA.DBMS = "OLE DB" >>> SQLCA.LogPass = <***> >>> SQLCA.LogId = "dba" >>> SQLCA.AutoCommit = False >>> SQLCA.DBParm = >>> "PROVIDER='ASAProv.90',DATASOURCE='null',LOCATION='fernando',PROVIDERSTRING=''dbn=fernando''" >>> thx in advance >
Technical Details
Message-ID:
<49eca635@forums-1-dub>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-sybase.public.powerbuilder.database.mbox.zip!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!novia!newsfeed.yul.equant.net!news-peer1.sprintlink.net!news-sj-1.sprintlink.net!forums-master!forums-1-dub!not-for-mailReferences:
<49ec83ed@forums-1-dub> <49ec8ae2$1@forums-1-dub> <49eca27a@forums-1-dub>Show Full Headers
Complete Article Headers
Message-ID: <49eca635@forums-1-dub> Subject: Re: Connect To ASA 9 using OLE DB with PowerBuilder 9 Date: Mon, 20 Apr 2009 16:43:33 +0000 From: "Chris Keating [Sybase iAnywhere]" <keating_no@spam_sybase.com> References: <49ec83ed@forums-1-dub> <49ec8ae2$1@forums-1-dub> <49eca27a@forums-1-dub> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-sybase.public.powerbuilder.database.mbox.zip!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!novia!newsfeed.yul.equant.net!news-peer1.sprintlink.net!news-sj-1.sprintlink.net!forums-master!forums-1-dub!not-for-mail User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: sybase.public.powerbuilder.database,sybase.public.sqlanywhere In-Reply-To: <49eca27a@forums-1-dub> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: vip152.sybase.com X-Original-NNTP-Posting-Host: vip152.sybase.com X-Trace: forums-1-dub 1240245813 10.22.241.152 (20 Apr 2009 09:43:33 -0700) X-Original-Trace: 20 Apr 2009 09:43:33 -0700, vip152.sybase.com Lines: 71 X-Authenticated-User: techsupp