Using the STOP RUN statement
If you use the STOP RUN
statement in
the COBOL portion of your application, the statement terminates all
COBOL and Java™ routines (including
the JVM).
Control is returned immediately to IMS. The program and the transaction are left in a stopped state.