When a Script is executed, the first command in the Script is selected and executed.
Commands are processed sequentially, unless a command that alters the flow of control is executed, in which case processing continues at the defined point in the Script.
A Script terminates when the end of the Script is reached, when an EXIT, or DETACH {THREAD} command is executed, or when an error is detected and error trapping is not enabled for the Script.