Starting and stopping the Network SLAPM2 subagent

Before you start the Network SLAPM2 subagent, the following applications need to be be started and initialized:

The Network SLAPM2 subagent can be started from the z/OS® shell or as a started task.

For more information on specifying run-time options, see z/OS Language Environment Programming Guide. For details on setting the LIBPATH environment variable, also see z/OS UNIX System Services Command Reference.

Start of changeThe /tmp/nslapm2.tcpname.pid is a temporary NSLAPM2 subagent pid file that the Network SLAPM2 subagent creates. This file contains the process ID of the current invocation of the Network SLAPM2 subagent.End of change

Restrictions: Start of change End of change

The Network SLAPM2 subagent can be stopped using the stop command (P NSLAPM2), or using the kill command in the z/OS shell. For example, the following kill command with the TERM signal, where pid is the nslapm2 process ID, enables the Network SLAPM2 subagent to clean up resources properly before terminating itself:

kill -s TERM pid

The nslapm2 process ID can be obtained using the following z/OS UNIX command:

ps  -A