Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Scenario 2: Exception handler present for divide-by-zero z/OS Language Environment Programming Guide for 64-bit Virtual Addressing Mode SA38-0689-00 |
|
Scenario 2 is much the same as scenario 1, except that routine B has a user-written exception handler established to handle the divide-by-zero condition. Refer to Figure 1 throughout the following scenario. Figure 1. Scenario 2:
Division by zero with a user handler present in routine B
The handler established by routine B is designed to deal with divide-by-zero and possibly other conditions that occur either during its execution or in the routines that it calls. For a divide-by-zero condition, the handler is to print a message and continue processing.
|
Copyright IBM Corporation 1990, 2014
|