Check the description of the DB2ENVLIST variable at
http://tinyurl.com/jah5m
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
IOD Conference
http://www.ibm.com/software/data/ondemandbusiness/conf2006/
> hi please tell me exactly what to do for setting the env. variable .
> I am not able to understand in the document.
This variable lists specific variable names for either stored procedures or
user-defined functions. By default, the db2start command filters out all
user environment variables except those prefixed with DB2 or db2. If
specific environment variables must be passed to either stored procedures
or user-defined functions, you can list the variable names in the
DB2ENVLIST environment variable. Separate each variable name by one or more
spaces.
What exactly have you tried after reading the document?
$ db2set DB2ENVLIST=var_name
$ export var_name=ON
$ db2start