error while create ts on oracle z/OS [message #325913] |
Mon, 09 June 2008 08:44 |
h.mehdi
Messages: 4 Registered: June 2008
|
Junior Member |
|
|
Hi
I get
ORA-00604: error occurred at recursive SQL level 1
ORA-01655: unable to extend cluster SYS.C_TS# by 5 in tablespace SYSTEM
when I want to create a tablespace on Oracle 10g z/OS...
This is the JCL I use to create tablespace:
//ORACRTS JOB CLASS=A,MSGCLASS=T,MSGLEVEL=(1,1),NOTIFY=&SYSUID
//STEPAMS1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE (TEST.USER.DATA) -
CLUSTER PURGE
DEFINE CLUSTER -
( LINEAR -
NAME(TEST.USER.DATA) -
VOLUMES(TSTORA) -
SHR(3 3) -
CYLINDERS(100 50) -
)
//SQLPLUS EXEC PGM=SQLPLUS,PARM='/NOLOG',REGION=0M
//STEPLIB DD DISP=SHR,DSN=ORACLE.V10202.CMDLOAD
//ORA$LIB DD DISP=SHR,DSN=ORACLE.V10202.MESG
//* REQUIRES //ORA@SID DD DUMMY STATEMENT (ORACLE INSTANCE).
//ORA@ORA1 DD DUMMY
//ORA$ENV DD DISP=SHR,DSN=ORACLE.V10202.PARMLIB(ORA1ENV)
//SQLLOGIN DD DUMMY
//SYSIN DD *
connect / as sysdba
CREATE TABLESPACE User_Data
DATAFILE '//TEST.USER.DATA' size 10M REUSE
AUTOEXTEND ON NEXT 10M;
/*
|
|
|
|
|
Re: error while create ts on oracle z/OS [message #326099 is a reply to message #325913] |
Tue, 10 June 2008 03:33 |
h.mehdi
Messages: 4 Registered: June 2008
|
Junior Member |
|
|
Although I'm preallocating the DATAFILE for the new TABLESPACE but it goes to create the new tablespace in SYSTEM tablespace. I don't know why...
I changed the create tablespace sql like this:
connect / as sysdba
CREATE TABLESPACE usertbs
DATAFILE 'TEST.USER.DATA' REUSE;
but nothing changes.
|
|
|