Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Start Cleanup (STRCLNUP) command starts the cleanup operation, if allowed. Cleanup is allowed if *YES is specified for the Allow cleanup (ALWCLNUP) parameter of the Change Cleanup (CHGCLNUP) command.
A batch job is submitted to the job queue specified on the Change Cleanup (CHGCLNUP) command if cleanup is allowed. This cleanup control job submits individual batch jobs to the same job queue each day These batch jobs do the actual cleanup of the items specified on the CHGCLNUP command.
More information is in the Basic System Operation information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
Restriction: You must have job control (*JOBCTL) special authority and have at least *USE authority to the QPGMR user profile to use this command.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OPTION | Option | *SCHED, *IMMED | Optional, Positional 1 |
Top |
Specifies when the cleanup operation is started.
Top |
Example 1: Starting Cleanup Operation as Scheduled
STRCLNUP
This command starts the cleanup operation as specified.
Example 2: Starting Cleanup Operation as Specified on CHGCLNUP Command
STRCLNUP OPTION(*SCHED)
This command starts the cleanup operation as specified on the STRTIME parameter of the Change Cleanup (CHGCLNUP) command or on the Change Cleanup Options panel.
Example 3: Starting Cleanup Operation Immediately
STRCLNUP OPTION(*IMMED)
This command starts the cleanup operation immediately.
Top |
*ESCAPE Messages
Top |