Building SQL routines
You can use a Java™ makefile or
the bldsqljs build file to build SQLJ routines. After
you build those routines, you need to catalog them.
About this task
SpServer sample
SQLJ stored procedure. These steps use the build file, bldsqljs (UNIX), or bldsqljs.bat (Windows), which contains commands
to build either an SQLJ applet or application. The build file takes up to six parameters: $1, $2, $3, $4, $5, and $6 on UNIX, and %1, %2, %3, %4, %5, and %6 on Windows. The first parameter specifies the name of your program. The second parameter specifies the user ID for the database instance, the third parameter specifies the password. The fourth parameter specifies the server name. The fifth parameter specifies the port number. And the sixth parameter specifies the database name. For all but the first parameter, program name, default values can be used. See the build file for details about using default parameter values.