# SEnding a single request to several instances

**URL:** <https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [October 31, 2005, 10:18pm UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481 "2005-10-31T22:18:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mona\_Kaminsky](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@Mona\_Kaminsky](https://techcommunity.softwareag.com/u/Mona_Kaminsky)\
**Post date:** [October 31, 2005, 10:18pm UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/1 "2005-10-31T22:18:33Z")

</div>

Hi everyone  
I was asked by one of my customers for an idea of how he can send a single request from an RPC client, and all the instances of a Natural RPC server will receive . I couldn’t come up with any smart solution, and I thought maybe someone can give me some idea.  
Thanks  
Mona

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [November 1, 2005, 12:52am UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/2 "2005-11-01T00:52:15Z")

</div>

Hi Mona,

RPC is usually a synchronous request/reply technology. Thus the client creates the request and receives an answer from one server. The request cannot be send to multiple servers, what reply would you expect in this case ?

For this scenario you can use Publish&Subscribe which has been introduced with EXX 7.2. Pubsub cannot be used with RPC (unless you use the BMQ Bridge).

---

<div class="post-metadata">

**Author:** ![Mona\_Kaminsky](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@Mona\_Kaminsky](https://techcommunity.softwareag.com/u/Mona_Kaminsky)\
**Post date:** [November 1, 2005, 7:45pm UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/3 "2005-11-01T19:45:36Z")

</div>

HI Rolf  
I’m aware of the fact that with usual RPC it can’t be done .  
The cu request is to send a shutdown comand to all the active instances of the same server .  
Maybe this is possible somehow ?  
Best regards,  
Mona

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [November 1, 2005, 11:14pm UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/4 "2005-11-01T23:14:09Z")

</div>

Hi Mona,

this is the standard behaviour of the Control Center, SMH, or the “terminate server” command of C RPC or Natural RPC (with up-to-date versions of Natural).

---

<div class="post-metadata">

**Author:** ![Mona\_Kaminsky](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@Mona\_Kaminsky](https://techcommunity.softwareag.com/u/Mona_Kaminsky)\
**Post date:** [November 2, 2005, 2:04am UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/5 "2005-11-02T02:04:00Z")

</div>

And this will bring down all the instances ?

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [November 2, 2005, 9:06pm UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/6 "2005-11-02T21:06:17Z")

</div>

Yes, that’s the intention.

---

<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:39pm UTC](https://techcommunity.softwareag.com/t/sending-a-single-request-to-several-instances/59481/7 "2021-04-02T14:39:52Z")

</div>


