If you compile with ZWB, the compiler removes the sign from a signed zoned decimal (DISPLAY) field before comparing this field to an
alphanumeric elementary field during execution.
ZWB option syntax

Default is: ZWB
Abbreviations are: None
If the zoned decimal item is a scaled item (that is, it contains the symbol P in its PICTURE string), its use in
comparisons is not affected by ZWB. Such items always have their sign removed before the comparison is made to an
alphanumeric field.
ZWB affects how a program runs. The same COBOL source program can give different results, depending on this option
setting.
Use NOZWB if you want to test input numeric fields for SPACES.
© Copyright IBM Corp.