z/OS Job

z/OS jobs are used to execute a task on a z/OS system.

The following table describes the attributes for a z/OS Job type.

Attribute

Description

Job Type

Defines the type of Job that determines which fields are exposed in a Job definition. The value of the Job type is based on the platform for the Job run. Jobs defined as Dummy provide instructions for Control-M such as post-processing actions.

Value: z/OS

Job Name

Defines the name of the Job processing definition.

Rules:

  • Characters: 1-8

  • Case sensitive: Yes

  • Invalid characters:

    • Single quotation marks

    • Cannot begin with a digit character

  • Valid characters: A-Z, 0-9, @, #, $”

Description

Defines a description of the job in free text.

Rules:

  • Characters: 1- 4000
  • Case sensitive: Yes

Run as dummy

Enables you to run jobs using a dummy job, and not as a Dummy Job type.

What

Defines one or more attributes which determines what the Job runs as follows:

  • Member: Defines that the Job runs a JCL saved in the Member located in the Member Library.
  • Embedded JCL: Defines that the Job runs an embedded JCL saved in the Folder Library.

Member Library

Defines the location of the Member that contains the JCL, started task procedure, or warning message.

Rules:

  • Characters: 1- 44
  • Built of qualifiers: 1-8 characters in length separated by '.' (min 1 character, cannot begin with a digit character).
  • Invalid characters: Non-English characters or begin with "."
  • Valid characters: A-Z, 0-9, @, #, $

Member

Defines the name of a member that contains one of the following in relation to the Job to be executed:

  • JCL of the Job
  • Started task procedure
  • Warning message

Rules:

  • Characters: 1- 8
  • Invalid characters: Non-English characters and cannot begin with a digit character.
  • Valid characters: A-Z, 0-9, @, #, $”

Embedded JCL

Defines a script exactly as it would be specified in a terminal for the specific computer and is part of the Job definition.

Rule: 64000 B

Control-M/Server

Defines the name of the Control-M for z/OS that processes the Job.

Run as

Defines the user name with the authorization to execute the Job. This attribute is used by the Control-M security mechanism.

Rules: 1- 8 characters

Override Path

Defines a temporarily-modified Job script file without changing the original script file in the File Path/Member library and without changing the scheduling order of a folder.

Rules:

  • Characters: 1- 44
  • Built of qualifiers: 1-8 characters in length separated by '.' (min 1 character, cannot begin with a digit character).
  • Invalid characters: Non-English characters or begin with ".". The contents of this field must not begin with the following strings:
    • GENERAL

    • USER=

  • Valid characters: A-Z, 0-9, @, #, $”

Pre-Execution Sleep

Determines the number of minutes and/or seconds to wait before a job executes. The job must meet all the prerequisite criteria and be eligible for execution before the wait time starts.

Rules: 0-9999

Default: 0

If you export the workspace, the attribute functions as the variable %%CTM_PRE_SUB_WAIT, with a value of up to four digits followed by M (minutes) or S (seconds).

If you define this attribute with a value of 655 seconds, the XML output appears as %%CTM_PRE_SUB_WAIT=655S.

This attribute is supported in Control-M/Server version 9.0.21 or higher.

Run as started task

Specifies that the Job is invoked with the operator START command.

Application

Defines a logical name for sorting groups of Jobs. This attribute is used to supply a common descriptive name to a set of related Job groups. The Jobs do not necessarily have to run at the same time.

Rules:

Invalid characters: Single quotation marks, blanks

Sub Application

Defines the name of the Sub Application where the Job belongs logically. It is a sub-category of the Application attributes, such as, Application = Finances, and the Sub Application = Payroll.

Rules:

  • 1- 64 characters
  • Case Sensitive
  • Invalid Characters: Single quotation marks, blanks

Scheduling Environment

Defines the JES2 workload management scheduling environment that is to be associated with the Job.

Rules:

  • 1-16 characters
  • Case Sensitive
  • Invalid Characters: Non-English characters, blanks

System Affinity

Defines the identity of the system in which the Job must be initiated and executed (in JES2).

Rules:

  • 1- 5 alpha-numeric characters
  • The alpha-numeric characters can be proceeded by a "/". "/" as a first character indicates NOT in JES3.
  • Invalid characters: Non-English characters

Request NJE Node

Defines the node in the JES network where the Job executes.

Rules:

  • 1- 8 characters
  • Invalid Characters: Single quotation marks,"$", "/", "*", "?", " "

Prevent NCT2

Performs data set cleanup before the original Job run.

Control-D Category

Defines the name of the Control-D Report Decollating Mission Category. If specified, the report decollating mission is scheduled whenever the Job is scheduled under Control-M.

Rules:

  • 1- 20 characters
  • Invalid characters: blanks

Variables

All variables are identified by the %% prefix. If %% is included in the value for a Job processing attribute, Control‑M assumes that it is referring to a variable or function.

Rules:

  • Name: 1- 66 characters
  • Value: 1- 66 characters

Name and value length together should not exceed 66 characters.

Documentation

Defines a description related to the Job, and is saved in a defined location. The location where the document is saved depends on whether the type is File or URL. For a file, the description is located in a file located in a file path. For a URL, the Documentation is located in a URL address.

z/OS: Documentation is saved in a Doc Member located in a Doc Library.

Doc Library

Defines the name of the library where the Documentation (description) is saved.

Rules:

  • Characters: 1- 44
  • Invalid characters: Non-English characters
  • UNIX: You can use one of the following symbols in place of or as part of the directory or sub-directory name:

    • $HOME: Refers to the home directory of the job owner.

    • ~<username> Refers to the home directory of a specific UNIX user.

  • IBM i (AS/400): Use one of the following:

    • Name of an IBM i (AS/400) library

    • Library and File

    • *LIBL: Refers to the library list

    • *CURLIB: Refers to the current library

Doc Member

Defines the name of the member where the job Documentation (description) is saved.

Rules:

  • Characters: 1- 8
  • Invalid characters: Non-English characters:

IBM i (AS/400): Indicates the name of the member in the Doc Library or Doc Path file. This attribute is optional even if a value is supplied for Doc Library. If you specify a library and file name but no value for Doc Member, the *FILE default member name is used.

Priority

Determines the order of job processing.

Use * to mark the job as Critical.

Emergency Job

Determines whether the z/OS Job is an Emergency Job.