How DataStage Perform Interaction with External Scripts
Posted: Thu Jul 15, 2010 11:53 pm
Hi Guys,
I'm wondering that whether there is such stage in DataStage 7.5.x could perform external scripts, shell scripts in Unix I mean, or not.
I wanna perform a shell script before a job running, and also perform 2 shell scripts after a job running successfully or unsuccessfully respectively.
If there is no such stage for using, whether the only way to perform this logic is detecting the return status after starting job by dsjob command within shell script first and then performing different operation according to the return status gotten previously.
I'm wondering that whether there is such stage in DataStage 7.5.x could perform external scripts, shell scripts in Unix I mean, or not.
I wanna perform a shell script before a job running, and also perform 2 shell scripts after a job running successfully or unsuccessfully respectively.
If there is no such stage for using, whether the only way to perform this logic is detecting the return status after starting job by dsjob command within shell script first and then performing different operation according to the return status gotten previously.