Skip to main content

 
IBM Power Systems software  >  IBM i  > Software  > 

IBM DB2 for i - RPG UDF Example

  

RPG Code for DELTA function

UDFDELTA RPG Source (50Kb)
UDFDELTAPR Copy Member RPG Source (13,6Kb)
RPG Compile Commands (23,5Kb)

SQL Creation Function SQL Scripts
The following SQL script can be copied and executed from System i Navigator SQL scripts window. Or the script can be copied to an i5/OS source member and executed via RUNSQLSTM. The SQL statements in this script file register the RPG program as an external user-defined function (UDF).

Function Creation Script (29Kb)