# How to call a CICS application protected by RACF via EntireX

**URL:** <https://techcommunity.softwareag.com/t/how-to-call-a-cics-application-protected-by-racf-via-entirex/99596>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [January 26, 2012, 11:23pm UTC](https://techcommunity.softwareag.com/t/how-to-call-a-cics-application-protected-by-racf-via-entirex/99596 "2012-01-26T23:23:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![soliver](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@soliver](https://techcommunity.softwareag.com/u/soliver)\
**Post date:** [January 26, 2012, 11:23pm UTC](https://techcommunity.softwareag.com/t/how-to-call-a-cics-application-protected-by-racf-via-entirex/99596/1 "2012-01-26T23:23:37Z")

</div>

I am trying to call a CICS application that requires a RACF ID and Password from an EntireX .Net wrapper. The Broker calls the CICS application directly (i.e. it doesn’t involve Natural).

I have tried creating my broker with the racf id

myBroker = new Broker (myBrokerconnectionstring, myRACFid)  
then I create my server and then  
myServer.Broker.Logon(myRACFpassword)

This doesn’t seem to work.

Am I just logging into the Broker or does the Broker pass the userid and password on to RACF?

Thanks for your help.

---

<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 27, 2012, 4:24am UTC](https://techcommunity.softwareag.com/t/how-to-call-a-cics-application-protected-by-racf-via-entirex/99596/2 "2012-01-27T04:24:46Z")

</div>

When you say “it doesn’t work” can you be more specific? Are you getting an error on the Logon call? On the service call?

With EntireX Security, EntireX Broker passes your user id and password to RACF to authenticate. This authentication is not performed from CICS. The authenticated user id has to be authorized (using RACF resource rules) to use the class/server/service trinity being requested. An EntireX RPC Server (registered to provide the service identified by the class/server/service requested) needs to be running in CICS (if EntireX Security is indeed involved). The actual CICS program invocation is done by this RPC Server.

If you are using Direct RPC, EntireX Security is not available.

---

<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:** [January 27, 2012, 10:42am UTC](https://techcommunity.softwareag.com/t/how-to-call-a-cics-application-protected-by-racf-via-entirex/99596/3 "2012-01-27T10:42:17Z")

</div>

You should check the following in the documentation:

[Using Impersonation under CICS](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/EntireX/8-2-SP2_EntireX/adminZos/rpcServerCics.htm#rpcCics_useImpersonation)

[Using Impersonation](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/EntireX/8-2-SP2_EntireX/adminZos/rpcServerBatch.htm#rpcBatch_useImpersonation)

---

<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, 3:01pm UTC](https://techcommunity.softwareag.com/t/how-to-call-a-cics-application-protected-by-racf-via-entirex/99596/4 "2021-04-02T15:01:30Z")

</div>


