We help IT Professionals succeed at work.
Get Started

Bad container path.. SQLCODE=-298, SQLSTATE=428B2 while create DMS tablespace...help needed

Enyimba
Enyimba asked
on
794 Views
Last Modified: 2015-03-01
Hi all,

I am trying to create Database managed tablespace. The containers were created as such:
/rapmw/db2data01/ptl01_tbsp
/rapmw/db2data02/ptl01_tbsp
/rapmw/db2data03/ptl01_tbsp
/rapmw/db2data04/ptl01_tbsp
/rapmw/db2data05/ptl01_tbsp
/rapmw/db2data06/ptl01_tbsp
/rapmw/db2data07/ptl01_tbsp

Now, when I tried to create the tablespace in these container usind the following sql, I got the following error:

, DRIVER=4.18.60

The sql that I am running is this :
CREATE LARGE TABLESPACE "TS8K_PTL01_DAT"
      IN DATABASE PARTITION GROUP "IBMDEFAULTGROUP"
      PAGESIZE 8 K
        MANAGED BY DATABASE
      USING (DEVICE   '/rapmw/db2data01/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data02/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data03/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data04/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data05/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data06/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data07/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data08/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data09/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data10/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data11/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data12/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data13/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw/db2data14/PTL01_TBSP' 5000,
                  DEVICE  '/rapmw_db2data15/PTL01_TBSP' 5000)
            PREFETCHSIZE 16
            BUFFERPOOL "BP8K_PTL01"
            NO FILE SYSTEM CACHING;

Can I get some feedback on what and I am going wrong here?
Note: At the /rapmw/db2data* level, there are other directory entries, but at the /PTL01_TBSP level, it is empty.

Can anyone help with this too.

Thanks

Enyimba
Comment
Watch Question
Data Warehouse / Database Architect
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE