Ch 1. Part I Conversion Series 1 IBM/370 Mainframe Compatibility [ COBOL/HP-UX Compatibility Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation
COBOL/HP-UX Compatibility Guide for the Series 700 and 800
Chapter 1 Part I Conversion Series 1 IBM/370 Mainframe Compatibility
Configuring your COBOL System
The COBOL language supported by this system includes certain extensions
which allow you to submit source programs written in IBM SAA AD/Cycle
COBOL/370 directly to this 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:
NOMF
OSVS
NOANS85
NOBOUND
ASSIGN(EXTERNAL)
for VS COBOL II Release 3, you set:
NOMF
NOOSVS
NOANS85
NOBOUND
ASSIGN(EXTERNAL)
VSC2(3)
for VS COBOL II Release 1.1 or Release 2, you set:
NOMF
NOOSVS
NOANS85
NOBOUND
ASSIGN(EXTERNAL)
VSC2(2)
and for VS COBOL II Release 1, you set:
NOMF
NOOSVS
NOANS85
NOBOUND
ASSIGN(EXTERNAL)
VSC2(1)
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 facility. They are:
PERFORM-TYPE(OSVS)
IBMCOMP
NOTRUNC
All of the above directives are detailed in your COBOL SystemReference.
MPE/iX 5.0 Documentation