Creating an Entry Name Map File

You create your map file with a text editor. For each entry point you need to enter the following three lines:

[ENTRY-POINT] entry-point-name
[PROGRAM-NAME] main-program-name
[SUBPROGRAM-NAME] subprogram-containing-entry-point

Example

Consider a run unit with a main program A and subprogram C. Within the run unit, A calls entry point B which is in program C. The table entry in the entry name map file is:

[ENTRY-POINT] B
[PROGRAM-NAME] A 
[SUBPROGRAM-NAME] C

You can also specify an optional [ALIASED-ENTRY-POINT] line following the [ENTRY-POINT] line. If specified, this line defines an entry point name onto which the entry point specified by [ENTRY-POINT] is aliased.

For example:

[ENTRY-POINT]  XYZ 
[ALIASED-ENTRY-POINT] ENTA 
[PROGRAM-NAME]  * 
[SUBPROGRAM-NAME]  PGMA

causes XYZ to be aliased on the ENTA entry point in the program PGMA. This means that when XYZ is called by a program, entry point ENTA will be invoked.

Note: Notes:
  • A tag, that is, the text in square brackets, must be in upper case.
  • A line beginning with # is treated as a comment.
  • You can specify an asterisk (*) for program name to indicate that any program in the run unit can call entry point B in program C.
  • Entry point aliasing is only available for use with .int, .gnt, and .dll programs.