NETCU: Add Services (UCX emulation)

Question:

Since TCPware supports UCX emulation what is the TCPware equivalent syntax for adding a service.

Answer:

The NETCU utility is used to add a service. To add a services that uses the UCX compatible protocols (BG_TCP and BG_UDP) you would like to following -

$ NETCU ADD SERVICE 1280 BG_UDP -

/ROUTINE=CREATE_SERVER_PROCESS -

/USERNAME=USER1 -

/INPUT=DISK:[DIRECTORY]STARTSERVICE.COM

In the example above the service would be started on port 1280 using the bg_udp protocol. The service would run using the OpenVMS user -- user1. The file DISK:[DIRECTORY]STARTSERVICE.COM should contain a run command that starts the desired executable.

The add service command should be added to TCPWARE:SERVERS.COM so it is added every time TCPware starts.

For more information on the “add service” command see the “NETCU Commands” section of the “TCPware for OpenVMS - Management Guide.”