The Transport™ Migration Toolset
COBOL
Overview
Before HP3000 COBOL source code may be compiled under UNIX (using MicroFocus COBOL), some minor modifications are necessary.
During the migration, an automated tool process each source file, expanding macros (though macro expansion can be delayed until compilation if desired), and creating a source file with changes required for a successful compliation on Unix.
The volume of changes is low and each is marked with an identifer for easy review. The primary changes are the addition of process handing routines at the start and end of the program as well as cleaning up calls to option-variable intrinsics.
XL routines are merged with the MicroFocus runtime environment and linked with Transport™ run-time library routines to provide intrinsic support as well as integration the Oracle or Informix.
Features
Here is a partial list of the features of our COBOL translator:
- The COBOL file handler is intercepted to provide transparent access to the Transport™ file library, thereby providing the expected support environment of file equates, temporary domain support, etc.
- References to the special Name CONDITION-CODE is supported.
- KSAM-based COPY libraries are extracted into a flat file format
- Allow the FD name of a file to be passed to file intrinsics
- Return the correct format for TIME-OF-DAY and CURRENT-DATE calls.
- Special consideration for calling intrinsics when on a "low-endian" machine
- Pseudo-intrinsic support for .LEN. and .LOC.
- The code is completely readable and can be easily maintained
- Plus much more...

