hgalusha wrote:BTW, we are HPUX 11.11 as well. Ascential recommended we comment out the LD_PRELOAD statement in the dsenv. We did it and voila, kornshell scripts work again.
Thanks again for your responses and collaboration here.
We are facing the same kind of problem
Below is what I found on the dsenv script about the LD_PRELOAD.
#LD_PRELOAD must be unset on HP-UX 11.00
if [ 1111 -le `uname -r | cut -f2 -d.``uname -r | cut -f3 -d.` ]
then
LD_PRELOAD=$DSHOME/java/jre/lib/PA_RISC2.0/hotspot/libjvm.sl
export LD_PRELOAD
fi
If we use "#!/usr/bin/ksh" in scripts then we are getting a bus error. Do we have to add / change anything in this script that will take care of the after routine scripts even if we add "#!/usr/bin/ksh" in the scripts.
It simply stops that environment variable from being set, the setting of which is what causes the core dumps to happen. That's all. No adverse effects that I've ever seen in our Server world.
Last edited by chulett on Tue Jan 09, 2007 2:44 pm, edited 1 time in total.
-craig
"You can never have too many knives" -- Logan Nine Fingers
chulett wrote:It simply stops that environment variable from being set, the setting of which is what causes the core dumps to happen. That's all. No adverse effects that I've ever seen.
This is only true, apparently, when you're only running Server jobs. If you're running PX (DS EE) jobs, it may kill those jobs... Least that's what they told me.
Just a thought - what if you execute a Bourne shell script from DataStage and that Bourne shell script invokes your Korn shell script? Does that fail in the same way? Yeah, you shouldn't NEED to, but it might prove to be a workaround. You could even pass the pathname of the Korn shell script as a command line argument to a generic Bourne shell script!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.