# NAT3017 error

**URL:** <https://techcommunity.softwareag.com/t/nat3017-error/75395>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [September 18, 2007, 1:33am UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395 "2007-09-18T01:33:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Hunter](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@David\_Hunter](https://techcommunity.softwareag.com/u/David_Hunter)\
**Post date:** [September 18, 2007, 1:33am UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395/1 "2007-09-18T01:33:16Z")

</div>

Trying to test ADA744 on test LPAR and receive this message trying to run a batch job -

NAT3017 Invalid file number. DB/FNR 227/210. Subcode 5.

The file I’m running against is an Adabas file, FNR 93. There is no FNR 210 in any database we have. I receive the same message running against a VSAM file, FNR 77. What would cause this message to return with incorrect FNR? Most importantly, how do I fix it? Could it be something I missed in the migrate from ADA742 to ADA744?

Help!

---

<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:** [September 19, 2007, 7:51am UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395/2 "2007-09-19T07:51:46Z")

</div>

does the error message point to an application program/line? if so, look there for what DDM is being referenced. If not, check your system file settings (TECH or SYSPROF command) to see if something is being specified incorrectly.

---

<div class="post-metadata">

**Author:** ![David\_Hunter](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@David\_Hunter](https://techcommunity.softwareag.com/u/David_Hunter)\
**Post date:** [September 19, 2007, 6:46pm UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395/3 "2007-09-19T18:46:33Z")

</div>

As Douglas suggested, I looked at Tech and Sysprof parameter displays. Everything looks correct. Every batch job I run, whether application based or maintenance based, gives me the message that Fnr 210 is not found. Since it doesn’t exist, that makes sense. But the jobs do not specify Fnr 210. So somewhere there seems to be a parm that tells the system my FUSER file is 210. Correct?

---

<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:** [September 19, 2007, 7:19pm UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395/4 "2007-09-19T19:19:18Z")

</div>

Are you using Natural Security? If so, DBID/FNR’s can be specified in the STEPLIB list also.

---

<div class="post-metadata">

**Author:** ![SM1](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@SM1](https://techcommunity.softwareag.com/u/SM1)\
**Post date:** [September 24, 2007, 8:19pm UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395/5 "2007-09-24T20:19:12Z")

</div>

The NTTF macro or TF dynamic parameter can be used to translate the DBID and FNR to different numbers.  
So, check the JCL which link-edits the Natural Batch nucleus for any NTTF macro definitions with FNR=210

---

<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:48pm UTC](https://techcommunity.softwareag.com/t/nat3017-error/75395/6 "2021-04-02T14:48:45Z")

</div>


