OpenTP1 Version 7 Programming Guide
This subsection explains the procedure for compiling and linking created programs. The UAP is compiled and linked into an executable file. For details on the compilation and linkage procedure, see the applicable OpenTP1 Programming Reference manual.
The following programs must be compiled:
Use the C language compiler to compile source programs written in C and the COBOL language compiler to compile source programs written in COBOL.
Compiled object files are linked to the OpenTP1 library and other necessary files. If a non-OpenTP1 resource manager is used, it must be linked to the library specified by the non-OpenTP1 resource manager. To use a non-OpenTP1 resource manager with the XA interface, link the library to the UAP by performing the following steps:
If the OS is HP-UX, the bind mode for linkage must be specified as immediate. If an executable file created in another mode is used as an OpenTP1 UAP, the system operation is unpredictable. To check that the bind mode of the created UAP is immediate, use the chatr command of the OS.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.