TRANSFER Programming Manual
Appendix E The XDIR Server
069138, Update 1 to 040970 Tandem Computers Incorporated Eā1
The XDIR server is an optional server that users can build and add to their TRANSFER
system at a TRANSFER X400 gateway node. When the Exporter needs to translate a
name, it sends the TRANSFER correspondent name in a UOW to the XDIR server; the
Exporter then uses the X400 originator/recipient (O/R) address that comes back in the
RSP. Likewise, when the Importer needs to translate a name, it sends the X400 O/R
address in a UOW to the XDIR server, and XDIR returns a TRANSFER correspondent
name for the Importer to use.
Section 6, āX400 Services,ā describes the operation of the TRANSFER X400 product
that allows TRANSFER correspondents to exchange both mail and non-mail messages
with users of heterogeneous messaging systems. Table 6-1 describes O/R name
attributes. Table 6-3 describes how the TRANSFER delivery system constructs an O/R
name for a TRANSFER correspondent.
The customized XDIR server uses the Form 1, Variant 1 form to translate O/R names
to and from TRANSFER correspondent names; Table 6-2 describes Form 1, Variant 1.
This appendix tells you how to build, configure and manage your XDIR server and
gives you the UOW definitions.
Building the XDIR
Server
To build a customized XDIR server, you use several files that have been added to the
TRANSFER ISV for the C30 and later releases:
XDSAMPLE is a sample source file for building a customized XDIR server. It
includes several PROCs, one for each defined UOW. For example:
UOW^X400^TO^CORR processes X400^TO^CORR UOWs.
UOW^CORR^TO^X400 processes CORR^TO^X400 UOWs.
GTAL file contains sections to be sourced in by compiling XDSAMPLE.
XDIRLIB file contains the rest of the object code to build an XDIR server.
To build a customized XDIR server, you must modify a copy of the XDSAMPLE file to
perform the name translation that you want, compile it, and build a server with the
XDIRLIB file. Change the contents of the SXDIR file to suit your needs.
For example:
FUP DUP XDSAMPLE,SXDIR
EDIT SXDIR
TAL / IN SXDIR / OXDIR; SYMBOLS
BIND; ADD * FROM OXDIR; ADD * FROM XDIRLIB; BUILD XDIR; EXIT
In this example, the final file XDIR is the object file for the XDIR server.