Parameter Description for NETSERV(1-nnn)

RESTART= (Yes|No,interval)
Specifies whether this netsrv is restarted if it is drained. The interval is the time (in minutes) between attempted restarts. The valid range for interval is 0 to 1440. A value of 0 indicates that the default interval (from NJEDEF CONNECT=) is used. The default RESTART value is No, and the default interval value is 0.
SOCKET=xxxxxxxx
Specifies the name of a local socket upon which the NETSRV should listen.

Modification: $TNETSRV command.

START=Yes|No
Specifies whether (Yes) or not (No) this server should be started automatically. The default START value is No.
TRaceio=Yes|No|JES=YES/NO|COMMON=YES/NO|VERBOSE=YES/NO
Specifies whether (YES) or not (NO) tracing is to be active, and if YES, which types of traces are to be activated for the server.
YES
Indicates all types of tracing are to be done.
NO
Indicates no tracing is to be done.
JES=YES|NO
Indicates whether data and control records passed between JES and TCP/IP are to be traced for this server.
COMMON=YES|NO
Indicates whether TCP/IP and other services called by IAZNJTCP are to be traced.
VERBOSE=YES|NO
Indicates whether diagnostic messages are to be issued to the master console and SYSLOG.

Modification: $T NETSRV command.

STACK=xxxxxxxx
Specifies the name of a TCP/IP stack to be used by this server when the Common INET (CINET) configuration is being used. If not specified, all stacks on the local machine is used. When only an INET configuration is being used, a specification of a stack name is ignored.

Modification: $T NETSRV command.

SECURE=OPTIONAL|REQUIRED|USE_SOCKET
Indicates whether the NETSERV should accept only connection requests with a secure protocol in use such as TLS/SSL. When SECURE=REQUIRED is specified, the NETSERV rejects all connection requests that do not specify a secure protocol is to be used for the connection. When SECURE=OPTIONAL is specified, the NETSERV allows connections with or without a secure protocol in use.

The default, USE_SOCKET, inherits the SECURE setting from the SOCKET statement associated with the NETSERV. If the SOCKET says SECURE=YES, then processing is the same as specifying SECURE=REQUIRED on the NETSERV.

To specify that the NETSERV should use NJENET-SSL (2252) as the PORT it is listening on and the default port for outgoing connections, but not require all connections to use TLS/SSL, you must specify SOCKET SECURE=YES on the socket that is associated with the NETSERV and set the NETSERV to SECURE=OPTIONAL.