OpenTP1 Version 7 Programming Reference COBOL Language
Create a stub for the XATMI from the created XATMI interface definition file.
Before creating a stub, create a file (XATMI interface definition file) in which information about the XATMI interface is defined, and then execute one of the following stub creation commands:
Create stubs for the client and server UAPs in the following way:
The following three files are created by executing the stbmake command (xxxxx is the XATMI interface definition file name minus the suffix.def):
The XATMI stub source file will be compiled with the C-language compiler and linked to the UAP object file.
The XATMI stub header file will be included in the UAP source file and XATMI stub source file.
The created XATMI stub copy file is invoked by the COPY statement from UAPs written in COBOL. It makes typed records available.
The name of an XATMI stub copy file is up to 255 characters long. Note, however, that a lower upper limit is used under some OSs.
The file name and the directory containing the file can be changed using appropriate command options.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.