# NAT0963 when called from EntireX

**URL:** <https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [April 18, 2012, 5:41pm UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188 "2012-04-18T17:41:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guilherme\_Andre1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guilherme_andre1/32/16187_2.png) [@Guilherme\_Andre1](https://techcommunity.softwareag.com/u/Guilherme_Andre1)\
**Post date:** [April 18, 2012, 5:41pm UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/1 "2012-04-18T17:41:36Z")

</div>

Hi Friends,

When i call subprograms using EntireX eventually return the error NAT0963, its a sporadic error that occours only when using entireX.

When the program was called from the emulation terminal, has no problem.

It occours from specific users group, not occours with developer users.

Any sugestions?

---

<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 18, 2012, 5:54pm UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/2 "2012-04-18T17:54:07Z")

</div>

As a NAT0963 means

> [@](#):
>
> Security violation during program execution

it depends on how the clients connect to the RPC server, how securitxy is set up on the RPC server side etc.

---

<div class="post-metadata">

**Author:** ![Guilherme\_Andre1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guilherme_andre1/32/16187_2.png) [@Guilherme\_Andre1](https://techcommunity.softwareag.com/u/Guilherme_Andre1)\
**Post date:** [April 18, 2012, 6:03pm UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/3 "2012-04-18T18:03:26Z")

</div>

Thanks Wolfgang

When i create the EOL object i am using the parameters:

With objEOL  
.ServerAddress = “THE ADDRESS OF THE SERVER”  
.NaturalLogon = “Y”  
.UserID = “USERID”  
.Password = “PASSWD”  
.Library = “LIBRARY”  
End With

After this i do a call to the subroutine using:

objEOL.SUBROTINE PARM1, PARM2, PARM3, …, PARM4

And the next step (i used this after detected the problem, to force the clear of any buffer):

objEOL.logoff

---

<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:** [April 19, 2012, 10:41am UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/4 "2012-04-19T10:41:51Z")

</div>

The explanation of NAT0963 says: “The current user has attempted to execute a Natural program which has a restricted status.”

You said that it occurs from specific users group so it looks like these users do not have the right permission.

---

<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 19, 2012, 11:43am UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/5 "2012-04-19T11:43:00Z")

</div>

The question is:

are THE ADDRESS OF THE SERVER, USERID, PASSWORD and LIBRARY static, i.e. the same  
for those users receiving the NAT0963, or are they different for the developers group ?

---

<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:** [April 19, 2012, 11:33pm UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/6 "2012-04-19T23:33:27Z")

</div>

your client is VB? are you not setting the RPCUserId and RPCPassword? These are the values used by the Natural Logon unless you are using the logon options S or E.

---

<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:** [April 20, 2012, 10:29am UTC](https://techcommunity.softwareag.com/t/nat0963-when-called-from-entirex/100188/7 "2012-04-20T10:29:23Z")

</div>

> [@Douglas Kelly](#):
>
> your client is VB? are you not setting the RPCUserId and RPCPassword? These are the values used by the Natural Logon unless you are using the logon options S or E.

If RPCUserId or RPCPassword are missing UserID resp. Password will be used. See [http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2\_sp2/EntireX/8-2-SP2\_EntireX/dcomWrapper/genObjects.htm#standardWrapperProperties](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/EntireX/8-2-SP2_EntireX/dcomWrapper/genObjects.htm#standardWrapperProperties)

---

<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/nat0963-when-called-from-entirex/100188/8 "2021-04-02T15:01:46Z")

</div>


