Access to DB2 data sets takes place through the DB2 subsystem (i.e., through one of the DB2 started tasks) or through one of the DB2 stand‑alone utilities (DSN1COPY, DSN1PRNT or DSN1LOGP).
Standard access to the DB2 data sets is granted by issuing a TSS PERMIT using the DSN resource class. For example, to authorize a user with an ACID of SYSADM1 to access all data sets with a high level qualifier of DSNX, the following command would be issued:
TSS PER(SYSADM1) DSN(DSNX.) ACC(ALL)
To require users to access the DB2 data sets via one of the DB2 stand‑alone facilities, you would use the PRIVPGM keyword. For example:
TSS PER(DB2PROF1) DSN(DSNX.) PRIVPGM(DSN1LOGP)
Access to these data sets or utilities must be granted to the install SYSADM and install SYSOPR administrators.
|
Copyright © 2011 CA Technologies.
All rights reserved.
|
|