|
|
sybperl-l Archive
Up Prev Next
From: fence at bwn dot net
Subject: Re: $ENV{SYBASE} variable
Date: Sep 6 1999 11:36AM
for DBD, you can specify the interfaces file when connecting by
specifying the interfaces attribute:
$dbh =
DBI->connect("dbi:Sybase:server=$myServer,interfaces=$altIntFile"
, "user","password");
please forgive any typos or formatting errors--I'm using a pretty
rudimentary web-based email at them moment.
Rob
---
Robert Fenstermacher
Conversion Specialists, Inc.
Denver, CO
fence@bwn.net
> fence@bwn.net writes:
> > For DBD, try using:
> >
> > dbsetifile("/home/mpeppler/interfaces");
>
> Err... that's for Sybase::DBlib.
>
> This person is using DBD::Sybase...
>
> >
> >
> > for CT-Lib:
> >
$ret=ct_config(CS_SET,CS_IFILE,"/home/mpeppler/foo",CS_CHAR_TYPE)
> > ;
> > print "$ret\n";
>
> Yep - that's correct :-)
>
> Michael
>
>
> > > Hello,
> > >
> > > I'm using DBI/DBD and the Sybase::CTlib modules. The
> > > problem is I would like to use a different interfaces file
than
> > the
> > > default one specified by the env var $ENV{SYBASE}. Is
there a
> > way to
> > > connect to the database with a different interfaces file
and
> > yet the
> > > still use the existing ct libs in ~sybase?
> > >
> > > thanks,
> > >
> > > CLiff Nelsen
> > >
> >
>
> --
> Michael Peppler -||- Data Migrations Inc.
> mpeppler@peppler.org -||- http://www.mbay.net/~mpepple
r
> Int. Sybase User Group -||- http://www.isug.com
> Sybase on Linux mailing list: ase-linux-list@isug.com
>
|