End Service Agent (ENDSRVAGT)

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

The End Service Agent (ENDSRVAGT) command allows a user to end an aspect of Service Agent. The aspect to be ended is specified by the Type (TYPE) parameter.

Top

Parameters

Keyword Description Choices Notes
TYPE Type *SBSJOB Optional, Positional 1
Top

Type (TYPE)

Specifies the aspect of Service Agent to be ended.

*SBSJOB
All Service Agent monitoring jobs running in the QSYSWRK subsystem are to be ended immediately. This option will have no effect if the QSYSWRK subsystem has not been started or the Service Agent monitoring jobs have not been started in the QSYSWRK subsystem.
Top

Examples

ENDSRVAGT   TYPE(*SBSJOB)

This command will end immediately all Service Agent monitoring jobs running in the QSYSWRK subsystem.

Top

Error messages

*ESCAPE Messages

CPF9899
Error occurred during processing of command.
Top