Enabling Windowing Support [ Micro Focus COBOL System Reference, Volume 2 ] MPE/iX 5.0 Documentation
Micro Focus COBOL System Reference, Volume 2
Enabling Windowing Support
In order to use the windowing syntax, you must use the PREPROCESS
"WINDOW1" Compiler directive. You can specify this Compiler directive in
one of two ways:
* In your source file using the following line:
$SET preprocess"window1"
* From the command line using the following command:
cob -C preprocess=window1 prog.cbl
Note that window1 must be lower case.
This directive must be the last Compiler directive apart from NOERRQ.
When an error is encountered, the Compiler asks if you wish to continue,
and waits for your response. In order to disable this function, you must
specify the NOERRQ directive after PREPROCESS "WINDOW1".
If you create a new RTS that is to make use of windowing syntax you must
include the -I COBWIN1 flag on the command line. The following is an
example of a command line you could use to create a new RTS to include
windowing support:
cob -x -I COBWIN1 -o rts.new
See the appendix Descriptions of cob Flags for more information on the
use of the -I cob flag.
MPE/iX 5.0 Documentation