Command reference / sys

STRCLNUP

Start Cleanup

Starts the automatic cleanup. A cleanup control job is submitted to the job queue named on CHGCLNUP and runs as user QPGMR; it submits the cleanup jobs to the same queue at the STRTIME of CHGCLNUP each day, or at once with OPTION(*IMMED). Cleanup runs only when CHGCLNUP has ALWCLNUP(*YES) (CPF1E38), and it cannot be started twice (CPF1E37). You must have *JOBCTL special authority and at least *USE authority to user profile QPGMR (CPF1E3A).

Allowed environments: *ALL. Positional parameters: 1.

Parameters

OPTION When to start cleanup

Specifies whether the cleanup starts at the scheduled time or immediately.

Type
*CHAR
Required
No
Default
*SCHED
Length
10
Case
Uppercase

Allowed values: *SCHED, *IMMED

*SCHED
The cleanup starts as scheduled by the STRTIME parameter of CHGCLNUP. This is the default.
*IMMED
The cleanup starts immediately.

Examples

STRCLNUP

Schedules the cleanup to start each day at the time CHGCLNUP names.

STRCLNUP OPTION(*IMMED)

Starts the cleanup immediately.

IBM command documentation

Generated from os/cl/catalog/STRCLNUP.json and os/cl/help/STRCLNUP.json.