I am using db2/400 on as/400.

I want to create a stored procedure in db2/400 using sql or java without use of any additional softwares.

Any samples of how to create a stored procedure in java and run the java stored procedure on db2/400 - as/400 system??.

Can i directly create a stored procedure on as/400 with java or db2400sql??