Returning control to SMP/E

When your shell script completes processing, it must return control to SMP/E. Your shell script returns control to SMP/E through the exit shell command, specifying an appropriate exit status (for example, exit 0 or exit –1). SMP/E uses your shell script's exit status value to determine whether the shell script completed successfully.

SMP/E recognizes the following exit statuses from shell scripts:
Exit status
Meaning
00
Shell script has completed successfully.
Any other value
Shell script processing has failed.