|
|
sybperl-l Archive
Up Prev Next
From: Don Beethe <dmbeethe at fedex dot com>
Subject: RE: sybperl questions
Date: May 26 2004 9:28PM
$SYBASE is set to /opt/sybase/sybase32.02 and "ls -l interfaces" reutnrs
that there's a file with rw for all owned by sybase:sybase... This file has
the database we are trying to connect to.
I found a simple script in the archives to test connectivity and when
running it, it fails also "Server name not found in interface file" but when
I open the interface file, the server is the first one listed in there.
-----Original Message-----
From: owner-sybperl-l@peppler.org [mailto:owner-sybperl-l@peppler.org]On
Behalf Of Steve Wechsler
Sent: Wednesday, May 26, 2004 3:20 PM
To: sybperl-l@peppler.org
Subject: RE: sybperl questions
From the command line, type 'echo $SYBASE', then look in that directory to
see the interfaces file.
If the script is not being run from the command line, put this statement in
your Perl script:
print $ENV{SYBASE};
and when you run your Perl script it will tell you the directory where the
interaces file lives.
Steve
> -----Original Message-----
> From: Don Beethe [mailto:dmbeethe@fedex.com]
> Sent: Wednesday, May 26, 2004 5:09 PM
> To: sybperl-l@peppler.org
> Subject: sybperl questions
>
>
> I'm working with a DBA to get some perl scripts using sybperl
> working and
> having problems with them. It tells me Server name not found
> in interface
> file. How can I determine what interface file it is reading?
> I'm trying to
> run the script on an HPUX system running sybase 12.5.
>
> Thanks
>
|