# Calling natural RPC sever from Natural

**URL:** <https://techcommunity.softwareag.com/t/calling-natural-rpc-sever-from-natural/75177>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [August 7, 2007, 3:30pm UTC](https://techcommunity.softwareag.com/t/calling-natural-rpc-sever-from-natural/75177 "2007-08-07T15:30:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garth\_Endacott](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Garth\_Endacott](https://techcommunity.softwareag.com/u/Garth_Endacott)\
**Post date:** [August 7, 2007, 3:30pm UTC](https://techcommunity.softwareag.com/t/calling-natural-rpc-sever-from-natural/75177/1 "2007-08-07T15:30:08Z")

</div>

Hi,

I have two broke kernels running on different MVS machines. I am only allowed to have Natural RPC servers executing all the time (no ACI). I would like to call the one machine’s rpc server from the other machine’s Natural.  
I’ve tried using the (call ‘broker’) statement, but I suspect my etb API definition is incorrect.

Any suggestions?

Thanks  
Garth

Exx ver 7.1.1  
Natural 4.1

---

<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:** [August 7, 2007, 4:07pm UTC](https://techcommunity.softwareag.com/t/calling-natural-rpc-sever-from-natural/75177/2 "2007-08-07T16:07:55Z")

</div>

When you are calling a Natural RPC server from Natural, you would simply issue a CALLNAT for the remote subprogram, you don’t need to do any ACI (call ‘broker’) programming.

---

<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:** [August 7, 2007, 9:50pm UTC](https://techcommunity.softwareag.com/t/calling-natural-rpc-sever-from-natural/75177/3 "2007-08-07T21:50:03Z")

</div>

You need to configure your client Natural with RPC parameters (RPC=(AUTO=ON,MAXBUFF=30,RPCSIZE=96,etc) and use SYSRPC (or DFS parameter) to identify the remote subprogram, library, server and node (Broker). Once configured you can use the CALLNAT as Wolfgang mentions.

---

<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/calling-natural-rpc-sever-from-natural/75177/4 "2021-04-02T14:48:38Z")

</div>


