How to change the Creator User-Id for an Automapping Mask
search cancel

How to change the Creator User-Id for an Automapping Mask

book

Article ID: 94236

calendar_today

Updated On:

Products

RC/Migrator for DB2 for z/OS RC Compare for DB2 for z/OS

Issue/Introduction

The User-Id that created an RC/Migrator for Db2 for z/OS (RCM) Automapping Mask is no longer in the company and you need to change the Creator. 
How to change the Creator User-Id for an Automapping Mask as the Creator was automatically assigned when Mask was created?

Resolution

You can do the following to accomplish this. 

1) Edit hlq.CDBAPARM(MIGRATOR) member and add ADMINID for the Db2 Subsystem you are interested in: 

(For example, suppose you want to work on subsystem D11A) 

SSID (ssid)          /* SUBSYSTEM ID */ 
PDSDSN ()            /* RC/MIGRATOR PDS DATA SET NAME */ 
PDSVOL ()            /* VOLSER (IF PDS NOT CATALOGED) */ 
VSAMID ()            /* ID THAT HAS CONTROL ACCESS */ 
                     /* TO THE DB2 CATALOG DATASETS */ 
ADMINID (<userid>)    /* RCM ADMINISTRATOR USER ID */ 


2) Use the updated CDBAPARM Library. 
3) Now (<userid>) will be able to update MASK, RULE and MODEL belonging to others. 
4) Template the MASK/RULESET/MODEL using the new creator. 
5) Drop the OLD creator's MASK/RULE/MODEL