Use "dsjob -stop " command in the exec command
( Ensure that dsenv is sourced at all times)
add the following lines to .profile of the data stage admin or schedule job user
Code: Select all
export DSHOME=<path to dsengine directory>
export DSPROJ=<path to Projects directory>
if [ -x $DSHOME/dsenv ] ; then
echo "Sourcing $DSHOME/dsenv..."
. $DSHOME/dsenv
else
echo "Could not source $DSHOME/dsenv"