# Variable buffers and NAT7545 under Com-plete

**URL:** <https://techcommunity.softwareag.com/t/variable-buffers-and-nat7545-under-com-plete/91201>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes, Natural-Database-and-TP-Monitor-Interfaces-on-Mainframes\
**Created:** [September 10, 2009, 8:47pm UTC](https://techcommunity.softwareag.com/t/variable-buffers-and-nat7545-under-com-plete/91201 "2009-09-10T20:47:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brick\_Jones](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@Brick\_Jones](https://techcommunity.softwareag.com/u/Brick_Jones)\
**Post date:** [September 10, 2009, 8:47pm UTC](https://techcommunity.softwareag.com/t/variable-buffers-and-nat7545-under-com-plete/91201/1 "2009-09-10T20:47:43Z")

</div>

Cross-posted from the [Com-plete forum](http://tech.forums.softwareag.com/viewtopic.php?t=21631).

I’d like to better understand the conditions that lead to NAT7545 errors under Com-plete.

Apparently when a buffer (e.g., datsize or xarrays) is to be expanded dynamically, Natural has to allocate the new larger space before releasing the current space, so for a period you need access to twice the space you really need.

Can anyone detail the process involved in buffer expansion? When temporary space is required, is it requested from within the COM thread but outside the NAT thread, or is it outside the user’s COM thread altogether? Is it inside the COM THSIZEABOVE space, but outside the NAT/NCF NTHSIZE space?

Thanks.

---

<div class="post-metadata">

**Author:** ![Brick\_Jones](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@Brick\_Jones](https://techcommunity.softwareag.com/u/Brick_Jones)\
**Post date:** [October 16, 2009, 7:46pm UTC](https://techcommunity.softwareag.com/t/variable-buffers-and-nat7545-under-com-plete/91201/2 "2009-10-16T19:46:36Z")

</div>

Found some good info on this in a tech paper on [Servline](http://servline24.softwareag.com/SecuredServices/TechnicalPapers/Natural/nat_storManage.htm).

---

<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:57pm UTC](https://techcommunity.softwareag.com/t/variable-buffers-and-nat7545-under-com-plete/91201/3 "2021-04-02T14:57:29Z")

</div>


