LS_dropTablespace_db2zOS.sql 1.3 KB

12345678910111213141516171819202122232425262728293031
  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) Changed IPFSCRIPT_DATABASE to the desired db name.
  11. -- 2) Replace IPFSCRIPT_TABLESPACE with a name of the tablespace, allocated for base tables
  12. -- 3) Replace IPFSCRIPT_LS_ID with a unique audit database ID, no more than two character long, with literal first character
  13. ------------------------------------------------------------------------
  14. --*Removal of Tablespaces --
  15. ------------------------------------------------------------------------
  16. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_TABLESPACE;
  17. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL01;
  18. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL02;
  19. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL03;
  20. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL04;
  21. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL05;
  22. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL06;
  23. DROP TABLESPACE IPFSCRIPT_DATABASE.IPFSCRIPT_LS_IDIPFL07;