# Getting NAT1108 error

**URL:** <https://techcommunity.softwareag.com/t/getting-nat1108-error/95310>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Code-Samples\
**Created:** [November 12, 2010, 3:26pm UTC](https://techcommunity.softwareag.com/t/getting-nat1108-error/95310 "2010-11-12T15:26:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nothukela](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@Nothukela](https://techcommunity.softwareag.com/u/Nothukela)\
**Post date:** [November 12, 2010, 3:26pm UTC](https://techcommunity.softwareag.com/t/getting-nat1108-error/95310/1 "2010-11-12T15:26:26Z")

</div>

Hi all

I’m getting error NAT1108 -REINPUT statement not preceded by INPUT statement, it always happens when validating an array. Can anyone please help

This is the example code:-

IF #INDICATOR = ‘1’  
PERFORM BEPAAL-SUBROUTINE  
IF #GEKOP-VERANTW(1) = 0  
REINPUT \*0850  
MARK \*L1.TIPE-SKULD  
END-IF

---

<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 12, 2010, 3:32pm UTC](https://techcommunity.softwareag.com/t/getting-nat1108-error/95310/2 "2010-11-12T15:32:52Z")

</div>

What goes on in the subroutine BEPAAL? Any WRITE, INPUTs, PRINTs, DISPLAYs? Is the subroutine internal or external?

An 1108 usually means that Natural’s buffer, which right after the INPUT would hold the Map, no longer holds a Map, but something else (as noted WRITE, DISPLAY, PRINT).

steve

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [November 15, 2010, 1:19pm UTC](https://techcommunity.softwareag.com/t/getting-nat1108-error/95310/3 "2010-11-15T13:19:11Z")

</div>

More discussions about NAT1108:

[http://tech.forums.softwareag.com/viewtopic.php?t=23096](http://tech.forums.softwareag.com/viewtopic.php?t=23096)  
[http://tech.forums.softwareag.com/viewtopic.php?t=7183](http://tech.forums.softwareag.com/viewtopic.php?t=7183)

---

<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:59pm UTC](https://techcommunity.softwareag.com/t/getting-nat1108-error/95310/4 "2021-04-02T14:59:21Z")

</div>


