# NAT3028 Incorrect descriptor

**URL:** <https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Adabas-Natural-Community-Edition\
**Created:** [September 16, 2017, 2:51pm UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454 "2017-09-16T14:51:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [September 16, 2017, 2:51pm UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/1 "2017-09-16T14:51:59Z")

</div>

Hi Everyone,  
I just started with Natural one on my computer.  
I created a new file and wrote a small program to read the file.I was expecting nothing as the file does not contain anything as yet, but I am getting the following error “NAT3028 Incorrect descriptor”\*

Please find attached my DDM and Program

I did catalogue and stow the DDM with no errors.

I did install both the adabas database and the naturalone.

I did create the database 12 in adabas manager.  
But I do not see the new file when viewing files in the database???

I also keep one getting an invalid file number when ever I try to add a new file.  
I did try from 1 and 2 upto 100.

Any help would be appreciated.

 ![naturalone error2.PNG](https://global.discourse-cdn.com/techcommunity/original/2X/5/59b95ebad3b2dac7fbb62f16419ad3bfcf966075.png)  
 ![naturalone error.PNG](https://global.discourse-cdn.com/techcommunity/original/2X/6/6957af0f2a14755e68145ee691d89e6ed8b9dd62.png)  
 ![naturalone error3.PNG](https://global.discourse-cdn.com/techcommunity/original/2X/5/5561cfc23ed68cda6ce6158698eb0d434d9b8b2b.png)

---

<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:** [September 16, 2017, 11:06pm UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/2 "2017-09-16T23:06:04Z")

</div>

Hi Ivan

Have you tried the following:

READ USER-PROFILE /\* comment out the rest  
of the statement

---

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [September 17, 2017, 9:54am UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/3 "2017-09-17T09:54:30Z")

</div>

Hi Steven,  
Thank you for getting back to me, but that results in a 3041 error " Error in format buffer"

---

<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:** [September 17, 2017, 11:56am UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/4 "2017-09-17T11:56:29Z")

</div>

Hi Ivan

That was the point; to see what error message results when switching from a READ LOGICAL to a READ PHYSICAL.

The 3028 error indicates that the descriptor field could not be found. The 3041 indicates that the view fields are not valid.

Somehow, despite the steps you took, the file is unknown to Adabas.

---

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [September 17, 2017, 11:06pm UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/5 "2017-09-17T23:06:18Z")

</div>

I will try and re-create the file and see if that works

---

<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:** [September 18, 2017, 3:04am UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/6 "2017-09-18T03:04:39Z")

</div>

The error message says that the problem is with file 1 of database 12. Your Adabas Manager report shows file 1 to be the Checkpoint file.

Create your file with an unused number (\> 3). Then point your DDM to that new file.

---

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [September 18, 2017, 6:01am UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/7 "2017-09-18T06:01:12Z")

</div>

Hi Ralph,

With what utility do you add files to the Database?  
Sorry I have not done this before, always been a DBA task.

When adding ddm’s I keep on getting invalid file number even if I use file number 100.

Thank you for the help,  
Ivan

---

<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:** [September 18, 2017, 6:48am UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/8 "2017-09-18T06:48:36Z")

</div>

The ADAFDU utility is easy for experienced DBAs, but can be daunting for developers. May I suggest an easier approach: look for the Create Demo Database icon (Start → Software AG). You’ll get the Employees and Vehicles files ready to use.

Specify a DBID different from the Adabas Manager security database (that is, not 12).

---

<div class="post-metadata">

**Author:** ![Ivan1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ivan1/32/192_2.png) [@Ivan1](https://techcommunity.softwareag.com/u/Ivan1)\
**Post date:** [September 18, 2017, 8:04am UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/9 "2017-09-18T08:04:03Z")

</div>

Hi Ralph.

I did ask my DBA, but he only know predict.  
You don’t have the steps to a small file, that I can setup myself.

I am busy with project for studies and need to setup a few small files for that.

thank you,  
Ivan

---

<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, 3:39pm UTC](https://techcommunity.softwareag.com/t/nat3028-incorrect-descriptor/196454/10 "2021-04-02T15:39:19Z")

</div>


