Doc's correct.

If you get an abend in a script then the interpreter will exit - even if you have specified multiple scripts on the command lines the interpreter will not run those after the failed script.

If you need to manage a script that might exit abnormally you will need to use SHELL to run it under a new instance of the kix32 interpreter. You can communicate the status back by writing to a registry key or checking @ERROR when the script completes.

You can pass non-object variables to the spawned script on the command line if they are small enough, otherwise via an INI file or the registry.