Here are the steps.
- Create Function on Datasource DB
- Create Function Template on Federated DB
- Create Function Mapping on federated db
For details on how to perform each of these steps, consult
- The DB2 9.5 Info Center. There's an entire section on Federation that's OK.
- The Federated Systems Guide. Google it. It's a PDF.