Hey...I dont really see any problem here.
Raj
----Original Message Follows----
From: "Rendy Theixar" <[EMAIL PROTECTED]>
To: "PB Mailing List (E-mail)" <[EMAIL PROTECTED]>, "PFC Mailing
List (E-mail)" <[EMAIL PROTECTED]>
Subject: PFCSIG URGENT : Connection to the Sybase server
Date: Tue, 14 Dec 1999 17:59:24 +0700
MIME-Version: 1.0
>From [EMAIL PROTECTED] Tue Dec 14 04:43:28 1999
Received: from [198.3.220.11] by hotmail.com (3.2) with ESMTP id
MHotMailBA1F8455000ED82197BEC603DC0BB4940; Tue Dec 14 04:34:34 1999
Received: (from majordom@localhost) by mango.rssi.com (8.8.4/8.8.2) id
GAA12399 for pfcsig-outgoing; Tue, 14 Dec 1999 06:20:54 -0500 (EST)
X-Authentication-Warning: mango.rssi.com: majordom set sender to
[EMAIL PROTECTED] using -f
Received: from prserv.net (out4.prserv.net [165.87.194.239]) by
mango.rssi.com (8.8.4/8.8.2) with ESMTP id GAA12395 for <[EMAIL PROTECTED]>;
Tue, 14 Dec 1999 06:20:44 -0500 (EST)
Received: from suryakertas.com ([202.135.135.244]) by prserv.net
(out4) with SMTP id <1999121411014423900ogm98e>; Tue, 14 Dec 1999
11:01:46 +0000
Received: from bsdrendy [127.0.0.1] by kedungdoro.suryakertas.com
[192.168.1.36] with SMTP (MDaemon.v2.7.SP3.R) for <[EMAIL PROTECTED]>; Tue, 14
Dec 1999 17:59:34 +0700
Message-ID: <000401bf4622$4cdc4680$5501a8c0@bsdrendy>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal
X-MDaemon-Deliver-To: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Precedence: bulk
ASAP
Hi All,
I have a strange problem about connection to the server. I build an
application using PowerBuilder 6.5 and Sybase 11.9.2.
The OS is Windows NT 4. I have more than 10 users that using my application.
The problem is when the user run the application and connect/login to the
server, in Processes directory (in Sybase SQL Central) there are several
login ID for one Login ID (user). In fact, only one login ID for one user
that run an application. I really confuse because everytime my user run my
application, it always happen.
Here my script :
Script for connection to the server :
SQLCA.DBMS = ls_dbms
SQLCA.DataBase = ls_dbname
SQLCA.LogId = ls_logid
SQLCA.LogPass = ls_logpass
SQLCA.ServerName = ls_servername
SQLCA.UserId = ls_logid
SQLCA.DBPass = ls_logpass
SQLCA.Lock = "0"
SQLCA.DBParm = ""
// If can't connect, display message...
CONNECT Using SQLCA;
IF SQLCA.SQLCode <> 0 THEN
MessageBox("Database Connect","Unable to connect database " + ls_dbname +
"." + &
" DB Error Code : " + String (SQLCA.SQLDBCode) + " - " + &
SQLCA.SQLErrText, StopSign!, OK!, 1)
HALT Close
END IF
Script for disconnect :
If SQLCA.DBHandle() > 0 Then
DISCONNECT Using SQLCA;
IF SQLCA.SQLCode <> 0 THEN
MessageBox("Database Disconnect","Unable to disconnect database." + &
" DB Error Code : " + String (SQLCA.SQLDBCode) + " - " + &
SQLCA.SQLErrText, StopSign!, OK!, 1)
End If
END IF
Can anyone help me to solve my problem ?
Regards,
Rendy Theixar
PT. Surabaya Agung Industri Pulp & Paper, Tbk
E-mail : [EMAIL PROTECTED]
URL : http//www.suryakertas.com
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]