ExecSH Error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
gerardp
Participant
Posts: 7
Joined: Fri Jul 08, 2005 5:27 am

ExecSH Error

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
gerardp
Participant
Posts: 7
Joined: Fri Jul 08, 2005 5:27 am

Post by gerardp »

Yes, HP-UX.

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

Cheers!
Post Reply