EntireX RPC Server: Error 1520 line 2070 NATSRVT

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

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]

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

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)