Portable Mainframe COBOL Options and File Types
z390 and zcobol options include the following:
Command Line options for zCOBOL Compiler
To turn off an option that is on, prefix the option name with
NO on command line or in OPT options file.
options from free form text file with default suffix OPT.
Options can be specified delimited by spaces on as many lines
as requires. All characters on a line following * are
ignored as comments. The @file option can be nested. The
default path is the program path.
||Parse COBOL EXEC
CICS commands into z390 EXEC CICS compatible macro calls and
also rename working storage to DFHEISTG.
comments showing original COBOL statement preceding each macro
||Support up to 31
digits for DISPLAY (Z) and COMP-3
(P) type data items rather than limiting precision to ANSI
1985 standard of 18.
||Set type of
floating point for usage FLOAT-SHORT, FLOAT-LONG, and
FLOAT-EXTENDED. The choices are FLOAT(HEX) for
Hexidecimal Floating Point (HFP) like COMP-1 and
COMP-2, FLOAT(BINARY) for Binary Floating Point (BFP), or the
default FLOAT(DECIMAL) for Decimal Floating Point (DFP).
||Generate 64 bit
instructions for the 16 GPR registers where appropriate.
NOR64 restricts code generation to only use lower 32 bits of
16 GPR registers as required by z/VSE and some other operating
environments. (Note option TRUNC and NOR64 results in
use of DXR instead of DGR which is more efficient.)
display of paragraph name at entry to each new paragraph in
procedure division. This provides high level trace as
opposed to using the z390 TRACE(E) option which generates
instruction level trace.
data types F, G, and H to specified number of digits in
||Generate level 4
MNOTE warnings from zcobol macros
- Options are passed to the zcobol macro stage via CBL macro
call with the options defined as positional parameters
zCOBOL File Types
or Report Format Description
sequence #, 7 Comment if not space, 8-11 area A, 12-72 area B
assembler source program generated by phase 1 of the zcobol
compiler which uses zcobol.class regular expression based
parser in z390.jar to read CBL source file and create MLC
source file in one pass.
call. for each COBOL statement starting in area A and for each
COBOL verb found in area B. Working storage data items
are mapped to WS macro call with level as first parameter.
Each macro call name is followed by positional
parameters found following verb up to next verb or period.
Periods are mapped to PERIOD macro call. Parameters of
the form keyword(..) are passed as single parameter.
Other ( and ) are passed as separate parameter in quotes.
compatible source code generated by phase 2 of the zCOBOL
compiler when using ZC390C or ZC390CLG commands.
compatible source statements generated by the
zcobol+zcobol\z390 macros during expansion of the generated
Java compatible source program file generated by phase 2 of
the zCOBOL compiler when using ZCJAVC or ZCJAVCLG commands.
source statements generated by the zcobol+zcobol\java macros
during expansion of the generated MLC file.
Visual Express C compatible source program file generated by
phase 2 of the zCOBOL compiler when using ZCVCEC or ZCVCECLG
Visual Express C compatible source statements generated by the
zcobol+zcobol\vce macros during expansion of the generated MLC
HLA/MASM compatible source program file generated by phase 2
of the zCOBOL compiler when using ZC586C or ZC586CLG commands.
HLA/MASM compatible source statements generated by the
zcobol+zcobol\i586 macros during expansion of the generated
IBM, CICS, HLASM, MVS, OS/390, VSAM, z9, z10, and z/OS
are registered trademarks
of International Business Machines Corporation
This page last updated
Wednesday April 15, 2009.
Copyright 2009 Automated Software Tools Corporation