Previous Topic

Next Topic

Book Contents

Book Index

Set to Ok

Assigns the completion status of OK to a job, regardless of its actual completion status.

Additional information

Description

Usage

Optional

Format

Select Set to Ok from the Do list box. No additional information is required.

Variable Support

No. A variable or expression cannot be specified as all or part of the value for this parameter.

Alternate names

  • Control‑M/EM Utilities: OK
  • Control‑M/Server Utilities: ‑dook
  • Control‑M for z/OS: DO OK
  • Control‑M/EM API: do

For most jobs:

If Set to Ok and Set to End Job Not ok are both specified, and are implemented, the last statement to be implemented determines the status assigned to the job.

For z/OS jobs:

When:

Set to End Job Ok, Set to End Job Not Ok and/or Rerun Job are specified for different codes-events in a job processing definition.

-and-

More than one of the codes-events is executed, including the codes-event specifying Set to End Job Ok.

Then:

Set to End Job OK is overridden by Set to End Job Not Ok and/or Rerun Job, regardless of the order in which the codes-events are executed.

Parent Topic

On/Do Actions