Version 6.3.13 for Windows
 —  Parameter Reference  —

ZD - Zero-Division Check

This Natural profile and session parameter specifies the action to be taken when an attempt is made to perform a division operation in which the divisor is 0.

Possible settings ON Natural issues an error message if a division by 0 is attempted.
OFF Natural returns a result of 0 for any division operation in which the divisor is 0.
Default setting ON  
Dynamic specification yes  
Specification within session yes  
Applicable statements SET GLOBALS  
Applicable command GLOBALS  
Application programming interface USR1005N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Notes:

  1. Within a Natural session, the profile parameter ZD can be overridden by the session parameter ZD.
  2. Under Natural Security, the setting of this parameter can be overridden by the Session Parameters option of the Library Profile.

Top of page