Table objects  How production objects work

Chapter 1: Overview

ODL functions

ODL functions are user-written functions that perform data validation or manipulation. Use these functions to perform any type of data manipulation or validation not available through a TRAN-IDE object. You code ODL functions using the Object Definition Language (ODL).

You can build several different types of ODL functions and attach them to different TRAN-IDE objects. These ODL functions have a specific purpose, are passed specific arguments, and transaction production executes them at pre-determined points when processing a transaction. See Chapter 3, “Building Production Objects,” for more information about the types of ODL functions.

You can also build generic ODL functions directly from TRAN-IDE. Generic ODL functions have a slightly different format than other functions because they do not have a specific purpose determined by a TRAN-IDE object, and because you determine what arguments to pass to them. Also, you cannot attach a generic ODL function to a TRAN-IDE object. You must call generic functions from within other functions attached to TRAN-IDE objects. See “Defining ODL functions” for more information.





Copyright © 2005. Sybase Inc. All rights reserved. How production objects work

View this book as PDF