SELECT * FROM SYSTEM.SYSDBSPACES WHERE DBSPACETYPE=1 AND OWNER=''
To create the DBSPACEs required by QMF, do the following:
This exec will:
SQLADBSP DB(dbname)where dbname is the name of the DB2 for VM database. DBSPACE(s) is added based on the information in the dbname SQLADBSP file.
You receive the following message:
dbname SQLADBSP WAS FOUND. SHOULD THIS FILE BE USED FOR ADD DBSPACE?
Answer YES.
You receive a message inquiring whether or not you want to modify the dbname SQLADBSP file.
SQLSTART DB(dbname)where dbname is the name of the DB2 for VM database.
SELECT * FROM SYSTEM.SYSDBSPACES WHERE DBSPACETYPE=1 AND OWNER=''
To run this query, as a minimum you need to have SELECT authority on table SYSTEM.SYSDBSPACES, or have DB2 DBA authority, which implies the SELECT privilege.