Help for this page

Select Code to Download


  1. or download this
    $ /usr/bin/perl
    use strict;
    ...
    
    DBI connect('viper','db2inst3',...) failed: Total Environment 
    allocation failure!  Did you set up your DB2 client environment?
    
  2. or download this
    $ set | egrep '(DB2|INSTHOME)'
    CUR_INSTHOME=/home/db2inst3
    DB2DIR=/opt/ibm/db2/V9.5
    DB2INSTANCE=db2inst3
    INSTHOME=/home/db2inst3
    
  3. or download this
    $ db2 connect to viper
    
    ...
    2008-04-24-15.00.39.518770
    
      1 record(s) selected.