Table of Contents

Search

  1. Preface
  2. Introduction to Data Validation Option
  3. New Features and Behavior Changes
  4. Repositories
  5. XML Data Source
  6. Tests for XML Data Sources
  7. Connections
  8. Expressions
  9. Table Pairs
  10. Tests for Table Pairs
  11. Single-Table Constraints
  12. Tests for Single-Table Constraints
  13. Examples of Tests from Spreadsheets
  14. SQL Views
  15. Lookup Views
  16. Join Views
  17. Aggregate Views
  18. Business Intelligence and Reporting Tools Reports
  19. Dashboards
  20. DVOCmd Command Line Program
  21. Troubleshooting
  22. Datatype Reference
  23. Reporting Views
  24. Metadata Import Syntax
  25. Jasper Reports
  26. Glossary

Data Validation Option User Guide

Data Validation Option User Guide

Rules and Guidelines for User-Defined Functions

Rules and Guidelines for User-Defined Functions

Use the following guidelines when you create user-defined functions and use them in Data Validation Option:
  • User-defined functions are defined in PowerCenter at folder level. They exist in a specific folder in the PowerCenter repository.
  • You must define a user-defined function in the target folder where Data Validation Option jobs are run so that Data Validation Option can access the function. In the Data Validation Client, you can view the target folder in the list of target repository properties when you edit the PowerCenter repository.
  • You cannot validate an expression that uses a user-defined function. The Data Validation Client cannot validate user-defined functions that are defined in the PowerCenter repository. If the expression is a valid PowerCenter expression, it will run correctly.
    If you validate an expression that uses a user-defined function, the Data Validation Client display an error message similar to the following message: