5.71 SHRDPORT (Shared device server port)
5.71.1 Function
SHRDPORT defines the port number (in decimal) on which the shared device server will listen. The
shared device server will allow other Hercules instances to access devices on this instance. Currently
only DASD devices may be shared. The default port is 3990. If you decide to use a different port number
then you must specify this port number on the device statements for the other Hercules instances. If no
SHRDPORT statement is present then the shared device server thread will not be activated.
5.71.2 Syntax
Descriptive
port
Diagram
¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
port ¬¬¬¬«
¬¬¬«
¬¬
5.71.3 Parameter
3990
This is the default port for the shared device server. If this port number is used then
the port number is not required to be coded on the device statements for other Her-
cules instances.
port
Any valid port number.
START
Start the shared device server thread.
STOP
Stop the shared device server thread.
5.71.4 Examples
Example 1:
Specify 3990 as the port used for the shared device server and start the shared device server thread.
SHRDPORT 3990
SHAREDPORT START
or
SHRDPORT 3990