The following answer is from an internal SAG list where this question was cross-posted:
1 & 2) if you use LOGONRQ=ON, then *USER shows the logged-on Natural Security userid.
3) Configure your RPC server to use ETID=’ ’ (blank). Each server replicate is independent: you cannot have two replicates running with the same ETID - Adabas won’t allow it. When one replicate does an ET, it applies only to that server replicate.
4) there are options to have ET’s take place on close of conversation.
5) If you are going to do a group of related updates across several RPC calls, then you must use conversations to tie the updates together and to the same RPC server replicate. If you do not use conversations, then you must do end of transaction on each call or nothing will make sense. As to how many server replicates you need: this depends on how long the transactions are likely to run and how active your concurrent users are. As with online Natural / Adabas transactions, you want to avoid having transactions span any user interactions as there is no guarantee as to when the user will return to complete the transaction. You can use the Natural RPC Server’s NTASKS option to configure up to 99 servers in one batch address space (use shared nucleus and either global buffer pool or shared local buffer pool and tune the various buffer sizes (esize, fsize, etc) for efficient memory usage).
If you are having problems due to the size of the message, consider using the BKIMBTSO interface with Natural (TCP/IP interface), which will let you send/receive as large a message as Natural can define. This may allow you to do your transaction in one call.
Kind regards,
Rolf
Rolf Bahlke
Software AG Research and Development.
#Mainframe-Integration#webMethods#EntireX