IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Runstat CLOB Issue


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gurumanoj Gurusamy

New User


Joined: 11 Nov 2010
Posts: 22
Location: Mumbai

PostPosted: Wed Oct 17, 2012 6:13 am
Reply with quote

Hi,

I have a database which has four tablespaces. In which three are normal and the fourth one has CLOB objects.

When I tried to run a Runstats on database first three tablespaces runstats completed fine and its failing in the forth one which has CLOB. When I did a small study come to know that Runstats do not support CLOB objects. Hence I need to omit that particular tablespace while doing a runstats on database.

Could you please advise how to ignore it and do runstats on other tablespaces?

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 17, 2012 7:16 am
Reply with quote

Hello,

Which release of DB2 is being used?

If you post the job you submitted, we may be able to offer an alternative.
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Wed Oct 17, 2012 10:24 am
Reply with quote

Below mentioned command will exclude table space from RUNSTAT.

Code:
LISTDEF RUNLST                               
      INCLUDE TABLESPACE DBNAME.*           
      EXCLUDE TABLESPACE DBNAME.CLOBTS     
RUNSTATS TABLESPACE LIST RUNLST             
         TABLE  INDEX SHRLEVEL CHANGE         
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Wed Oct 17, 2012 12:55 pm
Reply with quote

I think TABLE INDEX keywords are not supported for LOB tablespaces.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Oct 17, 2012 2:05 pm
Reply with quote

Hi Guru,

I hope you are using LISTDEF utility, below will select only the non-lob tablespaces in the database.

Code:
LISTDEF TS_LIST                       
   INCLUDE  TABLESPACE database.* BASE

Thanks,
Sushanth
Back to top
View user's profile Send private message
Gurumanoj Gurusamy

New User


Joined: 11 Nov 2010
Posts: 22
Location: Mumbai

PostPosted: Wed Oct 17, 2012 2:46 pm
Reply with quote

Thanks All,

I used Base keyword in LISTDEF and it worked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Storing a BLOB/CLOB in PL/I PL/I & Assembler 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
Search our Forums:

Back to Top