# Two RPC services can't co-exist without one of them issuing 3009 errors

**URL:** <https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes\
**Created:** [June 27, 2023, 11:03am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391 "2023-06-27T11:03:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Edwards2](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andy\_Edwards2](https://techcommunity.softwareag.com/u/Andy_Edwards2)\
**Post date:** [June 27, 2023, 11:03am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/1 "2023-06-27T11:03:40Z")

</div>

Have tried different ADM2 plus ETID values in NatSec to no avail  
Both run fine as standalones (without the other). No consistency  
in which service will produce the 3009s

ADA854, NAT912, ENTIREX 10.9, NDV912

‘NAT3009 Last transaction backed out of database 78. Subcode 66’ for all transactions

---

<div class="post-metadata">

**Author:** ![Finn\_the\_Dane1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/finn_the_dane1/32/132_2.png) [@Finn\_the\_Dane1](https://techcommunity.softwareag.com/u/Finn_the_Dane1)\
**Post date:** [June 27, 2023, 11:23am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/2 "2023-06-27T11:23:51Z")

</div>

## Hi Andy - this is a known “feature” - and solved by applying NATRPC39 Finn See full doc [here](https://documentation.softwareag.com/natural/nat921unx/webhelp/natux-webhelp/rpc/oper.htm?#oper_Handling_Errors)

Avoiding Error Message NAT3009 from Server Program

If a server application program does not issue a database call during a longer period of time, the next database call might return a NAT3009 error message.

To avoid this problem, the optional user exit `NATRPC39` is provided. This exit is called in the following cases:

1. After a Ping command;
2. In case of communication via the EntireX Broker: each time the `SERVER-NONACT` time is exceeded.

![Start of instruction set](https://global.discourse-cdn.com/techcommunity/original/3X/c/a/cac90950244a316e49df3dc484598dcb0bc5c31c.png) **To activate the user exit `NATRPC39`**

1. Copy the sample exit `NATRPC39` from library `SYSRPC` to library `SYSTEM` on system file `FUSER`.The steplib concatenation of the library to which the server currently is logged on is not evaluated.
2. Adapt the database ID which is assigned to field `ACB-RSP` to your needs.
3. Add additional `CALL 'CMADA'` statements, which reference additional database IDs to your `NATRPC39` if more than one Adabas database is involved.

---

<div class="post-metadata">

**Author:** ![Andy\_Edwards2](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andy\_Edwards2](https://techcommunity.softwareag.com/u/Andy_Edwards2)\
**Post date:** [June 27, 2023, 12:26pm UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/3 "2023-06-27T12:26:52Z")

</div>

Apologies, forgot to mention this is already in place. Thanks anyway

---

<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:** [June 27, 2023, 12:38pm UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/4 "2023-06-27T12:38:39Z")

</div>

Interesting, there is no subcode 6 for a Rsp 9 …

What ETID settings have you tried ? F or S should work as they include a timestamp in the actual ETID.

---

<div class="post-metadata">

**Author:** ![Andy\_Edwards2](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andy\_Edwards2](https://techcommunity.softwareag.com/u/Andy_Edwards2)\
**Post date:** [June 27, 2023, 12:55pm UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/5 "2023-06-27T12:55:09Z")

</div>

## As requested Wolfgang. Thanks - Preset User Values -

ETID … U

```
   ETID

```

* * *

Default .. \*USER

---

<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:** [June 27, 2023, 3:26pm UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/6 "2023-06-27T15:26:40Z")

</div>

So does it work when you change it to an “F” ?

---

<div class="post-metadata">

**Author:** ![Andy\_Edwards2](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andy\_Edwards2](https://techcommunity.softwareag.com/u/Andy_Edwards2)\
**Post date:** [June 28, 2023, 7:09am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/7 "2023-06-28T07:09:28Z")

</div>

Thanks for the response.  
We dare not use ‘F’ due to it’s similar functionality to ‘S’ which messed up our ETIDs whilst using DPS  
Apologies but the Subcode is a 66.  
Incidentally, we’re zIIP enabled

---

<div class="post-metadata">

**Author:** ![Andy\_Edwards2](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andy\_Edwards2](https://techcommunity.softwareag.com/u/Andy_Edwards2)\
**Post date:** [July 4, 2023, 2:12pm UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/8 "2023-07-04T14:12:52Z")

</div>

Here’s an update just in case anybody encounters the same issue, a workaround of amending the RPC PROC and adding parameter ‘DBOPEN=ON’ seems to have worked. Any comments why that would work would be appreciated. SAG investigations ongoing

---

<div class="post-metadata">

**Author:** ![Leon\_Matthee](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@Leon\_Matthee](https://techcommunity.softwareag.com/u/Leon_Matthee)\
**Post date:** [July 5, 2023, 4:18am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/9 "2023-07-05T04:18:31Z")

</div>

Hi Andy ,

What is the path of the RPC PROC?

![image002.jpg](https://global.discourse-cdn.com/techcommunity/original/3X/f/0/f003192a1f3cbff81737c51a6c1ed5f5dd97394e.jpeg)

![image001_cccd2bf4-c3e0-4c96-b556-98cf81244cdf.png](https://global.discourse-cdn.com/techcommunity/original/3X/5/0/509a90cc495f3aec29350a03e69acd12f6691690.png)

![image004_138bdf32-6aba-4681-ad4f-53daa86ec9e9.png](https://global.discourse-cdn.com/techcommunity/original/3X/0/5/055bb48730c841db1f3c1c71782b687d7d671e89.png)

![image005_23761c5f-d053-49df-925a-4e1797e33662.png](https://global.discourse-cdn.com/techcommunity/original/3X/9/e/9e6d714844f1180c17a6005305ff9a9534db30f5.png)

![image006_856dd121-bc28-4c4f-9ffe-0137aa2ba9e1.png](https://global.discourse-cdn.com/techcommunity/original/3X/c/e/ce7613397dd4797b77d90d386fae0ce2cffe503f.png)

![image002_e53bb60d-f059-4fa4-a953-c4665e2c6914.png](https://global.discourse-cdn.com/techcommunity/original/3X/7/7/77af9a7b628c387aa451910d5c20a40292f5fc98.png)

 ![Capture_377c4630-4141-4319-a835-126b0a0080bd.JPG](https://global.discourse-cdn.com/techcommunity/original/3X/b/d/bd1b70057e641b059e36b0ad5f759bb5f5e872a4.jpeg)

![image018_5be77e41-1272-444f-9c7d-e42a7e25e9d7.png](https://global.discourse-cdn.com/techcommunity/original/3X/5/0/50844bc3b7cebc3bcfc11371d06db965526fa980.png)

---

<div class="post-metadata">

**Author:** ![Andy\_Edwards2](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andy\_Edwards2](https://techcommunity.softwareag.com/u/Andy_Edwards2)\
**Post date:** [July 5, 2023, 9:31am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/10 "2023-07-05T09:31:41Z")

</div>

Hi Leon, PROC is in SYS3.PROCLIB, is that what u meant?

---

<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:** [January 1, 2024, 9:31am UTC](https://techcommunity.softwareag.com/t/two-rpc-services-cant-co-exist-without-one-of-them-issuing-3009-errors/280391/11 "2024-01-01T09:31:42Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
