Preventing DHxx abends after EXEC DLI SCHD PSB failure

When a PSB schedule request fails (for example, because a database is unavailable), CICS® abends the transaction with a DHxx abend code.

In a production system, PSB schedule request failures are more likely to be caused by unavailability of a database than by application coding errors, which means that users may see DHxx abends unnecessarily.

To prevent this happening, you can use the EXEC DLI SCHD PSB keyword, NODHABEND, which specifies that no DHxx abends are issued for that PSB schedule request. Instead, the xx value is returned to the application program in DIBSTAT, enabling the application to deal with the situation in a more user-friendly way, and avoiding the need to code global HANDLE ABENDs (EXEC DLI does not support HANDLE CONDITION). When you use this keyword, CICS also informs z/OS® Workload Manager that the request has failed, in order to avoid the storm drain effect. For more information, see Avoiding the storm drain effect.



dfht43r.html | Timestamp icon Last updated: Monday, 5 June 2017