![]()
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Adabas: Versions 6.1.1.2 to 10.0
DBROOT must be set
httpd.conf.
Enter the following two lines :
SetEnv DBROOT /opt/adabas/ SetEnv LD_LIBRARY_PATH /opt/adabas/libIt is possible to scan the variable using the CGI script
printenv. The variable should then appear there.
Perl allows to define a package centrally in 'lib/perl?' ...
-File: /my_perl_includes/setmyenv.pl-
package setmyenv;
sub main'setmyenv {
$ENV{'DBROOT'} = "/opt/adabas";
$ENV{'DBNAME'} = "whatsover";
}
1;
--------------------------------------
This can be included into a Perl script by
- Perl Skript ------------------------
@INC = "/my_perl_includes/";
require "setmyenv.pl";
--------------------------------------
![]()
Keywords: ADABAS, ADABAS D, DATABASE, ENVIRONMENT, PERL, APACHE
![]()
Categories:
Commercial Applications
![]()
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch