In the main TRAN-IDE window, select View | ODL Functions or click the Function icon in the TRAN-IDE main window to display a list of all generic ODL functions defined in the current file.
To build a new generic ODL function, click New. To edit an existing ODL function, double-click the function name in the ODL Functions list.
To delete an ODL function, select the function’s
name in the ODL Functions list and click Delete.
The ODL Function window opens.
Use the following options to build the ODL function:
Field (key) |
Description |
---|---|
Goto Line# |
Moves the cursor to the specified line of ODL text in the function. Type the line number to go to, then press Enter. The ODL text editor moves the cursor to the specified line of text and highlights it. Click once on the text or use an arrow key to deselect it before typing any characters, otherwise the highlighted line is deleted and replaced with the new characters. |
DFC’s |
To view a list of the current DFC commands, click the down arrow. To define a new DFC command, click Detail. The Distributed Function Declaration window opens. See the e-Biz Impact MSG-IDE Guide for more information. |
Datalink |
Datalinks allow you to share data with other functions and TRAN-IDE objects, which can also change the data in the datalink. To view a list of the current datalink definitions, click the down arrow. To define a new datalink, click Detail. The Datalink Information window opens. |
Module |
To place the function into a different module, click the down arrow and select another module. A generic ODL function is public by default and available to any function in the project. To make this function available only to functions in the selected module, make it static. See “Modules” for more information about module requirements. |
When you finish, click OK. TRAN-IDE names the generic ODL function with the name you used in the function’s definition. Afterward, you can edit only what is in the function’s brackets.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |