LS_tablespaceUpgrade_db2zOS.sql 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. -- Licensed Materials - Property of IBM
  2. -- IBM Cognos Products: ccllogging
  3. -- (C) Copyright IBM Corp. 2005, 2013
  4. -- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. -- This script creates the tablespaces for
  6. -- IBM DB2 for z/OS
  7. --
  8. -- Modifications:
  9. --
  10. -- 1) Replace IPFSCRIPT_DATABASE to the desired database name.
  11. -- 2) Replace IPFSCRIPT_STOGROUP to the desired storage group name.
  12. -- 3) Replace IPFSCRIPT_LS_ID with a unique audit database ID, no more than two character long, with literal first character
  13. -- 4) Replace IPFSCRIPT_BP with the name of the 8K buffer pool, allocated for regular objects
  14. -- 5) Replace IPFSCRIPT_TABLESPACE with a name of the tablespace, allocated for base tables
  15. -- 6) Note: PRIQTY and SECQTY are estimated values, your requirements may differ.
  16. -- 7) Note: DSSIZE and the SEGSIZE are estimated values, your requirements may differ.
  17. -- 8) Note: LOCKSIZE and CCSID and GBPCACHE are estimated values, your requirements may differ.
  18. ------------------------------------------------------------------------
  19. --*Tablespace CREATION DDL --
  20. ------------------------------------------------------------------------
  21. CREATE LOB TABLESPACE IPFSCRIPT_LS_IDIPFL07 IN IPFSCRIPT_DATABASE
  22. USING STOGROUP IPFSCRIPT_STOGROUP PRIQTY 1600 SECQTY 10016
  23. ERASE NO
  24. GBPCACHE SYSTEM
  25. DSSIZE 4G
  26. BUFFERPOOL IPFSCRIPT_BP
  27. LOCKSIZE LOB LOCKMAX 0
  28. CLOSE YES ;
  29. COMMIT;
  30. GRANT USE OF TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL07 TO IPFSCRIPT_USERNAME;