Suppose you want your synchronization to grant the following system and resource privileges to the DB2 authorization ID PUBLIC:
To provide these privileges to PUBLIC, you can use these GRANT TO PUBLIC control statements in the //PUBLIC file for the CADB2SY2 execution.
SYS(TRACE) SYS(DISPLAY) TBL(SYSIBM‑) PRIV(SELECT) PLN(DSNTIA‑) PRIV(EXECUTE) DBS(DEVTEST) PRIV(STATS,STARTDB,STOPDB) STG(TEST‑) PRIV(USE)
The PRIV(USE) keyword is optional for the STG statement because storage groups have only one privilege.
|
Copyright © 2011 CA Technologies.
All rights reserved.
|
|