I am looking to create a SQL table UDF on my AS400(v5r2) that will return a listing of suboridinates for a given manager. Is it possible to use recursion? Since we are on v5r2 recursive SQL is not an option
Software/Hardware used:
AS400 V5R2 DB2 SQL
ASKED:
December 19, 2011 9:29 PM
UPDATED:
February 28, 2012 2:46 PM
…will return a listing of suboridinates…
Please define “a listing”. E.g., a string of comma-separated values?
What development tools do you have? Can you code a RPG stored proc to return a result set?
Tom