Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
MODIFY STATISTICS not cleaning my history tables

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: MODIFY STATISTICS not cleaning my history tables
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts To know activities on db2 tables ashek15 DB2 4 Fri Mar 03, 2017 11:23 pm
No new posts ERM-Diagram of SysIBM-Catalog-Tables Auryn DB2 2 Fri Feb 17, 2017 6:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us