Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cann't get environment variable in C UDF

Status
Not open for further replies.

hofc

Programmer
Mar 24, 2003
5
MY
Hi,
I've a C UDF that suppose to get 2 environment variable using getenv() but don't know why the udf unable to get it, any body know why?

FYI, my C udf is in DB2 AIX. I also set the environment variable in DB2ENVLIST using db2set and restart the instance but still cannot work.

>> db2set
DB2ENVLIST=IQMGR dd_IQPATH

>> env |grep IQ
IQMGR=192.168.3.200:12800
dd_IQPATH=/disc1/DATA

Thanks.

Regards,
fcho
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top