Manage an SQL package

After an SQL package is created, you can manage it the same way you manage other objects on the iSeries™ server, with some restrictions.

You can save and restore it, send it to other servers, and grant and revoke a user's authority to the package. You can also delete it by entering the Delete Structured Query Language Package (DLTSQLPKG) command or the DROP PACKAGE SQL statement.

When a distributed SQL program is created, the name of the SQL package and an internal consistency token are saved in the program. These are used at run time to find the SQL package and verify that the SQL package is correct for this program. Because the name of the SQL package is critical for running distributed SQL programs, an SQL package cannot be moved, renamed, duplicated, or restored to a different library.