# Starting more than 1 Natural RPC Services in CICS

**URL:** <https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Mainframe-Integration, EntireX, Natural-on-Mainframes\
**Created:** [January 26, 2021, 8:01am UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282 "2021-01-26T08:01:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lizelle](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Lizelle](https://techcommunity.softwareag.com/u/Lizelle)\
**Post date:** [January 26, 2021, 8:01am UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/1 "2021-01-26T08:01:40Z")

</div>

Hi,  
We try so start more than 1 Natural RPC services in CICS. Is this possible ? It seems that when I start the CICS only one of the services is active. When I change the PLT entries around in the PLT it only start the top one. I change the program XNCIFRNP for each of the services and add then into the CICS  
INITPARM=(XNCIFRN5='TRN=NAT5 STACK=(LOGON …)  
INITPARM=(XNCIFRN2='TRN=NAT2 STACK=(LOGON …)

XNCIFRN2 PROGRAM EXXCICS  
XNCIFRN5 PROGRAM EXXCICS  
NAT2 TRANSACTION EXXCICS  
NAT5 TRANSACTION EXXCICS  
In the CICS output no error messages, can only see XNCIFRN2 is loaded.  
Any ideas, thanks for the help.  
Kind regards Lizelle

---

<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:** [January 26, 2021, 3:24pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/2 "2021-01-26T15:24:22Z")

</div>

are you directing the output (CMPRINT, CMPRT10) to different TDQs? I’m guessing the startup of one transaction is holding a resource and the second one can’t start. If you stop the first one, does the second then start?

---

<div class="post-metadata">

**Author:** ![anon66457657](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon66457657](https://techcommunity.softwareag.com/u/anon66457657)\
**Post date:** [January 26, 2021, 5:37pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/3 "2021-01-26T17:37:22Z")

</div>

Do you see only one RPC server task with CEMT I TASK?

---

<div class="post-metadata">

**Author:** ![Lizelle](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Lizelle](https://techcommunity.softwareag.com/u/Lizelle)\
**Post date:** [January 27, 2021, 8:43am UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/4 "2021-01-27T08:43:45Z")

</div>

Hallo Douglas,

Thanks for the answer. If I stop the first one, the second one start. TDQ’s …… I change the OUTDEST and SENDER in my Natural parms to different names. Still not working, is this the correct parameter.

Thanks for the help …… kind regards Lizelle

---

<div class="post-metadata">

**Author:** ![anon66457657](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon66457657](https://techcommunity.softwareag.com/u/anon66457657)\
**Post date:** [January 27, 2021, 11:48am UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/5 "2021-01-27T11:48:39Z")

</div>

Hello Lizelle,  
please confirm that CEMT I TA only shows one active RPC server task.  
It would also be helpful to get your PLT and the source of your XNCIFRN\*.  
Thank you Wolfgang

---

<div class="post-metadata">

**Author:** ![Lizelle](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Lizelle](https://techcommunity.softwareag.com/u/Lizelle)\
**Post date:** [January 27, 2021, 12:26pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/6 "2021-01-27T12:26:06Z")

</div>

Hallo Wolfgang,

Thanks for the email. I can’t sign on to the CICS where I start the broker services. When I stop the SRV2 service, SRV5 is started automatic. I change the OUTDEST and SENDER on the Natural parms to different values for the one server but without any success.

PLT

INITPARM=(XNCIFRN5=‘TRN=NAT5 STACK=(LOGON NGB,ETBD00,etbpas)’)

INITPARM=(XNCIFRN2=‘TRN=NAT2 STACK=(LOGON NGB,ETBD00,etbpas)’)

 ![image001.png](https://global.discourse-cdn.com/techcommunity/original/2X/1/1546469d5d0db07c4278d45a693c4d0a058b7167.png)

 ![image002.png](https://global.discourse-cdn.com/techcommunity/original/2X/a/a6557e8bc3b86ce3b3b16ecbedbf8627a26c1b24.png)

Thanks for the help !

Kind regards Lizelle

(Attachment XNCIFRN5 is missing)

(Attachment XNCIFRN2 is missing)

---

<div class="post-metadata">

**Author:** ![anon66457657](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon66457657](https://techcommunity.softwareag.com/u/anon66457657)\
**Post date:** [January 27, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/7 "2021-01-27T15:01:15Z")

</div>

Hello Lizelle,  
there appears to be a problem with your attachments: I see  
Attachment XNCIFRN5 is missing  
Attachment XNCIFRN2 is missing  
Please retry  
Thank you Wolfgang

---

<div class="post-metadata">

**Author:** ![anon66457657](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon66457657](https://techcommunity.softwareag.com/u/anon66457657)\
**Post date:** [January 27, 2021, 5:27pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/8 "2021-01-27T17:27:13Z")

</div>

If you can’t add attachments I suggest to open an incident.

---

<div class="post-metadata">

**Author:** ![Lizelle](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Lizelle](https://techcommunity.softwareag.com/u/Lizelle)\
**Post date:** [January 27, 2021, 5:51pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/9 "2021-01-27T17:51:46Z")

</div>

[XNCIFRN2.txt](https://techcommunity.softwareag.com/uploads/short-url/t1a7FC2x8JoUFZjj4K3NZiOeoYu.txt) (18.8 KB) [XNCIFRN5.txt](https://techcommunity.softwareag.com/uploads/short-url/r1gaw0bewk3RlJWuYmSZg0TaNQd.txt) (18.8 KB)

Hallo Wolfgang,  
Attached please find the 2 attachedments.  
Thanks for the help.  
Kind regards Lizelle

---

<div class="post-metadata">

**Author:** ![anon66457657](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon66457657](https://techcommunity.softwareag.com/u/anon66457657)\
**Post date:** [January 27, 2021, 6:16pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/10 "2021-01-27T18:16:48Z")

</div>

I took a quick look at the two programs and my first idea of the problem is apparently confirmed:  
both programs use an EXEC CICS LINK to start the Natural RPC server. As the RPC server will only return if the RPC server is terminated the PLT is waiting for the RPC server termination. As result no furthur program on the PLT is executed.  
The RPC server must be started with EXEC START. May be changing line 150  
from  
BZ FRNT0150 NO, BYPASS  
to  
B FRNT0150 START RPC SERVER  
will already help.  
I cannot test it before Wednesday of next week.

---

<div class="post-metadata">

**Author:** ![Lizelle](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Lizelle](https://techcommunity.softwareag.com/u/Lizelle)\
**Post date:** [January 28, 2021, 2:12pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/11 "2021-01-28T14:12:59Z")

</div>

Hallo Wolfgang,  
Thanks for the information. I change the program and tested, and everything is working 100 % I am so happy ! Thank you so much !  
Kind regards Lizelle

---

<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 28, 2021, 2:13pm UTC](https://techcommunity.softwareag.com/t/starting-more-than-1-natural-rpc-services-in-cics/238282/12 "2021-04-28T14:13:50Z")

</div>

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