# NATF0304 with batch SCAN

**URL:** <https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [November 28, 2008, 11:49am UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621 "2008-11-28T11:49:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kugh](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Kugh](https://techcommunity.softwareag.com/u/Kugh)\
**Post date:** [November 28, 2008, 11:49am UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/1 "2008-11-28T11:49:39Z")

</div>

Good day,

We have been running scans in batch with no problems. Now all of a sudden we get the following error:  
NATF0304 : ERROR 0886 ENCOUNTERED DURING READ WHILE PROCESSING OBJECT

What could be the possible cause of this?

Please help.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [November 28, 2008, 6:13pm UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/2 "2008-11-28T18:13:42Z")

</div>

Hi Kugh;

Did this set of runs have programs/objects that are much larger than any you have scanned before? 0886 is a buffer overflow.

steve

---

<div class="post-metadata">

**Author:** ![Kugh](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Kugh](https://techcommunity.softwareag.com/u/Kugh)\
**Post date:** [December 1, 2008, 4:32pm UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/3 "2008-12-01T16:32:34Z")

</div>

Hi Steve,

Thanks for your reply.  
The scan is executed for the maintenance of very old programs, and hence unable to know in advance about the sizes of the objects to be scanned. The parameters are set statically; can I overwrite these dynamically in jcl? Which specific parm should I overwrite?

Regards

---

<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:** [December 1, 2008, 11:39pm UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/4 "2008-12-01T23:39:58Z")

</div>

usual suspect is ESIZE

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/parms/esize.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/parms/esize.htm)

---

<div class="post-metadata">

**Author:** ![Kugh](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Kugh](https://techcommunity.softwareag.com/u/Kugh)\
**Post date:** [January 6, 2009, 12:23pm UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/5 "2009-01-06T12:23:47Z")

</div>

This problem was resolved by overwritting the DATSIZE dynamically with a bigger value.

Thanks

---

<div class="post-metadata">

**Author:** ![Smruti](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Smruti](https://techcommunity.softwareag.com/u/Smruti)\
**Post date:** [February 5, 2009, 11:04pm UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/6 "2009-02-05T23:04:43Z")

</div>

Hi Kugh,

Can you please tell us wat is DATSIZE?

Can we have a sample code of it which shows how you overwrote it dynamically?

It would be a great help for initial programmer like me 🙂

Thank you  
Smruti

---

<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:** [February 6, 2009, 1:09am UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/7 "2009-02-06T01:09:50Z")

</div>

DATSIZE is one of the parameters that the Natural System Administrator (often the same person is also the Adabas DBA) sets when establishing the Natural environment. You cannot override DATSIZE programmatically. You would need to ask your administrator to increase DATSIZE for you. This might be assembled / link edited in or established via SYSPARM, depending how your shop is set up.

---

<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:51pm UTC](https://techcommunity.softwareag.com/t/natf0304-with-batch-scan/79621/8 "2021-04-02T14:51:13Z")

</div>


