Building the 3270 Client Samples

When you install Host Integration Server, all the 3270 client samples are built in a similar way, as described in this section. First, set the environment variables listed in the following table.

Variable Description
ISVLIBS The directory containing the Host Integration Server LIB files for Microsoft Windows.
ISVINCS The directory containing the Host Integration Server header files.
SAMPLEROOT The root directory where the sample code provided as part of the SDK has been installed on a local hard disk.

For example, after you copy the contents of the SDK to C:\SNASDK, use the following lines to set the variables:

ISVLIBS=C:\SNASDK\Lib  
ISVINCS=C:\ SNASDK\Include  
SAMPLEROOT=C:\SNASDK\Samples\SNA  

Next, run NMAKE on the .mak file in each subdirectory below this root directory containing the actual sample source code. For example, for APING and APINGD, change to the Samples\aping directory and type the following:

nmake -f makeping.mak