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 MBAY dot NET>
Subject: Re: Login problems
Date: Sep 17 1997 2:28PM

Erich Izdepski wrote:
> 



> 
> When I run code like the above, I get an error stating that the server name
>  for Part Two is not in the interfaces
> files, which prevents logging on. If I run the code without Part One, I do
> not get the error and everything
>  works fine.  I've verified that all the server names are in the interfaces
>  files pointed to by the 'Sybase' environment
> variable.  It looks like dblogin, though, is using the path from Part One
> when checking the interfaces file.

Use 

dbsetifile("/usr/syb10/interfaces");

to tell DBlib to use a different interfaces file within the program.

Michael
--
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler