OpenTP1 Version 7 Programming Reference COBOL Language
stbmake [-s [stub-source-file-name]] definition-file-name |
Creates a stub source file from the RPC interface definition file.
To create a UAP that will use both OpenTP1 remote procedure calls and the XATMI interface, see the explanation about the stbmake command in A. Using OpenTP1 Remote Procedure Calls and XATMI-interfaced API Functions in Combination.
Specify the pathname of the stub source file to be created. If no pathname is specified here, the source file name is the same as the RPC interface definition file name except that the suffix.def is replaced with _sstb.c and the source file is created in the current directory.
If a source file with the specified file name is already present, it is replaced with the created source file and is lost.
Specify the pathname of the RPC interface definition file.
The names of files that the stbmake command can take as input or create as output are up to 255 characters long. Note, however, that a lower upper limit is used under some OSs.
An example of using the stbmake command is given below.
stbmake test.def |
A stub source file test_sstb.c is created from an RPC interface definition file test.def in the current directory.
stbmake -s stub/test.c test.def |
A directory stub is created under the current directory and a stub source file test.c is created in the created directory.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.