I was under the impression that stored procedures on the AS400 had to be written in cobal, C, or RPG, but that it does not support sql. I notice, however, the SPB (IBM's Stored Procedure Builder) claims it supports the AS400, but it only lets you write stored procedures in SQL and Java. So does the AS400 actually support SQL stored procedures, or does SPB translate it into a format the AS400 does understand?