HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

Sample CPI-C Transaction Programs
Testing the TPs
Chapter 4 323
Step 4. Configure a symbolic destination name on the source computer. Do the
following:
•For
Name
, specify CPICTEST
•For
Local LU
, select
Local
LU alias
and specify TPLU1 as the LU alias.
•For
Partner LU
, specify the fully-qualified name
netname
.TPLU2,
where
netname
is the SNA network name of the target computer.
•For
Mode
, specify LOCMODE.
•For
Partner TP
, specify TPNAME2.
Leave the default values for other parameters.
Step 5. Configure an LU on the target computer for CSAMPLE2 (the invoked
program). Specify TPLU2 as both the LU name and LU alias. Leave the
default values for the other parameters.
Step 6. Configure the invoked TP in the SNAplus2 invokable TP data file on the
target computer. Refer to the SNAplus2 Administration Guide for more
information.
For the
TP name
parameter, specify TPNAME2 (the name specified by
the invoking TP).
•For
Full path to TP executable
, enter the full path name of the
executable file csample2.
For the
User ID
parameter, specify your HP-UX user ID on the
target computer.
Leave the default values for other parameters.
Step 7. Start the SNAplus2 software using this configuration file.
Step 8. Set the following environment variables:
APPCLLU to TPLU1 (the name of the local LU for csample1)
APPCTPN to TPNAME1
Step 9. Start the invoking program, csample1. This program requires one
parameter, the full path name (on the target computer) of the file to be
displayed. For example: