32-bit Environments [ Micro Focus COBOL for UNIX COBOL User Guide ] MPE/iX 5.0 Documentation
Micro Focus COBOL for UNIX COBOL User Guide
32-bit Environments
OS/2 v2.x
OS/2 v2.xz Emulation of DOS.
OS/2 v2.x can run both DOS and OS/2 v1.x executable files. When it
encounters a dual- mode .exe file with DOS and OS/2 as the two modes (for
example your COBOL system), it selects OS/2 by default. To select the
DOS emulation mode you must either start a DOS session before running the
.exe file or you must use the /dos flag when running the file from an
OS/2 session.
For example, if you are running in an OS/2 session and wish to Animate a
COBOL program that makes explicit calls to DOS system routines, then you
need to Animate with the command:
animate /dos prog
Windows NT
Windows NT Emulation of DOS.
Windows NT can emulate both DOS and OS/2. When it encounters a dual-
mode .exe file with DOS and OS/2 as the two modes, for example your COBOL
system, then it selects OS/2 emulation by default. To select the DOS
emulation mode you must use the Windows NT FORCEDOS command (see your
Windows NT system manuals or online documentation for details).
For example, if you are running under Windows NT and wish to Animate a
COBOL program that makes explicit calls to DOS system routines, then you
need to Animate with the command:
forcedos animate prog
Windows NT Emulation of OS/2.
Windows NT automatically runs a dual-mode .exe file that includes OS/2 as
an OS/2 session. No special action is required.
UNIX
Some UNIX versions that run on one of the Intel 80x86 family of
processors provide DOS or Windows emulation. For any DOS emulation, a
primary concern is likely to be whether XM can be configured to run
correctly. Without XM, the 640 Kbyte memory limit of DOS might be a
severe restriction.
MPE/iX 5.0 Documentation