Storing an Index in a dbspace
Use the IN dbspace clause to specify the dbspace where you want your index to reside. When you use this clause with any option except the TABLE keyword, you create a detached index.
The IN dbspace clause allows you to isolate an index. For
example, if the customer table is created in the custdata dbspace,
but you want to create an index in a separate dbspace called custind,
use the following statements:
CREATE TABLE customer
. . .
IN custdata EXTENT SIZE 16;
CREATE INDEX idx_cust ON customer (customer_num) IN custind;