The Admin Guide manual does a good job of explaining this, under "Using Logic Flow Statements in a Script". See the Messages manual, appendix B, for the various return codes which can be tested.
Richard Sims
On Sep 9, 2004, at 7:05 AM, Weinstein, Stephen wrote:
With the following script, how can you be sure a command finishes with a status of success before starting the next command. I would like the script to stop if a command fails.