Is it possible to capture the UNIX exit code from DS
Posted: Fri Sep 08, 2006 1:51 am
Hi,
We are calling one shellScript stored in param InputArg1 using "Call 'DSU.ExecSH'(InputArg1, result1) " , The shell will exit with different set of exit codes such as 5,4 and i have to capture the return codes and act accordingly.But the "result1" is always having 0 or 1.Will you please help me on how to capture the return codes from the shell.
We are calling one shellScript stored in param InputArg1 using "Call 'DSU.ExecSH'(InputArg1, result1) " , The shell will exit with different set of exit codes such as 5,4 and i have to capture the return codes and act accordingly.But the "result1" is always having 0 or 1.Will you please help me on how to capture the return codes from the shell.