ILE C/C++ Programmer's Guide

Generating the Binder Language to Create the Service Program

To generate binder language for module M2, from which you want to create service program SP1, enter the following command:

RTVBNDSRC MODULE(MYLIB/M2) SRCFILE(MYLIB/QSRVSRC) SRCMBR(BNDLANG1)

This command results in the following binder language being created for module M2, in library MYLIB, source file QSRVSRC, file member BNDLANG1:

Figure 18. Binder Language for Service Program SP1


+--------------------------------------------------------------------------------+
| Columns . . . :    1  71           Browse                       MYLIB/QSRVSRC  |
| SEU==>                                                                BNDLANG1 |
| FMT **  ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7  |
|        *************** Beginning of data ************************************* |
|0000.01 STRPGMEXP PGMLVL(*CURRENT)                                              |
|0000.02 /*********************************************************************/ |
|0000.03 /*   *MODULE      M2           MYLIB        95/06/11  18:07:04*/        |
|0000.04 /*********************************************************************/ |
|0000.05   EXPORT SYMBOL("func1__Fi")                                            |
|0000.06 ENDPGMEXP                                                               |
|        ****************** End of data **************************************** |
|                                                                                |
+--------------------------------------------------------------------------------+

To generate binder language for module M3, from which you want to create service program SP2, issue the following command:

RTVBNDSRC MODULE(MYLIB/M3) SRCFILE(MYLIB/QSRVSRC) SRCMBR(BNDLANG2)

This command results in the following binder language being created for module M3, in library MYLIB, source file QSRVSRC, file member BNDLANG2:

Figure 19. Binder Language for Service Program SP2


+--------------------------------------------------------------------------------+
| Columns . . . :    1  71           Browse                       MYLIB/QSRVSRC  |
| SEU==>                                                                BNDLANG2 |
| FMT **  ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7  |
|        *************** Beginning of data ************************************* |
|0000.01 STRPGMEXP PGMLVL(*CURRENT)                                              |
|0000.02 /*********************************************************************/ |
|0000.03 /*   *MODULE      M3           MYLIB        95/06/11  18:08:14       */ |
|0000.04 /*********************************************************************/ |
|0000.05   EXPORT SYMBOL("func2__Fi")                                            |
|0000.06 ENDPGMEXP                                                               |
|        ****************** End of data **************************************** |
|                                                                                |
+--------------------------------------------------------------------------------+


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