Skip to main content

Bleed through on string function behavior

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

In the documentation the Dialect COBOL370 and OS390 show the compiler option  HOST-NUMCOMPARE

To expand on the the meaning of the following associated directives...

HOST-NUMCOMPARE"1"

HOST-NUMCOMPARE"2"

NOHOST-NUMCOMPARE

HOST-NUMCOMPARE

Resolution:

HOST-NUMCOMPARE is actually the same as HOST-NUMCOMPARE"2"...

HOST-NUMCOMPARE"1" is an earlier version and is deliberately no longer documented. It is still supported for some customers who came to rely on its semantics, however support for HOST-NUMCOMPARE(1) may be withdrawn in a future product.

All new code that wants compatibility with IBM mainframe for comparisons should use HOST-NUMCOMPARE.

NO HOST-NUMCOMPARE is the default setting.

Old KB# 5328

0 replies

Be the first to reply!