dbi:Adabas

From: Christian Stalp (stalp_at_imbei.uni-mainz.de)
Date: 07/15/04

  • Next message: Tim Bunce: "Re: Problem of DBI build"
    To: dbi-users@perl.org
    Date: Thu, 15 Jul 2004 13:58:43 +0200
    
    

    I still have a problem with my DBD:Adabas-Module
    Versions:
    Perl v5.8.3 built for HPUX-10.20
    DBI v1.38
    DBD:Adabas-0.2003

    my script:

    #!/usr/local/bin/perl -w

    use DBI;

    print "Test\n";

    my $user = "somebody";
    my $password = "anything";
    my $data_source = "dbi:Adabas:refdb"; # TBD

    $dbh = DBI->connect ( $data_source, $user, $password )
                         or die "connection not established !\n";

    $dbh->disconnect;

    ---
    what I got:
    install_driver(Adabas) failed: Can't locate loadable object for module Adabas 
    in @INC (@INC contains: /usr/local/lib/perl5/5.8.3/PA-RISC2.0 
    /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0 
    /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at 
    (eval 1) line 3
    Compilation failed in require at (eval 1) line 3.
    Perhaps a module that DBD::Adabas requires hasn't been fully installed
     at ./dbi-test1.pl line 15
    Use of inherited AUTOLOAD for non-method Adabas::exit() is deprecated at 
    /usr/local/lib/perl5/5.8.3/DBD/Adabas.pm line 44.
    Can't locate auto/Adabas/exit.al in @INC (@INC contains: 
    /usr/local/lib/perl5/5.8.3/PA-RISC2.0 /usr/local/lib/perl5/5.8.3 
    /usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0 
    /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at 
    /usr/local/lib/perl5/5.8.3/DBD/Adabas.pm line 44
    END failed--call queue aborted.
    There is a Adabas.pm in /usr/local/lib/perl5/5.8.3/DBD/ is this the right 
    place?
    My odbc.ini was:
    [ODBC Data Sources]
    test
    [test]
    ServerDB=refdb
    ServerNode=  # according to the docu this should be free!?!?!
    Where is the problem?
    Thank you very much
    Gruss Christian
    

  • Next message: Tim Bunce: "Re: Problem of DBI build"

    Relevant Pages

    • Re: Apache, Oracle, Perl DBI Problems
      ... I believe at the start of every perl cgi script interfacing ... 'perl dbi oracle'. ...
      (perl.dbi.users)
    • Re: Why wont my script terminate?
      ... Laurie, here are a couple of other things to look at: ... You are not explicitly checking for errors on your DBI calls after the ... > Here's my script: ... > msgs in output file when testing) ...
      (perl.dbi.users)
    • InterBase MEMO/BLOB fields, data with size > 1MB
      ... my Perl script I have a code part that fetches a data from database ... Scriptwork just fine if the "content" in MEMO or BLOB ... DBD-InterBase with some other Perl module? ... "The DBI currently defines no way to insert or update LONG/LOB values ...
      (perl.dbi.users)
    • Re: Attribute Parameter Problem with bind_param( )
      ... I'm using the same DBI version on both, ... prompt. ... parameter problem in one of the methods called in the script. ... Here is the error from the error log: ...
      (comp.lang.perl.misc)
    • use DBI; connection timeout
      ... I wrote a script to run a few select queries from a database using the DBI ... but occasionally times out and either the query ... # Set up the basics ...
      (perl.beginners)