Purpose
Specifies the input and target COBOL compiler code.
Usage Notes
The default value for VERSION is COBOL.
This option is valid only with the COBOL precompiler, PPBMAIN.
PPBMAIN accepts all of the following as valid VERSION COBOL compilers. It flags all other values as errors.
Compiler Name | Description |
---|---|
COBOL | COBOL at the COBOL 74 level, as exemplified by the IBM dialects OS/VS COBOL and OS Full ANSI COBOL Version 3 and 4. The abbreviation for COBOL is COB. |
COBOLII | IBM dialect VS COBOL II. VS COBOL II contains significant language extensions over OS/VS COBOL and generally supports COBOL at the COBOL 85 level. PP2 output listing will show COBOLII. The abbreviation for COBOLII is COBII. |
COBOL3 | IBM COBOL for z/OS. PP2 output listing will show COBOL for z/OS. The abbreviation for COBOL3 is COB3. |
MF1 | Micro Focus COBOL 85 compiler in byte storage mode (compiler option NOIBMCOMP). |
MF2 | Micro Focus COBOL 85 compiler in word storage mode (compiler option IBMCOMP). |
LPI | LPI COBOL 85 compiler. |