If you are using CA Datacom as your database, this section can be skipped.
CREATE DATABASE PMA490 STOGROUP SGPMA490 BUFFERPOOL BP0 CREATE STOGROUP SGPMA490 VOLUMES (“*”,”*”,”*”) VCAT xxxx;
The above SQL statements will create and identify the PMACB database to DB2 using storage group SGPMA490 and buffer pool zero. The xxxx represents the four-character database subsystem id.
GRANT DBADM ON DATABASE PMA490 TO userid; GRANT USE OF BUFFERPOOL BP0 TO userid; GRANT USE OF STOGROUP SGPMA490 TO userid; GRANT EXECUTE ON PLAN CAISSQL2,CAISSQL3,CAISSQL9 TO userid;
The SQL statements above grant database administrator authority and use of the buffer pool and storage group to the user ID specified.
| Copyright © 2012 CA. All rights reserved. |
|