Sample programs
Sample code is provided in the \API directory for workstations with
the TPF Operations Server installed. The following sections
describe how various C++, REXX, and Java™ programs can be used
as utility or automation programs.
C++ sample code
C++ sample code includes project files for Microsoft Visual Studio 2005 Version 8.
REXX sample code
The rexxclient.rex sample uses REXX APIs to create a simple DOS Windows-based client for interacting with the TPF Operations Server and the host. It spins off a separate thread to receive messages and to print them to STDOUT.
Java sample code
The com.ibm.tpf.etos.sample.CommandLineClient sample uses the Java APIs to create a simple DOS Windows-based client for interacting with the TPF Operations Server and the host. Sample configuration files are also included. The compiled class is located in the GUI Console tree, in the appropriate directory corresponding to the package name.