Solved

How to set sybase interfaces file using sybperl

Posted on 2000-04-04
1
552 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading fields from the text file. 4 101
delete query using perl dbi 3 109
Expect & sshpass package for Solaris 10 x86 15 961
Edit Odbc.ini using perl module 2 90
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…

830 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