The supplied files for the BS2000 agent include the utility UCYBRFC? for RFC tasks.
The INI file of the agent contains the section "[RFC]" with the parameter "LOGON". If this parameter is set to "1", the agent generates a batch job with the specified User ID when executing a file transfer with a specified User ID. In this batch job, the service program UCYBRFC? is called. It connects to TCP/IP via the port that has been defined in the section [RFC] with the parameter "PORT". This connection enables the agent to check the specified user's access rights for the particular file. As this method causes a performance loss for the agent, the RFC tasks are kept available for further file transfers. Only if an RFC task has received no queries for a specified period of time (parameter TIMEOUT=), it ends automatically. When the agent ends, all the corresponding RFC tasks end as well.
The file UCYBRFC? must be shareable when the RFC mechanism is activated.