End Manager Services (ENDMGRSRV)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The End Manager Services (ENDMGRSRV) command ends the ability to send remote commands to managed systems and ends the ability to gather topology information from nodes and clients.

Restrictions:

  1. You must have *JOBCTL authority to use the end command.
  2. Public authority for this command is *EXCLUDE.
Top

Parameters

Keyword Description Choices Notes
SERVICE Services to end Single values: *ALL
Other values (up to 2 repetitions): *RMTCMD, *TOPOLOGY
Optional, Positional 1
OPTION How to end *CNTRLD, *IMMED Optional, Positional 2
DELAY Delay time, if *CNTRLD 1-999999, *NOLIMIT Optional, Positional 3
Top

Services to end (SERVICE)

Specifies the service to be ended. One or more values may be entered.

*ALL
Specify to end all the manager services.
*TOPOLOGY
Specify to end ability to gather topology information from nodes and clients.
*RMTCMD
Specify to end ability to send remote commands to managed systems.
Top

How to end (OPTION)

Specifies whether the services are to be ended in a controlled manner or immediately.

*CNTRLD
Specify to end the services in a controlled manner.
*IMMED
Specify to end the services immediately.
Top

Delay time, if *CNTRLD (DELAY)

Specifies the delay time in seconds to wait before ending the services immediately.

*NOLIMIT
Specify to continue processing until the current activity processing is completed.
delay-time
Specify to end the services immediately after the specified delay time. Valid entries range from 1 to 999999.
Top

Examples

Example 1: Ending Central Site System Services

ENDMGRSRV   SERVICE(*ALL)

This command ends the central site system services.

Example 2: Ending the Topology Information Services Job

ENDMGRSRV   SERVICE(*TOPOLOGY)  OPTION(*IMMED)

This command ends the ability to gather topology information from nodes and clients.

Top

Error messages

*ESCAPE Messages

MSS0601
*JOBCTL special authority required for requested operation.
MSS0730
Error found on &1 command.
Top