HP 3000 Manuals

Ch 16. H2cpy [ Micro Focus COBOL System Reference, Volume 1 ] MPE/iX 5.0 Documentation


Micro Focus COBOL System Reference, Volume 1

Chapter 16  H2cpy 

The H2cpy ("header to copy") utility program translates C-language header
files into their COBOL-equivalent COPY-files.  Its principal use is to
simplify COBOL programming when using system libraries whose basic
definitions are provided only for C programs.  Typical examples are
interfaces to OS/2, OS/2 Presentation Manager, Windows API, UNIX TP
systems (such as Tuxedo) and various relational databases for UNIX. You
can also use H2cpy when rewriting C programs for COBOL (although H2cpy
does not translate every type of entry that could appear in a C header
file).

The split78 utility helps you manage the COPY-files created by H2cpy.



MPE/iX 5.0 Documentation