4 COBOL/MVS COMPILER OPTIONS
The standard options generated for the COBOL/MVS compiler are listed below.
APOST |
Indicates to the compiler that the apostrophe (') is acceptable as the character to delineate literals, and to use that character in the generation of figurative constants. |
BUFSIZE(4096) |
Specifies the amount of the SIZE parameter to be reserved for compiler data set buffers. |
DATA(31) |
(31) Above/below 16-megabyte line or from unrestricted storage. |
FLAG(I) |
Print all warning diagnostics as well as error diagnostics. |
LANGUAGE(EN) |
Indicates the output will be printed in mixed case English. |
LINECOUNT(60) |
Number of lines printed per page of source listing. |
NOADV |
The first byte must be reserved for the carriage control character for files with WRITE ADVANCING. |
NOAWO |
APPLY WRITE-ONLY clause will not be in effect. |
NOCMPR2 |
Generate code that conforms to COBOL 85 standards. |
NOCOMPILE(S) |
Causes normal compilation with both syntax checking and object code generation. |
NOCURRENCY |
Specifies that no alternate default currency symbol will be used; the default currency symbol is the dollar sign ($). |
NODBCS |
Will not cause the compiler to use X"OE" and X"OF" (SI) as shift codes. |
NODECK |
No object deck will be punched. |
NODUMP |
The compiler should produce an informative message rather than a dump if it encounters a D-level ("disaster") error condition during its processing. |
NODYNAM |
Indicates that subprograms will be link-edited with the calling program into a single load module. |
NOEVENTS |
Does not produce/update event files. |
NOEXIT |
Will not allow the compiler to accept user-supplied modules in the place of SYSIN, SYSLIB (or copy library), and SYSPRINT. |
NOFASTSRT |
Only conforms to the COBOL 85 Standard and does not allow DFSORT to perform input and output. |
NOFLAGMIG |
Non-ANSI 85 standard statements will not be flagged. |
NOFLAGSAA |
No COBOL/MVS System Application Architecture flagging. |
NOFLAGSTD |
Level or subset of COBOL will not be specified. |
NOLIB |
Indicates that no COPY or BASIS request will be part of the COBOL/MVS source input stream. If library facilities are to be used, LIB must be specified at compilation time. |
NOLIST |
Assembler Language listing of procedure division is not to be generated. |
NOMAP |
Glossary and global tables are not to be printed. |
NONAME |
Indicates that programs compiled in a batch environment will be link-edited into a single load module. |
NONUMBER |
Indicates that line numbers have not been recorded in the source text and that the compiler should generate source numbers for use with error messages as well as in LIST, OFFSET, XREF. |
NOOFFSET |
Condensed listing of PROCEDURE DIVISION is not to be listed. |
NOOPTIMIZE |
Indicates that optimized object code is not to be generated. |
NORENT |
Generates a non-reentrant object module. |
NOSSRANGE |
Will not generate code to check subscript. |
NOTERM |
Indicates that progress and diagnostic messages are not to be printed on the SYSTERM terminal data set. |
NOTEST |
Indicates that the program cannot be debugged at the terminal using the Interactive Debug Facility. |
NOVBREF |
A brief summary/cross reference of verbs used in the source program and a count of how often each verb appeared will not be provided. |
NOWORD |
Does specify alternate reserved word table. |
NOXREF |
A sorted cross-reference of data and procedure names is not to be listed. |
NUMPROC(PFD) |
Bypasses invalid sign processing. |
OBJECT |
Places generated object code on disk or tape to be later used as input for the Binder. |
OUTDD(SYSOUT) |
Indicates that SYSOUT is the ddname of the file to be used for debug output and for data when SYSOUT is specified, either implicitly or explicitly, in a DISPLAY statement. |
SEQUENCE |
Compiler will check card sequence of source module. |
SIZE(1024000) |
Specifies the amount of main storage available to the compiler. |
SOURCE |
Source module is to be listed. |
SPACE(1) |
Single space compiler listing. |
TRUNC(OPT) |
Applies to the movement of COMPUTATIONAL arithmetic fields. When NOTRUNC is specified, movement of items is dependent on the size of the field (halfword, fullword). |
ZWB |
Instructs the compiler to strip the sign from a signed external decimal field when comparing this field to an alphanumeric field. If ZWB is specified, the signed external decimal field is moved to an intermediate field, in which its sign is removed before it is compared to the alphanumeric field. NOZWB should be used when, for example, input numeric fields are to be compared with spaces. |
For further information on the above options and possible other options, refer to the IBM COBOL for MVS & VM Programming Guide, SC26-4767.
If any options are to be changed, the user must specify them in the EXEC statement. The OPTIONS symbolic parameter may be used in place of the PARM parameter. The use of the OPTIONS symbolic parameter is illustrated in the examples in this manual.
For those who must override or augment the cataloged procedures, the stepnames used in the procedure are given in each section.