End System Manager (ENDSYSMGR)

The End System Manager (ENDSYSMGR) command ends the job in the QSYSWRK subsystem that run the System Manager functions.

Restrictions:

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

Parameters

Keyword Description Choices Notes
OPTION How to end *CNTRLD, *IMMED Optional, Positional 1
DELAY Delay time, if *CNTRLD 0-999999, *NOLIMIT Optional, Positional 2

How to end (OPTION)

Specifies that the change request manager monitor job and the electronic customer support control job have a controlled ending, or are to be ended immediately.

*CNTRLD
Specify that the change request manager monitor job and the electronic customer support control job ends in a controlled manner.
*IMMED
Specify that the change request manager monitor job and the electronic customer support control job ends immediately.

Delay time, if *CNTRLD (DELAY)

Specifies the delay time before ending is immediate.

*NOLIMIT
The change request manager monitor job and the electronic customer support control job continue processing until the current activity processing is complete. Both jobs name a controlled ending with the maximum value (999999 seconds) specified.
delay-time
Specify that the change request manager monitor job and the electronic customer support control job end immediately after the delay time.

Examples

Example 1: Ending Jobs

ENDSYSMGR

This command ends the jobs in the QSYSWRK subsystem that run the System Manager function in a controlled manner.

Example 2: Ending Jobs Immediately

ENDSYSMGR   OPTION(*IMMED)

This command ends the jobs in the QSYSWRK subsystem that run the System Manager function in an immediate manner.

Error messages

None