Previous Topic: Default ServerNext Topic: Enable Client Manager Directory Services


Directory Services DLL Functions

The Directory Services user exit DLL contains three functions that interface with the Client Manager. The functions, their descriptions, and the arguments passed are:

  1. IEFDP_InitDir—Initializes any processes used by the sample Directory Services user exit. This function is called once and is the first Directory Services function called by Client Manager during execution initialization. The IEFDP_InitDir() reads in transaction codes and target server names in pairs from the transaction file (.TRN) and inserts them into a binary tree.

    The supplied sample transaction file, IEFDIR.TRN, must be modified to include the names of all application transactions and configured server names that are to take advantage of transaction routing.

    Note: NEXTLOCATION does not use the IEFDIR.TRN file. However, the sample IEFDP_InitDir() returns an error message if no input file exists. Thus, the sample exit requires a file with dummy data or other trancode/server name pairs being used when NEXTLOCATION is not set.

  2. IEFDP_SearchDir—Processes an inquiry and returns a target server name to the Client Manager.
  3. IEFDP_CleanupDir—Provides the opportunity to perform any exit activities. This function is called at the termination of the Client Manager.

    No arguments are passed.

More information:

User Exits