HP 3000 Manuals

COBOPT [ Micro Focus COBOL System Reference, Volume 2 ] MPE/iX 5.0 Documentation


Micro Focus COBOL System Reference, Volume 2

COBOPT 

Can either contain options which supplement or override the system-wide
default Compiler and Native Code Generator options as defined in the file
$COBDIR/cobopt, or it can specify the path of a file which contains such
options.  If you use COBOPT to point to such a file, this file must be in
the same format as $COBDIR/cobopt.  See the chapter COBOL System 
Interface (cob) for details.

Syntax: 

     COBOPT="[SET environment-variable=value...]
     [any-cob-command-line-option]"
     export COBOPT

Parameters: 

environment-        is any environment variable supported by your Micro
variable            Focus COBOL system.

value               is the value to which you wish to set the specified
                    environment variable.

Example: 

      COBOPT="-C ANS85
     CPBCPY=$COBDIR/srclib/:$HOME/mylib: :"
     export COBOPT

This enables ANSI '85 standard COBOL syntax and sets COBCPY to the
specified path.



MPE/iX 5.0 Documentation