Table 1 describes the Language Environment runtime options that are highly recommended for existing non-CICS COBOL applications. For a complete list of Language Environment runtime options, see Language Environment Programming Reference.
| Option | LanEnv default setting | Recommended COBOL setting | Comments |
|---|---|---|---|
| ABTERMENC | ABEND | ABEND | ABTERMENC(ABEND) ensures that
your application ends with an abend after an abend, program check or severe
error occurs, similar to the way OS/VS COBOL and VS COBOL II would end after
a problem. For additional VS COBOL II runtime messages considerations, see Abend codes. To obtain a system dump, see Obtaining a system dump or a CICS transaction dump. |
| CBLOPTS | ON | ON | CBLOPTS(ON) allows the existing COBOL format of the invocation character string to continue working (user parameters followed by the runtime options). This option affects only applications with COBOL as the main program. |
| CBLQDA | OFF | OFF | CBLQDA(OFF) suppresses QSAM dynamic allocation for files not available when OPEN OUTPUT, OPEN I-O (optional file), or OPEN EXTEND (optional file) statements are directed to a QSAM file. CBLQDA(OFF) behavior is compatible with programs compiled with OS/VS COBOL, VS COBOL II, Release 2, and VS COBOL II, Release 3, and later compiled with CMPR2, as well as any VS COBOL II NOCMPR2 programs running under VS COBOL II run time with the ZAP from APAR II04562 applied to IGZEQOC. CBLQDA(ON) conforms to the COBOL 85 Standard. |
| RTEREUS | OFF | OFF | RTEREUS is not recommended as
an installation default. If you do use RTEREUS, use it for specific applications
only and make sure that you understand the possible side effects and restrictions,
for example:
|
ANYHEAP |
These runtime options help you manage storage. For STACK, if any program in your application is running AMODE 24, specify the suboption BELOW (and also specify ALL31(OFF)). If all of the programs in your application are AMODE 31, specify the suboption ABOVE (and also specify ALL31(ON)). On COBOL, the recommended setting for STACK is 64K, 64K, BELOW, KEEP when you use ALL31(OFF) and 64K, 64K, ANY, KEEP when you use ALL31(ON). | ||
| TERMTHDACT | TRACE | UADUMP |
Use TERMTHDACT(UADUMP), TERMTHADACT(UATRACE), or TERMTHDACT(UAONLY) to receive a system dump under Language Environment when the environment is terminating due to a severe error (for example, a program check or abend). Alternatively, use an abnormal termination exit. See, Obtaining a system dump or a CICS transaction dump for details. |
| TRAP | ON | ON | TRAP specifies how Language Environment routines handle abends and program checks. In order for applications to run successfully, you must specify TRAP(ON). TRAP(ON) also enables Language Environment to support the existing condition-handling mechanisms provided by both VS COBOL II (STAE runtime option) and OS/VS COBOL (STATE, FLOW, COUNT, and SYMDMP debugging options). |