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

Incorrect Statistics in Listcat


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
neoconvoy

New User


Joined: 22 Jul 2006
Posts: 9

PostPosted: Mon Sep 03, 2007 11:32 pm
Reply with quote

I did a LISTCAT on a few online VSAM files and they had this incorrect statistics. I had a problem with one of them when I tried to perform a DFSORT. The utility was trying to dynamically allocate SORTWK areas, but failed because apparently the statistics information made DFSORT think that that was a very large file, and required a lot of SORTWK.

My question is how does this incorrect statistics situation arise, and besides doing a delete and define of the file, is there any other way rectifiy the statistics.

STATISTICS (* - VALUE MAY BE INCORRECT)

REC-TOTAL--------------1* SPLITS-CI--------------0* EXCPS---------------3246*

REC-DELETED------------8* SPLITS-CA--------------0* EXTENTS-------------1

REC-INSERTED-----------4* FREESPACE-%CI----------0 SYSTEM-TIMESTAMP:

REC-UPDATED-----------42* FREESPACE-%CA----------0 X'C10261C2C43AD1C9'

REC-RETRIEVED------13286* FREESPC-----------505856*
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 04, 2007 3:06 am
Reply with quote

To reset the stats will be a DEL/DEF.

VSAM files are tricky because the stats are only updated at close of file, so if you have a file that's online for weeks on end, then the stats are only valid at the point of last close of file.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Extracting Compression Statistics fro... PL/I & Assembler 2
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
No new posts Program level statistics CICS 6
No new posts CICS Performance statistics CICS 3
Search our Forums:

Back to Top