[QUOTE] The script is executed in Bourne shell (the first line of the script is #! /bin/sh). And even if I inserted the lines unset XKEYSYMDB or XKEYSYMDB="usr/X11R6/lib/X11/XKeysymDB" export XKEYSYMDB before invoking Cadence in the script, I still got the same result by executing getShellEnvVar("XKEYSYMDB"). I guess that the var XKEYSYMDB is overrided somewhere I dont know.[/QUOTE] Mmmh... it could be in one of the .cdsinit files. I would suggest you do the following tests to find out. 1) in your script do echo $XKEYSYMDB right after you unset it, and once again right before calling the cadence executable. If it's not set then it's being set during initialization of cadence. If it is set then, that's weird. You could also try set XKEYSYMBD= export XKEYSYMDB 2) If 1) succeeds, then empty your .cdsinit and iteratively add the commands by small blocks to find out which one is setting this variable. If you have any third-party skill scripts executed to set-up integration of a tool inside the cadence environment, then that's probably the place to look for (most probably, hercules as i can see from the value you provided...) cheers, stéphane