PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Dan Page" <Dan dot Page at notes dot fairchildsemi dot com>
Subject: (no subject)
Date: Oct 19 1999 4:04PM


when running the following script:

#!/usr/local/bin/sybperl
use Sybase::DBlib;
$user = 'extern_web';
$passwd = 'extern_web';
$server =  'SYB_FMIADW_IQ';
$database ='dss';
$dbh=Sybase::DBlib->dblogin($user,$passwd,$server)||die "can't login";
$status = $dbh->dbuse($database)||die "can't connect to dss";
$select = 'select count(*) from www_logs';
$dbh->dbcmd($select);
$dbh->dbsqlexec;
$dbh->dbresults;
@dat=$dbh->dbnextrow();
$resp_cnt = $dat[0];
print $resp_cnt ;


I get the following message and result set:

Msg 5703, Level 10, State 0
Server 'SYB_FMIADW_IQ',
        Changed language setting to 'us_english'

4244711


When I run this within  a cgi it returns a Servor Error to the browser.
I am assuming that it is the Msg that is causing the message.
Is there a way to eliminate the echo of the messages?


Dan