# EntireX RPC Server: Error 1520 line 2070 NATSRVT

**URL:** <https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [September 16, 2008, 2:35am UTC](https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010 "2008-09-16T02:35:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dieter\_W\_Storr](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/dieter_w_storr/32/91_2.png) [@Dieter\_W\_Storr](https://techcommunity.softwareag.com/u/Dieter_W_Storr)\
**Post date:** [September 16, 2008, 2:35am UTC](https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010/1 "2008-09-16T02:35:04Z")

</div>

We changed the way to start the EntireX RPC Servers on the mainframe.

Instead of starting 5 RPC Server jobs, we now start only one job containing 5 tasks (NTASKS=5) and set trace to 1 (TRACE=1). And we also switched from SVC to TCP/IP.

Task 1 (CMPRT10) traces everything.

But tasks 2-5, (CMPRINT1-4) receive the error message:  
Error during RPC trace, trace switched off now  
Error 1520 line 2070 NATSRVT  
Error during RPC trace, trace switched off now  
Error 1520 line 2070 NATSRVT

I didn

---

<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:** [September 16, 2008, 4:22am UTC](https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010/2 "2008-09-16T04:22:43Z")

</div>

With NTASKS \> 1 the handling of CMPRTnn files is a bit different, see

[url][http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/rpc/oper.htm#oper\_rpc\_trace\_file\_os390batch[/url]](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat424mf/rpc/oper.htm#oper_rpc_trace_file_os390batch%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![Dieter\_W\_Storr](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/dieter_w_storr/32/91_2.png) [@Dieter\_W\_Storr](https://techcommunity.softwareag.com/u/Dieter_W_Storr)\
**Post date:** [September 16, 2008, 6:22am UTC](https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010/3 "2008-09-16T06:22:15Z")

</div>

Wolfgang,

This is now my updated JCL:

//RPCSRV EXEC NAT42,DEPT=ST,DB=DEVL,TIME=100,  
// PARM=’ ‘,  
// CALLIB=‘ADABAS.EXX721.USER.LOAD’  
//SYSOUT DD SYSOUT=\*  
//CMPRINT DD SYSOUT=\* OUTPUT OF THE MAIN TASK  
//CMPRINT1 DD SYSOUT=\* OUTPUT OF SUBTASK 1  
//CMPRINT2 DD SYSOUT=\* OUTPUT OF SUBTASK 2  
//CMPRINT3 DD SYSOUT=\* OUTPUT OF SUBTASK 3  
//CMPRINT4 DD SYSOUT=\* OUTPUT OF SUBTASK 4  
//CMPRINT5 DD SYSOUT=\* OUTPUT OF SUBTASK 5  
//CMPRT10 DD SYSOUT=\* TRACE FOR SUBTASK 1  
//CMPRT101 DD SYSOUT=\* TRACE FOR SUBTASK 2  
//CMPRT102 DD SYSOUT=\* TRACE FOR SUBTASK 3  
//CMPRT103 DD SYSOUT=\* TRACE FOR SUBTASK 4  
//CMPRT104 DD SYSOUT=\* TRACE FOR SUBTASK 5  
//TRACE1 DD SYSOUT=\*  
//CMSYNIN DD DDNAME=SYSIN  
//CMSYNIN DD DDNAME=SYSIN  
//SYSIN DD DSN=ST.DEVL.RPCSRVR.SECURITY(STRPC001),DISP=SHR  
//CMPRMIN DD \*  
PARM=STDEVT,SYS=STDEVT,IM=D,PLOG=ON  
AUTO=OFF,  
BPNAME=N423D28,  
RCA=(BROKER),RCALIAS=(BROKER,BKIMBTSO),  
RPC=(SERVER=ON,RPCSIZE=5000,ACIVERS=4,LOGONRQ=ON,  
SRVNODE=‘xxx.187.32.2:18235:TCP’,  
SRVUSER=’\*NSC’,SRVNAME=STDEVT2,MAXBUFF=4992,NTASKS=5,TRACE=1)  
//

I don’t know where the TRACE1 statement comes from?

It also seems to me that the ouput of CMPRINT cuts off the parm values after NT.  
…SRVUSER=‘\*NSC’,SRVNAME=STDEVT2,MAXBUFF=4992,NT

Thank you.  
Dieter

PS  
Servus nach Oesterreich

---

<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:** [September 16, 2008, 11:36am UTC](https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010/4 "2008-09-16T11:36:53Z")

</div>

1. 

The TRACE1 file is required if a stublog of the EntireX Broker stub should be written (for the first subtask). Use TRACE2, TRACE3,… for additional subtasks.  
2)  
The contents of one RPC=(…) string is limited to one print line. To see all RPC subparameters use several RPC=…) strings, for example:  
RPC=(SERVER=ON,RPCSIZE=5000,ACIVERS=4,LOGONRQ=ON),  
RPC=(SRVNODE=‘xxx.187.32.2:18235:TCP’),  
RPC=(SRVUSER=‘\*NSC’,SRVNAME=STDEVT2),  
RPC=(MAXBUFF=4992,NTASKS=5,TRACE=1)

---

<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:50pm UTC](https://techcommunity.softwareag.com/t/entirex-rpc-server-error-1520-line-2070-natsrvt/79010/5 "2021-04-02T14:50:53Z")

</div>


