ENDMGDSYS (End Managed System Services)
Note: To use this command, have the 5722-MG1 (Managed System Services for iSeries) licensed program installed.
ENDMGDSYS Command syntax diagram
Purpose
The End Managed System Services (ENDMGDSYS) command ends the managed system jobs after all currently running activities are completed.
Restrictions
- You must have *JOBCTL authority to use the end command.
- Public authority for this command is *EXCLUDE.
Optional Parameters
- OPTION
- Specifies that the managed system jobs have a controlled ending or are to be ended immediately.
*CNTRLD: Specify that the managed system jobs end in a controlled manner.
*IMMED: Specify that the managed system jobs end immediately. The programs that are running do not get time to perform cleanup. This option may cause undesirable results if data has been partially updated. Therefore, this option should be used only if a controlled end was unsuccessful.
- DELAY
- Specifies the delay time before ending is immediate.
*NOLIMIT: The managed system jobs continue processing until the current activity processing is complete.
delay-time: Specify that the managed system jobs end immediately after the delay time.
Examples for ENDMGDSYS
Example 1: Ending Managed System Jobs
ENDMGDSYSThis command ends the managed system jobs after all currently running activities are completed.
Example 2: Ending Managed System Jobs Immediately
ENDMGDSYS OPTION(*IMMED)This command ends the managed system jobs immediately.
Error messages for ENDMGDSYS
*ESCAPE Messages
- CPF3CD9
- Requested function cannot be performed at this time.
- CPF3CDA
- Registration facility repository not available for use.
- CPF81xx
- Damaged object error messages.
- CPF90FF
- *JOBCTL special authority required to do requested operation.
- CPF9872
- Program or service program &1 in library &2 ended. Reason code &3.
- MSS0059
- Internal object not found or damaged.
- MSS005B
- Storage limit exceeded.
- MSS0064
- Internal object not found or damaged.
- MSS0066
- Internal processing error occurred.
- MSS0067
- Not able to allocate internal object.
- MSS0321
- Managed System Services/400 not active.