Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

odbc

2 posts in General Discussion Last posting was on 2004-01-17 15:09:07.0Z
shibu Posted on 2004-01-17 06:44:45.0Z
Sender: 7f19.4008d958.1804289383@sybase.com
From: shibu
Newsgroups: ianywhere.public.general
Subject: odbc
X-Mailer: WebNews to Mail Gateway v1.1s
Message-ID: <4008dc11.7f28.846930886@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 16 Jan 2004 22:54:09 -0800, 10.22.241.42
Lines: 11
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 16 Jan 2004 22:29:17 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 16 Jan 2004 22:44:45 -0800
X-Trace: forums-1-dub 1074321885 10.22.108.75 (16 Jan 2004 22:44:45 -0800)
X-Original-Trace: 16 Jan 2004 22:44:45 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2332
Article PK: 4537

Hi
While connecting from powerbuilder to Sybase anywhere 7.0(At
the time of running an application),
If there is any problem in connecting the database,it
showing the error message screen 'ODBC CONFIGURATION FOR
SQLANYWHERE 7.0'.Actualy i want to avoid this screen and
have
to show a user error message screen.Is their any parameter
which i can pass through sqlca to avoid this message
scrreen.
Thanks


Chris Keating (iAnywhere Solutions) Posted on 2004-01-17 15:09:07.0Z
From: "Chris Keating \(iAnywhere Solutions\)" <FightSpam_keating@iAnywhere.com>
Newsgroups: ianywhere.public.general
References: <4008dc11.7f28.846930886@sybase.com>
Subject: Re: odbc
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: cpe00045af8ce8c-cm012059936305.cpe.net.cable.rogers.com
Message-ID: <40095245$1@forums-2-dub>
X-Original-Trace: 17 Jan 2004 07:18:29 -0800, cpe00045af8ce8c-cm012059936305.cpe.net.cable.rogers.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Jan 2004 06:53:37 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Jan 2004 07:09:07 -0800
X-Trace: forums-1-dub 1074352147 10.22.108.75 (17 Jan 2004 07:09:07 -0800)
X-Original-Trace: 17 Jan 2004 07:09:07 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2333
Article PK: 4536

Use the ConnectOption as shown in the following transaction object DPParm:

SQLCA.DBParm = "ConnectString='DSN=ASA 7.0
Sample;UID=dba;PWD=sql',ConnectOption='SQL_DRIVER_CONNECT,SQL_DRIVER_NOPROMP
T'"


--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8

****************************************************************************
*
Sign up today for your copy of the SQL Anywhere Studio 9 Developer Edition
and try out the market-leading database for mobile, embedded and small to
medium sized business environments for free!

http://www.ianywhere.com/promos/deved/index.html

****************************************************************************
*

iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use CaseXpress to report bugs http://casexpress.sybase.com

****************************************************************************
*

<shibu> wrote in message news:4008dc11.7f28.846930886@sybase.com...
> Hi
> While connecting from powerbuilder to Sybase anywhere 7.0(At
> the time of running an application),
> If there is any problem in connecting the database,it
> showing the error message screen 'ODBC CONFIGURATION FOR
> SQLANYWHERE 7.0'.Actualy i want to avoid this screen and
> have
> to show a user error message screen.Is their any parameter
> which i can pass through sqlca to avoid this message
> scrreen.
> Thanks