========================================================================= IBM Security Access Manager for Enterprise Single Sign-On (ISAMESSO) Enterprise User ID Rename Script ========================================================================= Release date : 31st July 2012 Script version : 1.0.0 Target IMS version : 8.1.x / 8.2.x Target Database : DB2 v9.7 Enterprise ID rename script helps rename IMS registered user with optional AD GUID and UPN updates. There are a few assumptions made in the script as following. Before performing migration, please make sure that : - Target user accounts has been renamed in enterprise directory. 1. Creating a stored procedure Create a stored procedure in the ISAMESSO schema. Make sure the database login account that uses the following tasks have a current schema that points to the ISAMESSO schema and with the following privileges: - Create,drop,execute on a stored procedure - Create,drop,select,insert,delete,update on a session temporary table - Select,insert,delete,update on ISAMESSO database tables. There are TWO scripts need to be created. - sp_base_updEntIdDomainUpnGuid.sql - sp_changeUserEntId.sql The sequence of the script creation is important as 'sp_changeUserEntId.sql' depends on 'sp_base_updEntIdDomainUpnGuid.sql'. Choose either 1.1 or 1.2 steps to create a stored procedure. 1.1 Using the DB2 Command Shell ---------------------------- 1.1.1 Replace , and in the following script and execute it to connect to the target database. db2 connect to user using 1.1.2 Replace the