SQL2071N error occured while accessing libdb2licm.so

2002-09-18 Thread hasan
Hi all, SQL2071N error occured while accessing libdb2licm.so When I start db2 under suse7.2 this error occured: SQL2071N error occured while accessing libdb2licm.so I have libdb2licm.so and libdb2licm.so.1 in db2\lib directory. Thanks in advance, --Maryam Hasan

Re: SQL2071N error occured while accessing libdb2licm.so

2002-09-18 Thread pvandeursen
SQL2071N An error occurred while accessing the shared library shr-lib-name. Reason code: reason-code Cause: An unexpected error occurred while accessing a vendor shared library during the processing of a database utility. The following is a list of reason codes: 1 An invalid shared

Problems with using DBD-ODBC

2002-09-18 Thread Alex Cerantonio
Hi Tim and Jeff, We are having problems with using DBD-ODBC. The ODBC driver is installed on our server and can connect to our Redbrick Db, but the DBD-ODBC can not connect when running the Maketest. 1. The log of all step of the built is attached in the zip file. 2. Perl: v5.6.1 built for aix

RE: Quirky problem with DBI

2002-09-18 Thread Ulrike Schmidt
Hello, I have a similar problem to Brad some days ago, but the solution that worked for him leads to new error messages for me. I am trying to insert values into an Access database, conc_name and definition are of type Memo. The error message I get is: [Microsoft][ODBC Microsoft Access

PS: Quirky problem with DBI

2002-09-18 Thread Ulrike Schmidt
Ulrike Schmidt wrote: The error message I get is: [Microsoft][ODBC Microsoft Access Driver]COUNT-Feld ungültig. (SQL-07001)(DBD: st_execute/SQLExecute err=-1) at PerlModule/Database.pm line 110. This probalby translates to invalid COUNT-field. Uli

Error while running odbctest

2002-09-18 Thread Janarthanan, Prasanna
After installing the Single-Tier lite driver and iODBC , i get error while running odbctest. Error: janarthp@sys1:/u/janarthp/Tar/iODBC/bin odbctest iODBC Demonstration program This program shows an interactive SQL processor Enter ODBC connect string (? shows list): DSN=gel [iODBC][Driver

RE: Quirky problem with DBI

2002-09-18 Thread pvandeursen
Hi Ulrike, Try the following. use DBI ; use DBD::ODBC qw(:sql_types) ; $sth-bind_param(1, $conc_name, { TYPE = SQL_LONGVARCHAR }); $sth-bind_param(2, $definition, { TYPE = SQL_LONGVARCHAR }); Greetings, Paul.

RE: Quirky problem with DBI

2002-09-18 Thread martin
But don't you have an invalid count? 3 parameters in the SQL (3 question marks) and onlt 2 bound parameters (two calls to bind_param for params 1 and 2). Martin On 18-Sep-2002 Ulrike Schmidt wrote: Hello, I have a similar problem to Brad some days ago, but the solution that worked for

RE: Error while running odbctest

2002-09-18 Thread Jeff Urlwin
I suggest you talk to OpenLink directly regarding this. (That is, if this is still the openlink driver that you mentioned you were using in prior e-mails). Regards, Jeff After installing the Single-Tier lite driver and iODBC , i get error while running odbctest. Error:

RE: Problems with using DBD-ODBC

2002-09-18 Thread Jeff Urlwin
Hi Tim and Jeff, We are having problems with using DBD-ODBC. The ODBC driver is installed on our server and can connect to our Redbrick Db, but the DBD-ODBC can not connect when running the Maketest. 1. The log of all step of the built is attached in the zip file. 2. Perl: v5.6.1

RE: Error while running odbctest

2002-09-18 Thread Janarthanan, Prasanna
Ya, iam not getting any reply from their technical support. I thought that someone else in this group also wud have experienced this. Was anyone successful in using the iODCB manager with single tier lite driver? help! thanks Prassana -Original Message- From: Jeff Urlwin

RE: Problems with using DBD-ODBC

2002-09-18 Thread martin
On 18-Sep-2002 Jeff Urlwin wrote: Hi Tim and Jeff, We are having problems with using DBD-ODBC. The ODBC driver is installed on our server and can connect to our Redbrick Db, but the DBD-ODBC can not connect when running the Maketest. 1. The log of all step of the built is attached in

Connecting to Oracle through Perl.

2002-09-18 Thread Sridhar Saragu
Hi, Can somebody tell me where the Perl exactly look for tnsnames.ora while connecting to Oracle ? (like home, oracle_home, tns_admin etc ...). I want to know the order in which it looks the directories ? Thanks Regards Sridhar

RE: Connecting to Oracle through Perl.

2002-09-18 Thread NIPP, SCOTT V (SBCSI)
I am pretty sure this is supposed to reside in /etc. I know that on our HP-UX boxes the tnsnames.ora is in /etc and we use Perl for some database access. -Original Message- From: Sridhar Saragu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 8:24 AM To: [EMAIL

Re: Connecting to Oracle through Perl.

2002-09-18 Thread Edd Dawson
on the Tru64 unix box we are using it is found at : /usr/app/oracle/product/7.3.4/network/admin/tnsnames.ora hope this helps cheers Edd Sridhar Saragu [EMAIL PROTECTED] 09/18/02 14:21 PM Hi, Can somebody tell me where the Perl exactly look for tnsnames.ora while connecting to Oracle ?

RE: Connecting to Oracle through Perl.

2002-09-18 Thread Fannin, David P.
The Oracle client looks for tnsnames.ora in the $ORACLE_HOME/network/admin directory. We typically set the Perl variable $ENV{ORACLE_HOME} to the location of the Oracle installation in our database connection modules prior to any attempt to open a database connection. -dpf-

Re: Connecting to Oracle through Perl.

2002-09-18 Thread Tim Bunce
On Wed, Sep 18, 2002 at 06:54:13PM +0530, Sridhar Saragu wrote: Hi, Can somebody tell me where the Perl exactly look for tnsnames.ora while connecting to Oracle ? (like home, oracle_home, tns_admin etc ...). I want to know the order in which it looks the directories ? To quote

Re: Quirky problem with DBI

2002-09-18 Thread Ulrike Schmidt
Oops, yes, now everything works fine, thanks a lot! (embarassing ...) Uli [EMAIL PROTECTED] wrote: But don't you have an invalid count? 3 parameters in the SQL (3 question marks) and onlt 2 bound parameters (two calls to bind_param for params 1 and 2). Martin On 18-Sep-2002 Ulrike Schmidt

DBD DBI for Oracle7 8

2002-09-18 Thread Sridhar Saragu
Hi, Can somebody tell the location( i mean Perl sites ) and version of DBI and DBD which will work on both Oracle7 8 ( i have to work on both databases simultaneously ). Thanks Regards Sridhar

RE: Error while running odbctest

2002-09-18 Thread Levine, Peter W
Hi, Have you set the value of LD_LIBRARY_PATH? Have you installed an ODBC driver manager as well as an ODBC driver? Try to you connect to the DB using 'odbctest', a provided test program, before you attempt your make. Have you defined top_srcdir via 'configure? Pete -Original Message-

DBIx::Recordset question

2002-09-18 Thread Dan Patnaude
Greetings- I'm new to this list, but I hope that someone here can help me. I am trying to write a page which returns the results from a simple select with a like clause: Here is the snippet: *set = DBIx::Recordset - Search ({%fdat, ('!DataSource' = $DSN, '!Username' = $user,

Shared Library Woes

2002-09-18 Thread Khamneian, Mahtaj
I have oracle 8.0.6 and 8.1.7 installed on a server and a perl program that I run on instances of both versions on this server. The env variables, including LD_LIBRARY_PATH, are set in .profile files which I run for the specific db version before I run the script. The 8.0.6 version runs

Can't save oracle BLOB with DBI::Oracle

2002-09-18 Thread akis100
Hello, I am using the following code to update a BLOB field into our Oracle database: $sql = UPDATE CMSDOCUMENT SET CONTENT=? WHERE CMSDOCUMENTID=$cmsid; $sth = $oradbh-prepare($sql); $sth-bind_param(1, $html, {ora_type = ORA_BLOB}); $sth-execute() or die update of topic content failed.\n;

Problem populating execute using @array.

2002-09-18 Thread Dolan, Mark
I am trying to update a table in an Oracle database. I am reading an input file which has the column names for the database as the first record in the file. The data begins in the second row. I read the first record to pull off the column names. I create the sql using placeholders. I then read

RE: Can't save oracle BLOB with DBI::Oracle

2002-09-18 Thread shildreth
LongReadLen (unsigned integer, inherited) This attribute may be used to control the maximum length of long fields (blob, memo, etc.) which the driver will read from the database automatically when it fetches each row of data. The LongReadLen

Re: Problem populating execute using @array.

2002-09-18 Thread Hardy Merrill
What are the columns defined as(data types)? Looks to me like at least one of the columns is defined as an INTEGER, or another form of a number, and you are trying to feed it a string value. HTH. -- Hardy Merrill Senior Software Engineer Red Hat, Inc. Dolan, Mark [[EMAIL PROTECTED]] wrote:

MUMPS Web access

2002-09-18 Thread Juanjo
Hi all, i´m going to work (probably) with a new type of data format i never had done before, this is, Mumps. I´ve read some info out there but I havent found anything about how to access Mumps files and show information in a web browser (i think it´s stored as DBM file), please, could you

RE: Problem populating execute using @array.

2002-09-18 Thread Fox, Michael
1. the prepare is missing, so $sth is not defined 2. the quoting loop is probably not doing what you want (its quoting the tempoary variable field, not the elements of @ins) - but with placeholders you probably don't want the fields quoted anyway -Original Message- From: Dolan, Mark

Re: Can't save oracle BLOB with DBI::Oracle

2002-09-18 Thread Michael A Chase
On Wed, 18 Sep 2002 12:24:52 -0500 [EMAIL PROTECTED] wrote: I am using the following code to update a BLOB field into our Oracle database: $sql = UPDATE CMSDOCUMENT SET CONTENT=? WHERE CMSDOCUMENTID=$cmsid; $sth = $oradbh-prepare($sql); $sth-bind_param(1, $html, {ora_type = ORA_BLOB});

RE: Problems with using DBD-ODBC

2002-09-18 Thread Jeff Urlwin
Yes, but the driver manager is important. I suggest you get unixODBC and configure your odbc.ini to 'point to' the redbrick driver. Then, connect with odbctest or isql (in unixODBC) to test. Then, with your ODBCHOME set to where unixODBC is installed, test DBD::ODBC. Jeff -Original

AnyData error

2002-09-18 Thread Jeff Thies
I'm getting this error (on execute) when I try to use DBI and AnyData (.5). DBD::AnyData::st execute failed: Undefined subroutine AnyData::adTable I've used this on other servers without trouble, what dumb mistake am I making? code snip: use DBI; my $dbh =

How to query for an apostrophe

2002-09-18 Thread Nick Hoffman [UWO]
Hiya. How can I search for the following?: D'Silva If I try to search for it, with the following query string: SELECT * FROM Players WHERE LName LIKE `%D'Silva%` I get the following error: Died while executing:[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.