Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Data set extent question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
MadHadder

New User


Joined: 09 Apr 2008
Posts: 9
Location: Virginia

PostPosted: Wed May 09, 2012 6:39 pm    Post subject: Data set extent question
Reply with quote

Good morning all, I'm puzzled with something. I have a DB2 data set that keeps taking extents that are very small in size, I'm curious if the reason it is taking these extents could be due to very fragmented volumes in the pool of DASD that our DB2 files use? Would fragmented volumes cause the file to continue to take extents even if they are very small extent sizes? I'm trying to avoid hitting the max extents for this file.

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

dick scherrer

Site Director


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

PostPosted: Wed May 09, 2012 9:49 pm    Post subject:
Reply with quote

Hello,

Suggest you work with your storage management people to find space to re-allocate this data set down to a single (or few) extents.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1504
Location: Chennai

PostPosted: Wed May 09, 2012 10:30 pm    Post subject:
Reply with quote

Will it work if we force migrate the dataset using HMIG and then HRECALL the dataset immediately, so it will be in single extent or few extent?
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed May 09, 2012 11:47 pm    Post subject:
Reply with quote

Hello,

Suggest this only be done after DB2 has been shut down. . .
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Tue May 15, 2012 9:32 pm    Post subject:
Reply with quote

You need to check whether the DBA's have settings defined to create small secondary extents. What is the primary extent like? You could ask them about 'Sliding Secondaries' which causes DB2 to allocate increasingly large secondaries as it extends but I think that is a blanket setting.

One thing you can do is get the file deallocated and run a DFDSS COPY to move it and it will try and allocate it in one large primary extent.

It could be due to fragmentation as well but if that was the case each extent is likely to be a different size.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us