Application Development Guide


Implementing Functions and Methods

The process of implementing an external UDF or method requires the following steps:

  1. Writing the UDF or method
  2. Compiling the UDF or method
  3. Linking the UDF or method
  4. Debugging the UDF or method
  5. Registering the UDF or method with DB2

After these steps are successfully completed, your UDF or method is ready for use in DML or DDL statements such as CREATE VIEW. The steps of writing and defining UDFs and methods are discussed in the following sections, followed by a discussion on using UDFs and methods. For information on compiling and linking UDFs and methods, refer to the Application Building Guide. For information on debugging your UDF or method, see Debugging your UDF.


[ Top of Page | Previous Page | Next Page ]