Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Agent Services (ENDAGTSRV) command ends all of the active agent services on this system that are defined in a preferences file. Another preferences file is also used to help define how the services are ended. The preferences files are stream files named ableplatform.preferences and able.preferences that are located in the directory specified for the Preferences file directory (PREFDIR) parameter.
You can restart the agent services by running the Start Agent Services (STRAGTSRV) command.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PREFDIR | Preferences file directory | Path name, *DFT | Optional |
Top |
Specifies the directory that contains the preferences files that define the agent services to be ended and how they are ended. The preferences files must be named ableplatform.preferences and able.preferences.
Top |
Example 1: Ending with Shipped Default Values
ENDAGTSRV
This command ends all of the agent services defined in the default ableplatform.preferences file in '/qibm/prodData/OS400/able/' in a way defined in the default able.preferences file in '/qibm/prodData/OS400/able/'.
Example 2: Ending with User-Specified Values
ENDAGTSRV PREFDIR('/qibm/userData/OS400/able/test/')
This command ends all of the running agent services defined in the ableplatform.preferences file in '/qibm/userData/OS400/able/test/' in a way defined in the default able.preferences file in '/qibm/userData/OS400/able/test/'.
Top |
*ESCAPE Messages
Error messages from submitted job:
This command submits a batch job which will end the batch jobs where the agent services are running. The following error messages could be signaled from this batch job:
Top |