# Cics RPC server and EntireX security

**URL:** <https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [November 18, 2004, 4:48pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054 "2004-11-18T16:48:04Z")\
**Posts on this page:** 10\
**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:** [November 18, 2004, 4:48pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/1 "2004-11-18T16:48:04Z")

</div>

Hi everyone,  
I’m trying to use CICS RPC Server with secured Broker in OS/390.  
I compiled the ERXMAIN with NAT2PETS and NA2PPRM, and when I try to bring up the server I get error message of “incosistent security”.  
I went over the docu, and also checked in Servline, and I think I did all what should be done …  
Maybe I left out something?  
Thank you in advance for your help

---

<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 19, 2004, 5:38pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/2 "2004-11-19T17:38:17Z")

</div>

Hi Mona,  
  
which Broker stub are you using ?  
  
Kind regards,  
Rolf

---

<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:** [November 21, 2004, 12:43am UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/3 "2004-11-21T00:43:07Z")

</div>

This error usually occurs when the stub is expecting a secured Broker, but the Broker is running with security=no or the reverse - the stub does not have security enabled, but the Broker does.  
  
Have you verified that you are using the same NA2PPRM module in ERXMAIN as was included in the USRSEC for the Broker?  
  
Douglas Kelly,  
Principal Consultant  
Software AG, Inc  
Sacramento, California

---

<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 21, 2004, 12:38pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/4 "2004-11-21T12:38:51Z")

</div>

I’m not sure what Broker stub the CICS RPC server uses …  
I know for sure I linked the correct NA2PPRM module .  
It looks like the CICS RPC server doesn’t recognize it has security configuration

---

<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 23, 2004, 7:03pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/5 "2004-11-23T19:03:12Z")

</div>

> [@](#):
>
> I compiled the ERXMAIN with NAT2PETS and NA2PPRM, and when I try to bring up the server I get error message of “incosistent security”.

Hi Mona,  
  
ERXMAIN is just the control block but not the RPC Server. You need to change the RPCSRV module (which uses the ETBCICS stub).  
  
Kind regards,  
Rolf

---

<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 25, 2004, 2:51pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/6 "2004-11-25T14:51:09Z")

</div>

Hi Rolf  
That was my mistake I guess .  
But should I add the 2 module to RPCSRV, or take SECUEXIT (according to the documentation this is the step if the runtime stub is C-stub and not ASSEMBLER one).  
Thank you  
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 25, 2004, 11:07pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/7 "2004-11-25T23:07:37Z")

</div>

Hi Mona,  
  
per default the RPC Server uses the ETBCICS stub which is the Assembler variant. So you should use the NA… modules.  
  
Kind regards,  
Rolf

---

<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:** [December 2, 2004, 12:49pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/8 "2004-12-02T12:49:08Z")

</div>

Hi RolfI compiled the RPCSRVC with the NA\* modules, and the program fails to work now .  
When ESRV is activated , RPCSRVC gets called in the CICS and exits immediatelly .Looks like something is wrong with it .  
When I use the standard RPCSRVC all works fine …  
MAybe you have some idea ?

---

<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:** [December 17, 2004, 8:27pm UTC](https://techcommunity.softwareag.com/t/cics-rpc-server-and-entirex-security/59054/9 "2004-12-17T20:27:41Z")

</div>

Hi Mona,  
  
it looks like there are some problems using the CICS RPC Server with Security. We have created a problem log for this issue.  
  
Kind regards,  
Rolf

---

<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/cics-rpc-server-and-entirex-security/59054/10 "2021-04-02T14:39:37Z")

</div>


