Editing the Function Routing Table

Date:Archived
Product/Release:LANSA for Windows
Abstract:It is easy to edit the Function Routing Table.
Submitted By:LANSA Technical Support

The easiest way to edit the correct Function Routing table is to setup a shortcut inside the LANSA for Windows group and create a user defined X_START.nnn file. Here is an example of an X_START.099:

%tit%Review/Edit Function Routing Table Definitions
%hlp%x_start.099
%editor% %basepath%\x_lansa\x_[DEM/Partition Identifier/PART]\source\x_funrtr.dat

The Function Routing Table is based on the partition and therefore it is stored in the source directory of the required partition. The Function Routing Table must also be called X_FUNRTR.DAT.

Now:

  1. Copy the "Icon & Bitmap Definitions " shortcut (left click on the shortcut to be copied. Then press CTRL+C and CTRL+V to copy and paste the shortcut).
  2. Change the description for the new shortcut to "Edit Function Routing Table " (left click on the title and type the new title).
  3. Change the properties (right click on the icon and choose Properties from the popup menu).
  4. Change the Target on the Shortcut tab to point to the new X_START.nnn file eg D:\X_WIN95\X_LANSA\EXECUTE\X_START.EXE =X_START.099.

Now when the new shortcut is double clicked it should prompt for the partition and if the X_FUNRTR.DAT file isn't already there it will ask the user if it should be created.

Note: Refer to the LANSA Technical Manual or the relevant tip for information about the format of entries in the Function Routing Table