Step 1: Configuring PROFILE.TCPIP for TSO Remote Execution server

If you want the Remote Execution server to start automatically when the TCPIP address space is started, include the name of the member containing the RXSERVE cataloged procedure in the AUTOLOG statement in the hlq.PROFILE.TCPIP data set.
AUTOLOG
  RXSERVE
ENDAUTOLOG
To ensure that port 512 is reserved for the Remote Execution protocol and port 514 for the Remote Shell protocol, add the name of the member containing the Remote Execution cataloged procedure to the PORT statement in hlq.PROFILE.TCPIP:
PORT
  512 TCP RXSERVE
  514 TCP RXSERVE
See z/OS Communications Server: IP Configuration Reference for more information about the AUTOLOG and PORT statements.