Why is an 0CB ABEND occurring under CA EZT release 11.6?
search cancel

Why is an 0CB ABEND occurring under CA EZT release 11.6?

book

Article ID: 14907

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Upgrade difference from CA Easytrieve 6.4 or CA Easytrieve r11.6-C mode to CA Easytrieve release 11.6.

0CB ABEND is occurring on a 'divide by zero' condition under true release 11.6.

Environment

CA Easytrieve Report Generator, release 11.6

Resolution

S0CB or S0C9 abend is caused by a 'divide by zero' condition. 

A divide by 0 should have never been allowed, but release 6.4 did not abend as it should have.
Uncle CA Easytrieve release 11.x, the checking is much stricter. 

Adding in a check for "dividing" field being greater than zero prevents abend.

Example:
IF fieldname LE 0
   .......