8.161 SHRDPORT (Set shared device server port)

8.161.1 Function

The SHRDPORT command defines the port number (in decimal) on which the shared device server will
listen and starts or stops the shared device server. The shared device server will allow other Hercules
instances to access devices on this instance. Currently only DASD devices may be shared.

8.161.2 Syntax

Descriptive

[port

Diagram

port ¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ






¬¬ ¬¬¬«




8.161.3 Parameter

port

This is the port number for the shared device server. Any valid port number can be
specified. Specifying a port number starts the shared device server. It is not neces-
sary to issue an explicit start command.

START

Starts the shared device server if it is in the stopped state.

STOP

Stops the shared device server if it is in the started state.

8.161.4 Examples

Example 1:

Start the shared device server.

HHC00013I Herc command: 'shrdport start'

HHC00100I Thread id 000003E8, prio 0, name 'Shared device server 0.1' started

HHC00737I Shared: waiting for shared device requests on port 3000

Figure 293: SHRDPORT command (start the shared device server)

Example 2:

Set the port number for the shared device server to 3999. To change the port number the shared device
server has first to be stopped.

20:05:26 HHC00013I Herc command: 'shrdport stop'

20:05:37 HHC00013I Herc command: 'shrdport 3999'

20:05:37 HHC00100I Thread id 00000BD0, prio 0, name 'Shared device server 0.1' started

20:05:37 HHC00737I Shared: waiting for shared device requests on port 3999

Figure 294: SHRDPORT command (set port number)

Previous Page Next Page