Example: STRHOSTSVR

Find examples of using the STRHOSTSVR command.

Example 1: Starting all host server daemons

STRHOSTSVR(*ALL)

This command starts all the server daemons and the server mapper daemon, as long as at least one communication protocol is active.

Example 2: To start specific server daemons

STRHOSTSVR SERVER(*CENTRAL *SVRMAP) RQDPCL(*NONE)

This command starts the central server daemon and the server mapper daemon, even if no communication protocols are active.

Example 3: Specification of one required protocol

STRHOSTSVR SERVER(*ALL) RQDPCL(*TCP)

This command starts all the host server daemons and the server mapper daemon, as long as TCP/IP is active.