OpenTP1 Version 7 Tester and UAP Trace User's Guide
Figure 12-1 shows the procedure for creating a UAP execution format program with the RPC or XATMI interface.
Figure 12-1 Procedure for creating UAP execution format program with the RPC or XATMI interface
To create the stub source program for creating a UAP execution format program with an RPC or XATMI interface, use the stbmake command with an RPC (or XATMI) interface definition file. See the manual OpenTP1 Programming Guide for details on the stbmake command.
The following examples show how to generate stubs.
stbmake spp1stb.def 1. |
stbmake -x spp1stb.def 1. |
After generating the stubs, compile the stubs and UAP (C or COBOL). Use the header file provided by TP1/Server Base.
After compilation, link the stub object file and UAP object file to the simulation functions library provided by the offline tester.
Figure 12-2 shows the procedure for creating a UAP execution format program with a TxRPC interface.
Figure 12-2 Procedure for creating UAP execution format program with the TxRPC interface
To create the client stub or server stub source program or server UAP templates for creating a UAP execution format program with the TxRPC interface, use the OpenTP1 txidl command with the Interface Definition Language (IDL) file. See the manual OpenTP1 Programming Guide for details on the txidl command.
The following example shows how to create stubs and a template.
txidl spp1.idl 1. |
After generating the files, code the UAP based on the template and then compile the stubs and UAP (C). Use the header file provided by OpenTP1. See the manual OpenTP1 Programming Reference C Language for how to create the UAP.
After compilation, link the stub object file and UAP object file to the simulation functions library provided by the offline tester. For a client UAP, link the client stub object file. For a server UAP, link the server stub object file.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.