Not sure if this is the answer, but I found this explanation in some release notes for version 7.1:
"To create SQL stored procedures on the server, the application development client (as well as a compiler) must be installed on the server. Otherwise, the create operation will fail with a message indicating that db2udp.dll cannot be loaded."