DB2 10.5 for Linux, UNIX, and Windows

SET CURRENT PACKAGESET statement

The SET CURRENT PACKAGESET statement sets the schema name (collection identifier) that will be used to select the package to use for subsequent SQL statements.

This statement is not under transaction control.

Invocation

This statement can be embedded only in an application program. It is an executable statement that cannot be dynamically prepared. This statement is not supported in REXX.

Authorization

None required.

Syntax

Read syntax diagramSkip visual syntax diagram
                            .-=-.                        
>>-SET--CURRENT PACKAGESET--+---+--+-string-constant-+---------><
                                   '-host-variable---'   

Description

string-constant
A character string constant. If the value exceeds 128 bytes, only the first 128 bytes are used.
host-variable
A variable of type CHAR or VARCHAR. It cannot be set to null. If the value exceeds 128 bytes, only the first 128 bytes are used.

Notes

Examples