I was finally able to get the version 1.0 of the DBD::DB2 installed, but
am still getting the same error as before? Any more ideas, I'll try
anything.
Brent
C:\Perl>perl aactss.pl
Subroutine AUTOLOAD redefined at c:/Perl/site/lib/DBD/DB2/CONSTANTS.pm
line
1563 (#1)
(W redefine) You redefined a subroutine. To suppress this warning,
say
{
no warnings 'redefine';
eval "sub name { ... }";
}
Operating System = MSWin32
Perl Binary = c:\Perl\bin\perl.exe
Perl Version = 5.008008
DBI Version = 1.53
DBD::DB2 Version = 1.0
Available DB2 DSNs:
DBI connect('dsn2.prdplexa.sabre.com','Z156505',...) failed: [IBM][CLI
Driver] C
LI0124E Invalid argument value. SQLSTATE=HY009 at aactss.pl line 67
Uncaught exception from user code:
Connection failed with error: [IBM][CLI Driver] CLI0124E
Invalid argume
nt value. SQLSTATE=HY009 at aactss.pl line 67.
at aactss.pl line 67
C:\Perl>
-Original Message-
From: Kellen F Bombardier [mailto:[EMAIL PROTECTED] On Behalf Of
db2perl
Sent: Monday, January 15, 2007 1:23 PM
To: Brimacomb, Brent
Cc: db2perl; dbi-users@perl.org; Jeffrey Seger
Subject: RE: DBD::DB2 question need an example
Hi Brent,
The problem appears to be that you are using 0.78 version of DBD::DB2.
You will need to update to the latest version for this to work
correctly.
"Brimacomb, Brent" <[EMAIL PROTECTED]>
01/15/2007 11:38 AM
To
db2perl/Toronto/[EMAIL PROTECTED]
cc
, "Jeffrey Seger" <[EMAIL PROTECTED]>
Subject
RE: DBD::DB2 question need an example
Being new to Perl I'm not sure how to list out the variables you asked
for?
list node directory
list database directory
get dbm cfg
Below is the complete output of the current program.
Thank you!
Brent
C:\Perl>perl aactss.pl
Subroutine AUTOLOAD redefined at c:/Perl/site/lib/DBD/DB2/CONSTANTS.pm
line
1560 (#1)
(W redefine) You redefined a subroutine. To suppress this warning,
say
{
no warnings 'redefine';
eval "sub name { ... }";
}
Operating System = MSWin32
Perl Binary = c:\Perl\bin\perl.exe
Perl Version = 5.008008
DBI Version = 1.53
DBD::DB2 Version = 0.78
Available DB2 DSNs:
DBI connect('dsn2.prdplexa.sabre.com','Z156505',...) failed: [IBM][CLI
Driver] C
LI0124E Invalid argument value. SQLSTATE=HY009 at aactss.pl line 66
Uncaught exception from user code:
Connection failed with error: [IBM][CLI Driver] CLI0124E
Invalid argume
nt value. SQLSTATE=HY009 at aactss.pl line 66.
at aactss.pl line 66
C:\Perl>
From: Kellen F Bombardier [mailto:[EMAIL PROTECTED]
On
Behalf
Of db2perl
Sent: Monday, January 15, 2007 11:05 AM
To: Brimacomb, Brent
Cc: dbi-users@perl.org; Jeffrey Seger
Subject: RE: DBD::DB2 question need an example
Hi Jeffrey,
Can you please paste the output from the entire script
you
provided in the original email (the one that displays the versions of
everything)? Also, can you run the following commands from the DB2 CLP
and give us the output:
list node directory
list database directory
get dbm cfg
Thanks,
"Brimacomb, Brent" <[EMAIL PROTECTED]>
01/11/2007 09:19 AM
To
"Jeffrey Seger" <[EMAIL PROTECTED]>
cc
Subject
RE: DBD::DB2 question need an example
First let me say THANK YOU! for trying to help. I've
been
beating my
head on this one for a couple days now
I tried what you suggested and basically got the same
error:
DBI connect('database=USNETAALDSN2','Z156505',...)
failed:
[IBM][CLI
Driver] CLI
0124E Invalid argument value. SQLSTATE=HY009 at
aactss.pl line
38
Uncaught exception from user code:
Connection failed with error: [IBM][CLI Driver]
CLI0124E
Invalid argume
nt value. SQLSTATE=HY009 at aactss.pl line 38.
at aactss.pl line 38
Brent
-Original Message-
From: Jeffrey Seger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 10, 2007 7:22 PM
To: Brimacomb, Brent
Cc: dbi-users@perl.org
Subject: Re: DBD::DB2 question need an example
On 1/10/07, Brimacomb, Brent <[EMAIL PROTECTED]>
wrote:
> : [IBM][CLI Driver] CLI0124E Invalid argument value.
SQLSTATE=HY009
> at AACTSS.pl line 38 Uncaught exception from user
code:
> Connection failed with error: [IBM][CLI
Driver]
CLI0124E
> Invalid argument value. SQLSTATE=HY009 at AACTSS.pl
line 38.