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

MODIFY STATISTICS not cleaning my history tables


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chandu_usa99
Warnings : 2

New User


Joined: 21 Sep 2006
Posts: 3

PostPosted: Tue Sep 26, 2006 2:48 am
Reply with quote

Hi,

Can some one help me regarding the MODIFY STATISTICS.
I am trying to clean the History tables in Prod.


//MODIFY EXEC DSNUPROC,SYSTEM=PA0D,
// LIB='PA0D.DSNLOAD',
// UID='ACDCSA'
//DSNUPROC.SYSIN DD *

MODIFY STATISTICS TABLESPACE DSNDB06.SYSHIST
DELETE ALL AGE(50)


It suppose to clean all the History tables, But its not cleaing.
Am I doing wrong? Please kindly help me out. Thank you so much.
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Tue Sep 26, 2006 9:50 am
Reply with quote

1. Do have a look at the SYSPRINT DD. What is the message given in the SYSOUT?

2. what are the history tables you have checked to see is the statistics have been deleted?

3.Sice you have given age as 50, the utility would delete only data that are older than 50 days.

Anamika
Back to top
View user's profile Send private message
chandu_usa99
Warnings : 2

New User


Joined: 21 Sep 2006
Posts: 3

PostPosted: Tue Sep 26, 2006 6:54 pm
Reply with quote

Hi Anamika, Yes I know it will delete only 50 days older history.

In the SYSPRINT it is given me that statement has been processed, I dont know what to do. Please help me out.

I checked all History tables , still having data in it.

SYSTABLEPART_HIST
SYSTABLES_HIST
SYSINDEXES_HIST
SYSINDEXPART_HIST
SYSCOLUMNS_HIST
SYSCOLDIST_HIST
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 Looking for a little history of ISPF ... TSO/ISPF 5
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Need to fetch data from so many DB2 t... DB2 9
No new posts Change history of vsam file. JCL & VSAM 3
No new posts Extracting Compression Statistics fro... PL/I & Assembler 2
Search our Forums:

Back to Top