Solved

How to set sybase interfaces file using sybperl

Posted on 2000-04-04
1
539 Views
Last Modified: 2011-10-03
Hi folks,

I am using sybperl for data base connection. I am using DBlib module. I have defined my own interfaces file for sybase and I want to use it for accessing the database server and not the default interfaces file in sybase home directory. Can anybody tell me how to write a login program to sybase using multiple interfaces files.

Also do u know any resources or documentation for sybperl ..

Thanx
Maha
0
Comment
Question by:maha
1 Comment
 
LVL 16

Accepted Solution

by:
maneshr earned 10 total points
ID: 2685422

i  checked the "Building and Installing" section of SybPERL FAq(http://www.mbay.net/~mpeppler/Sybperl/sybperl-faq.html)

& this is what it said...

"The 'interfaces' file is not visible.
     The Sybase libraries need access to a file that contain information on how to connect to the server. This file is normally
     located at the root of the Sybase installation directory, and the Sybase libraries and programs normally use the SYBASE
     environement variable to find this directory (ie sybperl will try to find $SYBASE/interfaces in order to run). "

so i think as long as you have kept your personal interface file in a direcory called interfaces and also updated the $SYBASE environment variable to point to your interface file, it shoudl work.

=========================================
a very good site is from the author of sybperl - Michael Peppler

http://www.mbay.net/~mpeppler/

check the section on "Sybperl documentation and papers"

you might get what you want there.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cpan issue 1 61
Perl DBI Transactions Using Custom Module 7 45
Perl Awk Need Help 3 109
Log File Creation with Header and Footer 17 60
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now