Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.28 KB

building-the-3270-client-samples1.md

File metadata and controls

30 lines (25 loc) · 1.28 KB
description title ms.custom ms.date ms.service ms.reviewer ms.suite ms.topic
Learn more about: Building the 3270 Client Samples
Building the 3270 Client Samples1
11/30/2017
host-integration-server
article

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