Managing an SQL package

 

After an SQL package is created, you can manage it the same way as you manage other objects on the i5/OS® operating system, with some restrictions.

You can save and restore an SQL package, send it to other systems, 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.

 

Parent topic:

Working with SQL packages