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: DBD::CSV - UPDATE corrupts data!
      ... DBI 1.607, DBD::CSV 0.20, both runs deliver the same result from your first run. ... This are remnants from the shortening of the original program to generate a minimal test script. ... will try UPDATE Projects ...
      (perl.dbi.users)
    • Re: DBD::CSV - UPDATE corrupts data!
      ... I stumbled over somthing very strange: When I try to update data in a table, the input parameters are going into the right fields - exept the first data row in the table / file. ... Below is a script which demonstrate the thing. ... Running the code below copied and pasted on Linux 2.6.26.5, Perl 5.8.8, DBI 1.607, DBD::CSV 0.20, both runs deliver the same result from your first run. ...
      (perl.dbi.users)
    • Re: DBD::Oracle problem with bind_param_inout and UTF-8
      ... my $uidpwd = 'usr/pwd@db'; ... Using DBI 1.605 and DBD::Oracle 1.23 ... Sym = € ... Consider the following script ... ...
      (perl.dbi.users)
    • Re: Cant ctrl-c to exit with DBI, DBD::Oracle
      ... I'm running into a strange problem with a script that uses DBI and ... Once my script connects to my database, ... Otherwise the database handle seems to work fine. ... use DBI; ...
      (perl.dbi.users)
    • Re: Apache, Oracle, Perl DBI Problems
      ... I believe at the start of every perl cgi script interfacing ... 'perl dbi oracle'. ...
      (perl.dbi.users)