Page 1 of 1

ExecSH Error

Posted: Mon Nov 14, 2005 9:00 am
by gerardp
Hi,

I'm trying to execute a shell script before a DS job starts.

However I'm getting the following error:

Code: Select all

BeforeJob (ExecSH): Error when executing command: files/cgabs_mat.ksh
*** Output from command was: ***
SH: 28989 Bus error(coredump)
The shell script calls SQL*Plus to execute some stored procedures but works fine when called from the command line.

Any help appreciated.

Posted: Mon Nov 14, 2005 10:12 am
by chulett
HP/UX perhaps? If so, switch from ksh back to sh and the core dumps should stop. There were also some old posts about setting LD_PRELOAD, I believe... but first let us know what O/S.

Posted: Mon Nov 14, 2005 12:04 pm
by gerardp
Yes, HP-UX.

I've changed the script from ksh to sh and it now works fine.

Cheers!