Obsolete Features [ HP COBOL II/XL Migration Guide ] MPE/iX 5.0 Documentation
HP COBOL II/XL Migration Guide
Obsolete Features
This section lists features that were available for COBOL II/V but are no
longer relevant for COBOL II/XL. For required program conversion changes
and more details, refer to the "Conversion of Obsolete Features" section
in Chapter 3. This section specifically describes the program changes
you may have to make because of obsolete features. The changes are
listed in the same order as they are in this section.
1. No performance gain is achieved by including segment numbers after
section names. (You can, however, leave them in for documentation
or compatibility reasons.) The rules regarding ALTERable GO TO
statements and sections have not changed, however, and are still
in effect.
2. The following $CONTROL options are obsolete for COBOL II/XL:
ANSIPARM
BIGSTACK
SORTSPACE
USLINIT
ANSIPARM, BIGSTACK and SORTSPACE do not affect programs in which
they are used. The compiler issues a questionable error message
and ignores these options. If a program contains USLINIT, it is
accepted but assumed to be an RLINIT option.
3. Multiple PERFORM statements that exit at a common exit point may
cause run-time errors in COBOL II/XL. Using this construct may
cause run-time errors due to internal data structure overflow.
You can detect this error by specifying $CONTROL BOUNDS.
4. Using GO TO statements to leave PERFORMed paragraphs without
returning to the paragraph may cause run-time errors in COBOL
II/XL.
5. The COBOLLOCK and COBOLUNLOCK procedures are not available in
native mode.
6. COBOL II/XL no longer converts leading blanks to zeros nor does it
perform validation of digits by default.
7. The identifier parameter of the CALL statement (CALL identifier)
can no longer be numeric.
8. The identifier parameter of the CALL statement can no longer be
used to reference intrinsics.
MPE/iX 5.0 Documentation