Hi,
I am running a dsjob (Multiple Instances) using a shell script from the execute command stage. If all the instances of the job run then i return a code 0 else 1. I trigger two different jobs based on the return code.I tried using stage_value.$CommandOutput and
stage_value.cmd.$ReturnValue
but both of them are not able to capture the return code of the shellscript
please let me know if there is a way in which I can capture the return code of the shell script
problem using execute command stage
Moderators: chulett, rschirm, roy
Re: problem using execute command stage
Is that a typo? You should be using "stage_value.$ReturnValue" - there's no ".cmd" in there.UPS wrote:stage_value.cmd.$ReturnValue
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 7
- Joined: Mon Jul 25, 2005 8:40 am
Re: problem using execute command stage
Creating your own specific routine for this will be a better option.
Rajeev
Nobody knows Everything,
But U should not be the One who knows Nothing.
Nobody knows Everything,
But U should not be the One who knows Nothing.