ILE C/C++ Programmer's Guide

Creating Binder Language Using SEU

To use the Source Entry Utility (SEU) to create a binder language source file, follow these steps:

  1. Create a source physical file QSRVSRC in library MYLIB.
  2. Create a member MEMBER1 that will contain the binder language.
  3. Use the Display Module (DSPMOD) command to display the symbols that can be exported from each module.
  4. Decide which exports you want to make available to calling programs.
  5. Use the Source Entry Utility (SEU) to enter the syntax of the binder language.

You need one export statement for each procedure whose exports you want to make available to the caller of the service program. Do not list symbols that you do not want to make available to calling programs.

For example, based on the information shown in Figure 10, the binder language source file for module SEARCH could list the following export symbols:

STRPGEXP PGMLEVEL(*CURRENT)
  EXPORT SYMBOL(" __ct__6SearchFPc")
  EXPORT SYMBOL(" __ct__6SearchFPUc")
  EXPORT SYMBOL(" __ct__6SearchFPUci")
ENDPGMEXP


[ Top of Page | Previous Page | Next Page | Table of Contents ]