Post-installation Procedures

The installation/upgrade process installs a shared library stored procedure, SW_SEQ_TRANS, that is used by the SSOLite stored procedures for getting sequence numbers outside of the current transaction. This is installed in the following folder:

~$DB2INSTANCE/sqllib/function

Since the external stored procedure, SW_SEQ_TRANS, is fenced, you must grant the "fenced" user (reserved for executing stored procedures) permissions on the sequences table. For example:

GRANT REFERENCES, SELECT, INSERT, DELETE, UPDATE ON swpro.sequences TO USER DB2FENC2