Which ports are used by TPF Toolkit?
- TPFtool command line interface - uses the port specified in the TPF Toolkit preferences page (Preferences > TPF Toolkit). Default is 9000.
- Debug Daemon - uses the port specified in the Debug Daemon preferences page (Preferences > Debug > Debug Daemon). Default is 8001.
- RSE communications - uses the port specified in the Communications preferences page (Preferences > Remote Systems > Communications). Default is 4300.
- JCL Submit - uses a predefined port number (currently, the fixed port number is 8050).
- REXEC to start the RSE server - uses the port specified in the Server Launcher Settings property page (in RSE). Default is 512.
- Debug server - debug and PA registrations are sent using the port number specified in the TPF Debug Server preferences page (Preferences > Debug > TPF Debug Server). Default is 8000.
- RSE remote server - the port can be specified in the server.zseries script file on the remote system. By default it is set to 0, which mean the server will use the next available port. You can specify a fixed port number in the script file.
- JES server - the workstation connects to the port specified in the JES subsystem properties page (in RSE).
RSE remote server port usage
To use RSE, you must first install the RSE remote server on the remote system. Once the remote server is installed on the remote system, you can use it in one of the following ways:
- Multiple users can share a single installation of the remote server. This is accomplished by installing the remote server in a directory that all users can access. An instance of the remote server is created for each connection request initiated by the user.
- Individual users can install the remote server in their home directory on the remote system. An instance of the datastore is created for each connection that a user creates to connect to the remote system.
By default, the server.zseries script file is configured to find the next available port when initiating a new instance of the RSE remote server. You can configure the starter script file to use a specific port. This is useful if you connect to RSE across a firewall.
Note: Each instance of the RSE remote server requires a unique port number. You must have as many ports available as the number of connections. For example, typically each user uses a single connection, so one port will be required per user.