# USR1058N. MSG-NR: 999 MSG: Function is not implemented

**URL:** <https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Natural\
**Created:** [November 13, 2020, 6:07pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037 "2020-11-13T18:07:51Z")\
**Posts on this page:** 12\
**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:** [November 13, 2020, 6:07pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/1 "2020-11-13T18:07:51Z")

</div>

Hi  
when you ran my example:  
CALLNAT ‘USR1058N’ USR1058L USR1058N.EXTENDED-PARMS NAD-MSG NAD-FLD

returns me:  
MSG-NR: 999 MSG:  
Function is not implemented

Thank you

---

<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:** [November 14, 2020, 10:00pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/2 "2020-11-14T22:00:27Z")

</div>

Strange that the documentation (module USR1058T in library SYSEXT) doesn’t include error 999. The message implies a FUNCTION field, but you control it via the OPT-ACCESS field.

Does USR1058N work when you run USR1058P?

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [November 16, 2020, 9:35am UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/3 "2020-11-16T09:35:49Z")

</div>

From the code of USR1058N, I see that the error 999 is returned if _USR1058N.VERSION_ contains an unexpected value. Unfortunately, USR1058T neither mentions the error 999 nor does it really shows the latest _VERSION_ value. USR1058N checks for _VERSION_ 0-5. Indeed 5 is the latest (which I see). And 5 is also the _VERSION_ which is used by USR1058P.  
Which value contains your _USR1058N.VERSION_?

---

<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:** [November 17, 2020, 2:47pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/4 "2020-11-17T14:47:10Z")

</div>

> [@Lukas\_Hundemer](#):
>
> From the code of USR1058N, I see that the error 999 is returned if _USR1058N.VERSION_ contains an unexpected value. Unfortunately, USR1058T neither mentions the error 999 nor does it really shows the latest _VERSION_ value. USR1058N checks for _VERSION_ 0-5. Indeed 5 is the latest (which I see). And 5 is also the _VERSION_ which is used by USR1058P.  
> Which value contains your _USR1058N.VERSION_ ?

Hi,  
How do I get the version from natural?

thank you

---

<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:** [November 17, 2020, 3:00pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/5 "2020-11-17T15:00:39Z")

</div>

Hi,  
take an example they passed me from systext and just execute by putting my DDM.

You will have some simple example where only USR1058N is invoked.

Thank you

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [November 17, 2020, 6:56pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/6 "2020-11-17T18:56:01Z")

</div>

USER1058N.VERSION is a field which specifies the version of the user exit USER1058N which you want to use. If you are using the newest version of the user exit, supply the vale “5” in this field. The sample program uses this value (“5”) as INIT value.

---

<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:** [November 17, 2020, 9:11pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/7 "2020-11-17T21:11:45Z")

</div>

> [@Lukas\_Hundemer](#):
>
> SER1058N.VERSION is a field which specifies the version of the user exit USER1058N which you want to use. If you are using the newest version of the user exit, supply the vale “5” in this field. The sample program uses this value (“5”) as INIT value.

I am occupying:  
2 VERSION (I01) INIT \<5\>

greetings

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [November 18, 2020, 9:52am UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/8 "2020-11-18T09:52:34Z")

</div>

This looks fine.  
Can you please verify that the USR1058N found by your program, contains the newest version. Check your current library and all steplibs which are ahead of SYSEXT, whether it contains this object. If yes, replace it by the one from SYSEXT (or delete it and use SYSEXT as steplib if possible).  
If you are sure that you are using the newest version of USR1058N, the only other reason I see for the 999, is that the underlying (internal) NAT-interface is outdated. This checks again the VERSION field and returns a 999 if the check fails. But the NAT\* interfaces are delivered by Software AG and usually not copied by customers.

---

<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:** [November 18, 2020, 3:58pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/9 "2020-11-18T15:58:02Z")

</div>

make a version change and now it tells me:

1006 Object does not exist

thank you

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [November 18, 2020, 5:39pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/10 "2020-11-18T17:39:03Z")

</div>

is this good or bad news?

---

<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:** [November 18, 2020, 6:20pm UTC](https://techcommunity.softwareag.com/t/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/11 "2020-11-18T18:20:19Z")

</div>

this is good news as i have managed to correct it and i already get the query.

thank you

---

<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/usr1058n-msg-nr-999-msg-function-is-not-implemented/235037/12 "2021-04-02T15:45:24Z")

</div>


