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

Version 6 Release 2 with PTFs installed
New, changed, and removed compiler options
- The following compiler options are new:
- PI97621:
ALOWCOPYLOC
(ALOWCOPYLOC) - PI97621:
ALOWDEFINE
(ALOWDEFINE) - PH05855:
INITIAL
(INITIAL)
- PI97621:
- The following compiler options are modified:
- PI90571:
ZONEDATA
: TheZONEDATA
option is updated to affect the behaviour ofMOVE
statements, comparisons, and computations forUSAGE DISPLAY
orPACKED-DECIMAL
data items that could contain invalid digits, an invalid sign code, or invalid zone bits. (ZONEDATA) - PI91585:
RULES
: New suboptionsOOM | NOOOM
are added to theRULES
option to control whether the compiler will issue warning messages for anyOCCURS DEPENDING ON
clauses that are specified without integer-1 (the minimum number of occurrences). (RULES) - PI91586:
RULES
: New suboptionsUNREF | NOUNRA | NOUNRS
are added to theRULES
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 suboptionsALPHNUM | NOALPHNUM
are added to theNUMCHECK=(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 theTEST=(NO,...,SEPARATE)
andTEST=(...,SEPARATE)
options to control whether the external file name, which is theSYSDEBUG
dataset name used during compilation, will or will not be stored in the object program. (TEST) - PH08642:
NUMCHECK
: Redundant checks previously added by theNUMCHECK
option have been removed, improving performance, and some checks can be done at compile time. SpecifyingNUMCHECK
may also cause the compiler to produce some messages at compile time instead of at runtime. (NUMCHECK) - PH09225:
INITCHECK
: TheINITCHECK
option can be specified withOPTIMIZE(0)
. (INITCHECK) - PH11667:
NUMCHECK(BIN)
:NUMCHECK(BIN)
will check for binary data items (COMP
,COMP-4
, andUSAGE BINARY
) even whenTRUNC(BIN)
is in effect. (NUMCHECK)
- PI90571:
CICS reserved word table (IGYCCICS) changes
- PI91589: New COBOL words are added to the CICS® reserved word table (IGYCCICS). (CICS reserved word table (IGYCCICS))


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 toAFP=NOVOLATILE
. (AFP)ARCH
: A new higher level ofARCH=12
is accepted.ARCH=7
is still the default. (ARCH)MAXPCF
: The default value is changed toMAXPCF=100000
to reflect the increased capacity of the V6 compiler. (MAXPCF)NOSTGOPT
: In earlier versions, data items can get optimized withOPT(2)
even whenNOSTGOPT
was in effect.NOSTGOPT
was changed in this version so that no optimization of storage or data items occurs even withOPT(2)
. This is especially helpful forWORKING-STORAGE
eye-catchers. (STGOPT)SSRANGE
: New suboptionsZLEN
andNOZLEN
are added to theSSRANGE
compiler option to control how the compiler checks reference modification lengths. (SSRANGE)TEST
: New suboptionsSEPARATE
andNOSEPARATE
are added to theTEST
compiler option to control program object size on disk while retaining debugging capability. In addition, new combinations of suboptions are supported in both theTEST
andNOTEST
compiler options, includingTEST(NODWARF)
,TEST(SEPARATE)
, andNOTEST(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 asZONECHECK
used to. (ZONECHECK)
