Use the EXITPGM parameter

The EXITPGM parameter can be used for various purposes.