OpenTP1 Version 7 Programming Reference COBOL Language

[Contents][Index][Back][Next]

1.2.3 Creating stub source file

To create the source file of the stub, execute the stbmake command with the RPC interface definition file name as the argument.

Organization of this subsection
(1) File created by stbmake command

(1) File created by stbmake command

When the stbmake command is executed, the following file is created (xxxxx is the RPC interface definition file name minus the suffix.def).

The name of the source file can be changed using an option to the command.

The name of a source file is up to 255 characters long. Note, however, that a lower upper limit is used under some OSs.

Compile the stub source file with the C-language compiler and link it with the UAP object file.