Summary of changes

This section lists the key changes that have been made to this document Start of changefor Enterprise COBOL Version 6 Release 2 and Version 6 Release 2 with PTFs installedEnd of change. Start of changeThe latest technical changes are marked within >| and |< in the HTML version, or marked by vertical bars (|) in the left margin in the PDF version.End of change

Start of change

Version 6 Release 2 with PTFs installed

New, changed, and removed compiler options

  • The following compiler options are new:
  • The following compiler options are modified:
    • PI90571: ZONEDATA: The ZONEDATA option is updated to affect the behaviour 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. (ZONEDATA)
    • PI91585: RULES: New suboptions OOM | NOOOM are added to the RULES option to control whether the compiler will issue warning messages for any OCCURS DEPENDING ON clauses that are specified without integer-1 (the minimum number of occurrences). (RULES)
    • PI91586: RULES: New suboptions UNREF | NOUNRA | NOUNRS are added to the RULES option to control whether the compiler will report unreferenced data items, and to control whether the reporting is done only for data items not declared in a copy member (NOUNRS) or all data items (NOUNRA). (RULES)
    • PI96135: NUMCHECK(PAC): For packed decimal (COMP-3) data items that have an even number of digits, the unused bits are checked for zeros. (NUMCHECK)
    • PI98480: 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. (NUMCHECK)
    • PH04369: RULES=(NOEVENP) will not issue messages for even-digit PACKED-DECIMAL data items whose names start with DFH, DSN, EYU or SQL, that is, data items generated for/by CICS and Db2. (RULES)
    • PH04485: New suboptions DSNAME | NODSNAME are added to the TEST=(NO,...,SEPARATE) and TEST=(...,SEPARATE) options to control whether the external file name, which is the SYSDEBUG dataset name used during compilation, will or will not be stored in the object program. (TEST)
    • PH08642: NUMCHECK: Redundant checks previously added by the NUMCHECK option have been removed, improving performance, and some checks can be done at compile time. Specifying NUMCHECK may also cause the compiler to produce some messages at compile time instead of at runtime. (NUMCHECK)
    • PH09225: INITCHECK: The INITCHECK option can be specified with OPTIMIZE(0). (INITCHECK)
    • PH11667: NUMCHECK(BIN): NUMCHECK(BIN) will check for binary data items (COMP, COMP-4, and USAGE BINARY) even when TRUNC(BIN) is in effect. (NUMCHECK)

CICS reserved word table (IGYCCICS) changes

End of change
Start of change

Version 6 Release 2

New, changed, and removed compiler options

  • The following compiler options are new:
  • The following compiler options are modified:
    • AFP: The default value is changed to AFP=NOVOLATILE. (AFP)
    • ARCH: A new higher level of ARCH=12 is accepted. ARCH=7 is still the default. (ARCH)
    • MAXPCF: The default value is changed to MAXPCF=100000 to reflect the increased capacity of the V6 compiler. (MAXPCF)
    • NOSTGOPT: In earlier versions, data items can get optimized with OPT(2) even when NOSTGOPT was in effect. NOSTGOPT was changed in this version so that no optimization of storage or data items occurs even with OPT(2). This is especially helpful for WORKING-STORAGE eye-catchers. (STGOPT)
    • SSRANGE: New suboptions ZLEN and NOZLEN are added to the SSRANGE compiler option to control how the compiler checks reference modification lengths. (SSRANGE)
    • TEST: New suboptions SEPARATE and NOSEPARATE are added to the TEST compiler option to control program object size on disk while retaining debugging capability. In addition, new combinations of suboptions are supported in both the TEST and NOTEST compiler options, including TEST(NODWARF), TEST(SEPARATE), and NOTEST(DWARF,SOURCE). (TEST)
  • The following compiler option is removed:
    • ZONECHECK is deprecated and can no longer be specified in IGYCDOPT. NUMCHECK=(ZON) gives the same results as ZONECHECK used to. (ZONECHECK)
End of change