Running in a Batch Environment › Terminating a RUN
The RUN command, issued online or in batch, terminates upon successful completion of the executed program, upon encountering abnormal conditions, or by encountering online interruptions.