Problem with LD_LIBRARY_PATH

I don't know what you should export because I'm not in a position to compare the env as seen by your script with that seen by the parent shell.

Hi Scott,
If you have time read the link i gave above ,it has something to do with missing path in LD_LIBRARY_PATH .

I would test another binary that is compiled cobol...
The idea is MF from what I remember ( last time I had to touch and configure was 10 years ago...) has which seems to be your case (production) things that are run at boot time e.g. you would find in /etc a file, here on the last HP having it : mflmrcscript
with content:

COBDIR=/opt/cobol/mflmf
export COBDIR
SHLIB_PATH=$COBDIR/coblib:$SHLIB_PATH:/lib
export SHLIB_PATH
cd /opt/cobol/mflmf
./mflm_manager

SHLIB_PATH (HP) is your LD_LIBRARY_PATH (SUN)
As you can see, it is set up BEFORE $SHLIB_PATH for it has from what I remember some lib stuff having the same name as in $SHLIB_PATH and so it works because it takes the first it finds...
Now its difficult to compare with dev box because on dev boxes you have many compilers and libraries, so MF-Cobol dev suite is NOT the same and the order is less important because can be customized quite alot...
On production boxes you may just have the runtime (explaining why you have server express...)
One thing I know is if thoses MF daemon are not running, no cobol stuff will work... that is why my first line here

Vbe Thanks,
So what is the exact cause of my error and what can i do?

When i run bip.sh independently it works fine.So do i need to include some environmental variables in my script?

Any updates on this?