The following table lists the runtime options that are supported.
| Option | Description | Default | Abbreviation |
|---|---|---|---|
| CHECK | Flags checking errors | CHECK(ON) | CH |
| DEBUG | Specifies whether the COBOL debugging sections specified by the USE FOR DEBUGGING declarative are active | NODEBUG | None |
| ERRCOUNT | Specifies how many conditions of severity 1 (W-level) can occur before the run unit terminates abnormally | ERRCOUNT(20) | None |
| FILEMODE | Specifies whether DB2, SdU, and STL files created by COBOL for AIX programs have large-format or small-format internal representation, which determines the maximum size limit of these files | FILEMODE(LARGE) | FM(L|S) |
| FILESYS | Specifies the file system to use for files for which no explicit file-system selection is made, either through the ASSIGN clause or an environment variable | FILESYS(VSA) | FS(DB2|RSD|SdU|SFS| STL|VSA|VSAM) |
| TRAP | Indicates whether COBOL intercepts exceptions | TRAP(ON) | None |
| UPSI | Sets the eight UPSI switches on or off for applications that use COBOL routines | UPSI(00000000) | None |
Specify runtime options by setting the COBRTOPT runtime environment variable.
related tasks
Setting environment variables
Running programs
related references
Runtime environment variables