Use the Create SQL Package (CRTSQLPKG) command

You can enter the Create SQL Package (CRTSQLPKG) command to create an SQL package from a compiled distributed relational database program. You can also use this command to replace an SQL package that was created previously.

A new SQL package is created on the relational database defined by the RDB parameter. The new SQL package has the same name and is placed in the same library as specified on the PKG parameter of the CRTSQLxxx command.

You do not need the DB2® UDB Query Manager and SQL Development Kit licensed program to create an SQL package on an application server (AS).

Related reference
Default collection name
Create Structured Query Language Package (CRTSQLPKG) command