OpenTP1 Version 7 Programming Guide
This subsection explains the preparation procedure common to three OpenTP1 samples (Base, DAM, and TAM samples).
Install OpenTP1 products (TP1/Server Base, TP1/FS/Direct Access, and TP1/FS/Table Access) before using these samples. The OpenTP1 administrator is responsible for this work. The procedure so far is the same as the ordinary OpenTP1 setup procedure.
Specify an OpenTP1 home directory in the environment variable DCDIR.
% setenv DCDIR /usr/betran <CR> |
Add a search path for OpenTP1 commands and a search path for sample-serving tools to be used with samples to the OpenTP1 administrator's command search path.
If the OpenTP1 home directory was changed to a directory other than /BeTRAN in step (1), copy a set of OpenTP1 samples into the environment of the OpenTP1 home directory. If the OpenTP1 home directory is unchanged, copying is not needed. For copying, use the cp, tar, or other similar command.
Before copying, make sure that the OpenTP1 home directory is configured as shown in 8.1.2 Sample program directory configuration. Otherwise, the operation is unpredictable.
% cp -R /BeTRAN/examples $DCDIR <CR> |
An environment that allows the OpenTP1 samples to be used is now established.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.