# Only 1 DDM ( FDT ) CALLNAT 'USR1043N'

**URL:** <https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Natural\
**Created:** [October 18, 2020, 8:48pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693 "2020-10-18T20:48:39Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Gomez1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ricardo_gomez1/32/7963_2.png) [@Ricardo\_Gomez1](https://techcommunity.softwareag.com/u/Ricardo_Gomez1)\
**Post date:** [October 18, 2020, 8:48pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/1 "2020-10-18T20:48:39Z")

</div>

Hello,

I have a program where I get the columns from a database in a file, but it requires to get only the columns from an DDM (FDT), not all from the DB.

I am occupying CALLNAT ‘USR1043N’

NM LV F LEN

* * *

HB 1 A 4 ← DDM A  
HC 1 A 5 ← DDM C  
HD 1 A 15 ← DDM A  
HE 1 A 5 ← DDM B  
…

I only need the ones from DDM A

Thank you,  
Greetings

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [October 19, 2020, 12:35pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/2 "2020-10-19T12:35:10Z")

</div>

Ricardo,

use USR1058N to read the DDM

---

<div class="post-metadata">

**Author:** ![Ricardo\_Gomez1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ricardo_gomez1/32/7963_2.png) [@Ricardo\_Gomez1](https://techcommunity.softwareag.com/u/Ricardo_Gomez1)\
**Post date:** [October 19, 2020, 3:24pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/3 "2020-10-19T15:24:21Z")

</div>

Hi.  
I am using ‘USR1058N’ but it tells me the following message:  
MSG-NR: 999 MSG:  
Function is not implemented

Could you tell me that I am missing or will you have a working example?

thanks,  
Greetings

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [October 19, 2020, 5:43pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/4 "2020-10-19T17:43:31Z")

</div>

When I run USR1058P out of SYSEXT on Natural 9.1 / Linux I get, for example

 ![image](https://global.discourse-cdn.com/techcommunity/original/2X/0/03279a0d5ce083957ba8c81e1cef00c971ec4e99.png)

---

<div class="post-metadata">

**Author:** ![Ricardo\_Gomez1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ricardo_gomez1/32/7963_2.png) [@Ricardo\_Gomez1](https://techcommunity.softwareag.com/u/Ricardo_Gomez1)\
**Post date:** [October 19, 2020, 5:48pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/5 "2020-10-19T17:48:16Z")

</div>

Hi.  
Could you share an example of the code with me.  
thanks

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [October 19, 2020, 5:49pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/6 "2020-10-19T17:49:11Z")

</div>

Just have a look at USR1058P in Library SYSEXT !

---

<div class="post-metadata">

**Author:** ![Ricardo\_Gomez1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ricardo_gomez1/32/7963_2.png) [@Ricardo\_Gomez1](https://techcommunity.softwareag.com/u/Ricardo_Gomez1)\
**Post date:** [October 19, 2020, 5:52pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/7 "2020-10-19T17:52:18Z")

</div>

> [@wolfgang.winter](#):
>
> Just have a look at USR1058P in Library SYSEXT !

hence take my example, which sends me the message 999.

thanks

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [October 19, 2020, 6:54pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/8 "2020-10-19T18:54:10Z")

</div>

What environment are you running it on ?

---

<div class="post-metadata">

**Author:** ![Ricardo\_Gomez1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ricardo_gomez1/32/7963_2.png) [@Ricardo\_Gomez1](https://techcommunity.softwareag.com/u/Ricardo_Gomez1)\
**Post date:** [October 19, 2020, 9:50pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/9 "2020-10-19T21:50:25Z")

</div>

Natural v6.3.1 on a Unix operating system.  
Thanks

---

<div class="post-metadata">

**Author:** ![George\_Cooper](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/george_cooper/32/7831_2.png) [@George\_Cooper](https://techcommunity.softwareag.com/u/George_Cooper)\
**Post date:** [October 19, 2020, 10:04pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/10 "2020-10-19T22:04:39Z")

</div>

Ricardo,

I’m wondering what value you assigned to the OPT-ACCESS parameter before calling USR1058N? It looks like only “O”, “R”, and “C” are valid, as explained in the USR1058T description below:

```auto
Input ...... OPT-ACCESS (A01)
                    Access type. An open call starts the processing
                    and returns the directory data. The next calls
                    read the object until its end. The close call
                    is done automatically by the subprogram.
                    Possible values are:
                    'O' - Open processing
                    'R' - Read source lines
                    'C' - Close processing; only necessary in
                          a file system environment to force the end
                          of processing.

```

Leaving it blank or some other invalid value might result in the _999 Function is not implemented_ message you are getting.

Hope that helps. If not, it would help if you could post the code you are using to call USR1058N and maybe somebody will spot what you are missing.

Good luck,  
George

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [October 19, 2020, 11:20pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/11 "2020-10-19T23:20:22Z")

</div>

Just tried USR1058P on NAT 6.3.13 / Linux and this works as expected,  
so not sure what your issue is, I can’t test on anything lower than that version, I’m afraid.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Gomez1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ricardo_gomez1/32/7963_2.png) [@Ricardo\_Gomez1](https://techcommunity.softwareag.com/u/Ricardo_Gomez1)\
**Post date:** [October 20, 2020, 12:55pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/12 "2020-10-20T12:55:33Z")

</div>

Thank you.

I’ll try to do some tests in my library.

Greetings

---

<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:45pm UTC](https://techcommunity.softwareag.com/t/only-1-ddm-fdt-callnat-usr1043n/234693/13 "2021-04-02T15:45:17Z")

</div>


