Changes in IBM® Enterprise COBOL for z/OS®, Version 5 Release 2 with PTFs installed

New, changed, and removed compiler options

  • The following compiler options are new:
    • PI40822: ZONECHECK
    • PI69197: INITCHECK
    • PI81006: NUMCHECK
    • PI85868: VSAMOPENFS
  • The following compiler options are modified:
    • PI40853: ZONEDATA: New suboption of NOPFD is added to the ZONEDATA compiler option. ZONEDATA=NOPFD lets the compiler generate code that performs comparisons of zoned decimal data in the same manner as COBOL V4 does when using NUMPROC=NOPFD|PFD with COBOL V4.
    • PI53044: SSRANGE: New suboptions ZLEN and NOZLEN are added to the SSRANGE compiler option to control how the compiler checks reference modification lengths.
    • PI86343: SSRANGE: New suboptions MSG and ABD are added to the SSRANGE compiler option to control how the compiler checks reference modification lengths.
    • PI90458: ZONEDATA: The ZONEDATA option is updated to affect the behavior of MOVE statements, comparisons, and computations for USAGE DISPLAY or PACKED-DECIMAL data items that could contain invalid digits, an invalid sign code, or invalid zone bits.
    • PI97835: NUMCHECK(PAC): For packed decimal (COMP-3) data items that have an even number of digits, the unused bits are checked for zeros.
    • PH01241: NUMCHECK(ZON): New suboptions ALPHNUM | NOALPHNUM are added to the NUMCHECK(ZON) option to control whether the compiler will generate code for an implicit numeric class test for zoned decimal data items that are being compared with an alphanumeric data item, alphanumeric literal or alphanumeric figurative constant.
  • The following compiler option is removed:
    • PI81006: ZONECHECK is deprecated and can no longer be specified in IGYCDOPT. NUMCHECK=(ZON) gives the same results as ZONECHECK used to.