Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Compiler and Runtime Migration Guide


New reserved words

You can use CCCA to convert the reserved words automatically. For more information about the CCCA tool, see Conversion tools for source programs.

CCCA is updated for reserved word conversions for Enterprise COBOL Version 4 by the PTF for APAR PK57361.

Table 35 shows the reserved words added to each subsequent release of COBOL. For a complete list of reserved words, see COBOL reserved word comparison.

Table 1. New reserved words, by compiler, as compared to VS COBOL II.
Compiler Reserved word
COBOL/370 V1R1 FUNCTION, PROCEDURE-POINTER
COBOL for MVS & VM V1R2 CLASS-ID, METACLASS, RECURSIVE, END-INVOKE, METHOD, REPOSITORY, INHERITS, METHOD-ID, RETURNING, INVOKE, OBJECT, SELF, SUPER, LOCAL-STORAGE, OVERRIDE
COBOL for OS/390 & VM V2R1 Same as COBOL for MVS & VM
COBOL for OS/390 & VM V2R2 COMP-5, COMPUTATIONAL-5, EXEC, END-EXEC, SQL, TYPE, FACTORY
COBOL for OS/390 & VM V2R2 with PQ49375 EXECUTE
Enterprise COBOL V3R1 JNIENVPTR, NATIONAL, XML, END-XML, XML-EVENT, XML-CODE, XML-TEXT, XML-NTEXT, FUNCTION-POINTER
Enterprise COBOL V3R4 NATIONAL-EDITED, GROUP-USAGE
Enterprise COBOL V4R1 AS, ATTRIBUTES, ELEMENTS, ENCODING, NAMESPACE, NAMESPACE-PREFIX, XML-DECLARATION, XML-NAMESPACE, XML-NAMESPACE-PREFIX, XML-NNAMESPACE, XML-NNAMESPACE-PREFIX

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)