Pathway/iTS TCP and Terminal Programming Guide

Writing User Conversion Procedures
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide426751-001
4-3
Coding the User Conversion Procedures and
Creating the User Library
2. Compile the source using pTAL as follows:
user-conversion-object
is a pTAL object file.
3. Remove all compilation errors.
4. Build the user library using the nld utility as follows:
user-conversion-object
is a pTAL object file.
$
volume
is the volume where the installation subvolume ZPATHWAY resides.
native-user-library
is the native user library object file used by the TCP.
Using the MAKEUL Macro
A Compaq Tandem Advanced Command Language (TACL) macro called MAKEUL is
provided to facilitate the process of creating the user library. If you are using MAKEUL,
perform the following two steps instead of the four steps described in the previous
subsection:
1. Copy the files SLIB, ILIB, and TLIB from the installation subvolume to your
subvolume, for example $MY.USERCNV. Make changes to the user conversion
procedures that you want to use.
2. Compile and build the native user library as follows:
native-user-library
is the native user library source file used by the TCP.
$
volume
is the volume where the installation subvolume ZPATHWAY resides.
See Appendix A, The MAKEUL Macro
, for further information on the MAKEUL
macro and related examples.
PTAL/IN $MY.USERCNV.SLIB/user-conversion-object
NLD user-conversion-object $volume.ZPATHWAY.TCPLIB
-UL-O native-user-library
MAKEUL -SRC $MY.USERCNV.SLIB -LIB native-user-library
-LOC $volume.ZPATHWAY