SQL package support

The operating system supports an object called an SQL package. The object type is *SQLPKG.

The SQL package contains the control structures and access plans necessary to process SQL statements on the application server when running a distributed program. An SQL package can be created when:

The Delete SQL Package (DLTSQLPKG) command allows you to delete an SQL package on the local system.

An SQL package is not created unless the privileges held by the authorization ID associated with the creation of the SQL package includes appropriate authority for creating a package on the remote system (the application server). To run the program, the authorization ID must include EXECUTE privileges on the SQL package. On iSeries™ systems, the EXECUTE privilege includes system authority of *OBJOPR and *EXECUTE.

Related information
Create SQL Package (CRTSQLPKG) command