# Adabas logical file extents

**URL:** <https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Basics-on-Mainframes\
**Created:** [June 8, 2010, 7:18pm UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795 "2010-06-08T19:18:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitch2](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@Mitch2](https://techcommunity.softwareag.com/u/Mitch2)\
**Post date:** [June 8, 2010, 7:18pm UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/1 "2010-06-08T19:18:10Z")

</div>

Hi,  
I want to limit the logical file extents in our DEVELOPMENT and our ACCEPTANCE Databases. Much the way it was before ADABAS 8.

Want to know how it can be done.

Regards

John

---

<div class="post-metadata">

**Author:** ![Mike3](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@Mike3](https://techcommunity.softwareag.com/u/Mike3)\
**Post date:** [June 11, 2010, 1:16am UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/2 "2010-06-11T01:16:45Z")

</div>

Just a thought, but you could set the NOACEXTENSION option to prevent the file from growing too big.

---

<div class="post-metadata">

**Author:** ![Brian\_Johnson1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/brian_johnson1/32/163_2.png) [@Brian\_Johnson1](https://techcommunity.softwareag.com/u/Brian_Johnson1)\
**Post date:** [June 15, 2010, 1:18am UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/3 "2010-06-15T01:18:50Z")

</div>

I am not sure I understand. You would prefer to have a file fill up and get an Adabas response code 75 than to have it go into a 6th, 7th… extent?

You can still monitor for files in n+ extents and plan reorders and always had to be done in version 7.4 and below. :evil:

---

<div class="post-metadata">

**Author:** ![Michael\_Echanove](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Michael\_Echanove](https://techcommunity.softwareag.com/u/Michael_Echanove)\
**Post date:** [January 8, 2019, 8:21am UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/4 "2019-01-08T08:21:59Z")

</div>

I am relatively new to the ADABAS world and want/need to understand if having 4 extents for a mainframe ADABAS 7.4 file is leading me down the road to trouble. When I list files with crit. no. of extents in SYSAOS I see I have 4 such files. I have been under the impression that doom is not pending with these files but my lack of experience prevents me from having the confidence in my assessment.

Thank you for any input,  
Michael E.

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [January 8, 2019, 4:56pm UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/5 "2019-01-08T16:56:56Z")

</div>

You need a sense of how quickly records are being added to those four files.

- How much free space is available in the file’s current allocation?

- Based on average compressed record length, how many more records can be added before you go to a fifth extent?

- Based on history, how long until you go to a fifth extent?

- The fifth extent will be allocated as half the file’s current space allocation, if possible. Does the database have enough free space for the fifth extent?

- If Adabas can’t allocate 50% more space, he will take what he can, possible exhausting free space, leaving none for the next file to go to five extents.

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [January 9, 2019, 10:52pm UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/6 "2019-01-09T22:52:12Z")

</div>

If you upgrade to a v8+ Adabas database, the extents constraints are lifted.

For v7.4 and below, yes, the maximum extents is 5 for any type of database container or file area. Once the fifth extent is allocated and more space is needed, your file will be almost unusable.

---

<div class="post-metadata">

**Author:** ![Michael\_Echanove](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Michael\_Echanove](https://techcommunity.softwareag.com/u/Michael_Echanove)\
**Post date:** [January 10, 2019, 8:15am UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/7 "2019-01-10T08:15:29Z")

</div>

Douglas & Ralph,

Thank you for the information. I will put together a plan to reduce the extents in each of the 4 files in question.

Michael E.  
P.S. I’ll be back with any questions!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:58pm UTC](https://techcommunity.softwareag.com/t/adabas-logical-file-extents/93795/8 "2021-04-02T14:58:35Z")

</div>


