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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Sybperl (version 2.10 PPM'ed from ActiveStateon NT
Date: Jun 17 2002 8:13PM

On Mon, 2002-06-17 at 13:05, Sai N wrote:
> Michael,
> 
> Actually the server IS defined in my SQL.INI. I am able to run 
> isql from the command promot and get to the server.
> 
> I am also able to Ping it from the DSEDIT applet (if that means 
> anything to you).

What does the test script look like?

Michael


> On Tue, 18 Jun 2002 Michael Peppler wrote :
> >On Mon, 2002-06-17 at 12:47, Sai N wrote:
> > > Hi gurus,
> > >
> > > I have a very basic problem here. I installed Perl. I also
> > > installed Sybperl via ActiveState (PPM).
> > >
> > > However, when I try to run a very simple script, I get the
> > > following error before even connecting to the server. Any 
> >clues?
> > >
> > > Sai
> > >
> > > O:\>perl test_exec.pl
> > >
> > > Open Client Message:
> > > Message number: LAYER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER 
> >=
> > > (3)
> > > Message String: ct_connect(): directory service layer: 
> >internal
> > > directory control layer error: Requested server name not 
> >found.
> >
> >The name of the server passed to ct_connect() (or new()) is not 
> >defined
> >in the SQL.INI file (or if you don't specify a server it means 
> >that the
> >SYBASE server isn't defined in SQL.INI).
> >
> >Michael
> >--
> >Michael Peppler / mpeppler@peppler.org / 
> >http://www.mbay.net/~mpeppler
> >mpeppler@zetatools.com / ZetaTools, Inc / 
> >http://www.zetatools.com
> >ZetaTools: Call perl functions as Sybase stored procedures!
> 
> _________________________________________________________
> Click below to visit monsterindia.com and there is always a
> better job for you at http://monsterindia.rediff.com/jobs
> 
-- 
Michael Peppler / mpeppler@peppler.org / http://www.mbay.net/~mpeppler
mpeppler@zetatools.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!