HP 3000 Manuals

Configuring your COBOL System [ Micro Focus COBOL Compatibility Guide ] MPE/iX 5.0 Documentation


Micro Focus COBOL Compatibility Guide

Configuring your COBOL System 

Before submitting your IBM/370 COBOL programs to this COBOL system, you
must configure this system so that it emulates the behavior of IBM/370
COBOL. You can do this in one of two ways:

   *   Select the OS/VS COBOL or the appropriate VS COBOL II option from
       within the Setup utility when you install this COBOL system.  When
       you do this, a COBOL.DIR file is automatically created and
       contains the system directives for the dialect you specified in
       SETUP.

   *   Create a COBOL.DIR  
       file and set certain system directives according to which dialect
       you wish to use; that is, for OS/VS COBOL, you set:

       NOANS85

       NOCOBOL370

       NODG

       NODOSVS

       NOIBM-M

       NOMF

       NOMS

       NOPC1

       NORM

       NOSAA

       NOVSC2

       NOXOPEN

       NO01SHUFFLE

       NOFLAGSTD

       OSVS

       FLAG

       FLAGAS

       FLAGCD

for VS COBOL II Release 3, you set:

       NOANS85

       NOCOBOL370

       NODG

       NODOSVS

       NOIBM-MS

       NOMF

       NOMS

       NOOSVS

       NOPC1

       NORM

       NOSAA

       NOXOPEN

       NO01SHUFFLE

       VSC2

       FLAG

       FLAGAS

       FLAGCD

for VS COBOL II Release 1.1 or Release 2, you set:

       NOANS85

       NOCOBOL370

       NODG

       NODOSVS

       NOIBM-MS

       NOMF

       NOMS

       NOOSVS

       NOPC1

       NORM

       NOSAA

       NOXOPEN

       NO01SHUFFLE

       NOFLAGSTD

       VSC2

       FLAG

       FLAGAS

       FLAGCD

and for VS COBOL II Release 1, you set:

       NOANS85

       NOCOBOL370

       NODG

       NODOSVS

       NOIBM-MS

       NOMF

       NOMS

       NOOSVS

       NOPC1

       NORM

       NOSAA

       NOXOPEN

       NO01SHUFFLE

       VSC2

       FLAG

       FLAGAS

       FLAGCD.

See your COBOL System Reference for further details of the COBOL.DIR
file.

You may need to set several other directives to enable this COBOL system
to more closely imitate the behavior of mainframe programs.  You can
select these from the Setup program.  They are:

PERFORM-TYPE(OSVS) IBMCOMP NOTRUNC

All of the above directives are described in your COBOL System Reference.



MPE/iX 5.0 Documentation