$S NETSRV(nnn) - Start a network server

Function

To start a network server.

Syntax

Read syntax diagramSkip visual syntax diagram$SNETSRVNETSERVNSVnn-mm*(,nn*-mm*)Selection limiting keywordsModification keywords
Modification keywords
Read syntax diagramSkip visual syntax diagram,SOCKet= socket,STACK= stackTRaceio=(,Common=NoYesJes=NoYesVerbose=NoYesYesNo)
Selection limiting keywords
Read syntax diagramSkip visual syntax diagram,/SOCKet=^=><socket,/STACK=^=><stack

Parameters

(nn)|(nn-mm)
A single or range of numeric values between 1 to 999.
SOCKET=
Specifies the name of a local socket which the NETSRV should listen upon.
TRaceio=(YES|NO|JES=YES|NO|COMMON=YES|NO|VERBOSE=YES|NO)
Specifies whether tracing is to be active, and which types of traces are to be activated for the server.
YES
Indicates all types of tracing are to be done (JES, COMMON, VERBOSE).
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.
STACK=
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 will be used. When only an INET configuration is being used, specification of a stack name is ignored.

Authority Required

This command requires system authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned.

This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.

Scope

Single system. The values supplied for this command will be in effect for this member only.

Messages

$HASP898

Example

$s netsrv2

$HASP898 NETSRV2 STATUS=INACTIVE,SOCKET=S2,STACK=