From ZTPS - Z SW video management
This video describes several statements that you can use to handle conditions in Pl/I including ON, RESIGNAL, and ENDFILE.