Keep the folder for a minimum number of days after ended not ok

Enables you to specify a minimum period to keep the SMART folder (and jobs) in the Active Jobs database after the folder is set to NOT OK.

This parameter is enabled only when Keep all jobs in folder until folder is removed is selected.

Additional information

Description

Usage

Optional

Format

An integer from 1 through 98 (days), or 99 (Forever)

Default

1

Variable Name

None

Alternate names

  • Control‑M/EM Utilities: DAYSKEEPINNOTOK
  • Control-M Report: DAYSKEEPINNOTOK
  • Control‑M/Server Utilities: -DAYSKEEPINNOTOK
  • Control‑M for z/OS: DAYSKEEPINNOTOK
  • Control‑M/EM API: dayskeepinnotok

Parameter Values

1

After the job ends not ok, the job is deleted the following day from Active Jobs, if the folder was marked not ok.

n

(n = 1-98)

Indicates a minimum period in which the folder (and the jobs) are kept in Active Jobs database from the day that the folder is marked not ok.

99

The SMART Folder remains in the Active Jobs database indefinitely (or until it is manually deleted), even if it finishes executing.

NOTE: If the SMART folder is marked as not ok, but the status changes (for example, the job that causes the folder ended not ok, but was rerun or forced ok) the value resets. If the SMART folder was set to a status other than not ok there is no minimum period in which it is kept (the previous not ok is ignored). This feature enables you to set a minimum period from the folder failure, so you can investigate the cause of the problem. Default value: 1 day.

Parent Topic

Scheduling Parameters