Top Banner
IBM Tivoli Workload Scheduler for z/OS Managing the Workload Version 8.2 (Maintenance Release April 2004) SC32-1263-01
608

Managing the Workload: Managing the Workload - IBMpublib.boulder.ibm.com/tividd/td/TWS/SC32-1263-01/en_US/PDF/Mg... · IBM Tivoli Workload Scheduler for z/OS Managing the Workload

Feb 03, 2018

Download

Documents

dophuc
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • IBM

    Tivoli

    Workload

    Scheduler

    for

    z/OS

    Managing

    the

    Workload

    Version

    8.2

    (Maintenance

    Release

    April

    2004)

    SC32-1263-01

  • IBM

    Tivoli

    Workload

    Scheduler

    for

    z/OS

    Managing

    the

    Workload

    Version

    8.2

    (Maintenance

    Release

    April

    2004)

    SC32-1263-01

  • Note

    Before

    using

    this

    information

    and

    the

    product

    it

    supports,

    read

    the

    information

    in

    Notices

    on

    page

    549.

    Refreshed

    Edition

    (April

    2004)

    This

    edition

    applies

    to

    version

    8,

    release

    2,

    modification

    0

    of

    IBM

    Tivoli

    Workload

    Scheduler

    for

    z/OS

    (program

    number

    5697-WSZ)

    and

    to

    all

    subsequent

    releases

    and

    modifications

    until

    otherwise

    indicated

    in

    new

    editions.

    Copyright

    International

    Business

    Machines

    Corporation

    1991,

    2004.

    All

    rights

    reserved.

    US

    Government

    Users

    Restricted

    Rights

    Use,

    duplication

    or

    disclosure

    restricted

    by

    GSA

    ADP

    Schedule

    Contract

    with

    IBM

    Corp.

  • Contents

    Figures

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xi

    Tables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xv

    Preface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xvii

    Maintenance

    Release

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xvii

    Who

    Should

    Read

    This

    Manual

    .

    .

    .

    .

    .

    .

    . xvii

    What

    This

    Manual

    Contains

    .

    .

    .

    .

    .

    .

    .

    . xviii

    Publications

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xx

    Tivoli

    Workload

    Scheduler

    for

    z/OS

    Library

    .

    . xx

    Publications

    for

    IBM

    Tivoli

    Workload

    Scheduler

    xxi

    Using

    LookAt

    to

    Look

    up

    Message

    Explanations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xxii

    Accessing

    Publications

    Online

    .

    .

    .

    .

    .

    .

    . xxii

    Softcopy

    Collection

    Kit

    .

    .

    .

    .

    .

    .

    .

    .

    . xxii

    Ordering

    Publications

    .

    .

    .

    .

    .

    .

    .

    .

    . xxiii

    Providing

    Feedback

    about

    Publications

    .

    .

    . xxiii

    Accessibility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xxiii

    Contacting

    IBM

    Software

    Support

    .

    .

    .

    .

    .

    . xxiii

    Conventions

    Used

    in

    This

    Manual

    .

    .

    .

    .

    .

    . xxiv

    What

    Is

    New

    in

    This

    Version

    .

    .

    .

    .

    .

    .

    .

    . xxiv

    z/OS

    Functions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xxiv

    End-to-End

    Functions

    .

    .

    .

    .

    .

    .

    .

    .

    . xxiv

    Server

    Connectivity

    and

    the

    Sysplex

    Environment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xxv

    How

    to

    Read

    the

    Syntax

    Diagrams

    .

    .

    .

    .

    .

    . xxv

    Part

    1.

    Planning

    and

    Scheduling

    .

    .

    . 1

    Chapter

    1.

    What

    Is

    the

    Scheduler?

    .

    .

    . 7

    How

    the

    Scheduler

    Works

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 7

    How

    Does

    the

    Scheduler

    Keep

    Track

    of

    Jobs?

    .

    . 9

    How

    Does

    the

    Scheduler

    Help

    with

    Job

    Preparation?

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 9

    How

    Can

    the

    Scheduler

    Help

    You

    Recover

    Jobs?

    . 9

    Can

    the

    Scheduler

    Help

    with

    Online

    Systems?

    .

    . 10

    Can

    You

    Run

    Jobs

    outside

    the

    Scheduler?

    .

    .

    . 10

    Finding

    Out

    about

    the

    Scheduler

    .

    .

    .

    .

    .

    .

    . 10

    Chapter

    2.

    A

    User

    Scenario

    .

    .

    .

    .

    .

    . 13

    Implementing

    a

    Payroll

    System

    .

    .

    .

    .

    .

    .

    .

    . 13

    Designing

    the

    Payroll

    Applications

    .

    .

    .

    .

    .

    . 15

    Creating

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 17

    Controlling

    General

    Workstations

    .

    .

    .

    .

    .

    . 18

    Using

    Servers

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 19

    Creating

    Special

    Resources

    .

    .

    .

    .

    .

    .

    .

    . 20

    Creating

    the

    Default

    Calendar

    .

    .

    .

    .

    .

    .

    . 21

    Preparing

    the

    Payroll

    Jobs

    .

    .

    .

    .

    .

    .

    .

    . 22

    Creating

    the

    Groups,

    Applications,

    and

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 24

    Creating

    Plans

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 30

    What

    Happens

    if

    Jobs

    or

    Started

    Tasks

    Fail?

    .

    . 32

    Coping

    with

    More

    Complex

    Problems

    .

    .

    . 33

    Summary

    of

    What

    You

    Need

    to

    Do

    .

    .

    .

    .

    .

    . 34

    Chapter

    3.

    Using

    the

    Scheduler

    Panels

    35

    The

    Scheduler

    ISPF

    Panels

    .

    .

    .

    .

    .

    .

    .

    .

    . 35

    Setting

    Options

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 36

    Common

    Panel

    Commands

    and

    Facilities

    .

    .

    . 41

    Concatenating

    Options

    .

    .

    .

    .

    .

    .

    .

    . 41

    Quick

    Return

    Command

    .

    .

    .

    .

    .

    .

    .

    . 42

    Primary

    Commands

    .

    .

    .

    .

    .

    .

    .

    .

    . 42

    Specifying

    List

    Criteria

    .

    .

    .

    .

    .

    .

    .

    . 43

    Using

    Generic

    Search

    Arguments

    .

    .

    .

    .

    . 44

    Sorting

    List

    Output

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 45

    Locating

    Data

    Strings

    in

    List

    Output

    .

    .

    .

    . 45

    Graphically

    Displaying

    Lists

    .

    .

    .

    .

    .

    .

    . 46

    PF

    Key

    Assignment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 46

    Tivoli

    Job

    Scheduling

    Console

    .

    .

    .

    .

    .

    .

    .

    . 47

    Utilities

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 48

    Chapter

    4.

    Creating

    Workstations

    .

    .

    . 49

    What

    Types

    of

    Workstation

    Are

    There?

    .

    .

    .

    .

    . 49

    Computer

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    . 49

    Job

    Computer

    Workstations

    .

    .

    .

    .

    .

    .

    . 49

    Started-task

    Computer

    Workstations

    .

    .

    .

    . 50

    Fault-tolerant

    Workstations

    .

    .

    .

    .

    .

    .

    . 50

    Alternate

    Workstations

    .

    .

    .

    .

    .

    .

    .

    . 50

    Printer

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 51

    General

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 51

    Job

    Setup

    General

    Workstations

    .

    .

    .

    .

    . 51

    WTO

    General

    Workstations

    .

    .

    .

    .

    .

    .

    . 52

    Guidelines

    for

    Creating

    Workstations

    .

    .

    .

    .

    .

    . 52

    Which

    Workstation

    Types

    Are

    Needed?

    .

    .

    .

    . 52

    How

    Many

    Workstations

    of

    Each

    Type?

    .

    .

    .

    . 52

    Dummy

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 53

    Creating

    a

    Workstation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 54

    Specifying

    Workstation

    Attributes

    and

    Options

    .

    . 55

    Specifying

    Workstation

    Reporting

    Attributes

    .

    . 56

    Specifying

    Fault-tolerant

    Workstations

    .

    .

    .

    . 57

    Specifying

    Workstation

    Parallel

    Servers

    .

    .

    .

    . 58

    Specifying

    Splittable

    Workstations

    .

    .

    .

    .

    .

    . 59

    Specifying

    Workstation

    Destinations

    .

    .

    .

    .

    . 59

    Specifying

    the

    Default

    Workstation

    Transport

    Time

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 60

    Specifying

    the

    Default

    Duration

    .

    .

    .

    .

    .

    . 60

    Specifying

    Workstation

    Availability

    .

    .

    .

    .

    .

    . 60

    Specifying

    Workstation

    Open

    Intervals

    .

    .

    .

    . 61

    Closing

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 62

    Specifying

    Workstation

    Fixed

    Resources

    .

    .

    .

    .

    . 64

    Specifying

    Workstation

    Access

    Method

    Parameters

    65

    Controlling

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 66

    Chapter

    5.

    Creating

    Special

    Resources

    67

    Understanding

    Special

    Resources

    .

    .

    .

    .

    .

    .

    . 67

    Example

    Using

    datasets

    .

    .

    .

    .

    .

    .

    .

    .

    . 69

    Example

    Using

    Tape

    Drives

    .

    .

    .

    .

    .

    .

    .

    . 70

    Example

    Using

    Communication

    Lines

    .

    .

    .

    . 70

    How

    Are

    Special

    Resources

    Used?

    .

    .

    .

    .

    .

    . 71

    Updating

    the

    Special

    Resource

    Database

    .

    .

    .

    .

    . 71

    Copyright

    IBM

    Corp.

    1991,

    2004

    iii

    ||

  • Creating

    Special

    Resources

    .

    .

    .

    .

    .

    .

    .

    .

    . 72

    Setting

    the

    Availability

    of

    a

    Resource

    .

    .

    .

    .

    .

    . 78

    Using

    NetView

    to

    Set

    the

    Availability

    of

    a

    Resource

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 79

    Using

    RODM

    to

    Set

    the

    Availability

    of

    a

    Resource

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 79

    Creating

    a

    Resource

    Dynamically

    .

    .

    .

    .

    .

    .

    . 79

    Creating

    Missing

    Resources

    during

    Batch

    Planning

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 79

    Creating

    Missing

    Resources

    during

    the

    Life

    of

    the

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 80

    Dynamically

    Copying

    Resources

    from

    the

    Database

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 80

    Dynamically

    Adding

    Resources

    that

    Are

    Not

    in

    the

    Database

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 80

    Setting

    the

    Global

    Values

    .

    .

    .

    .

    .

    .

    .

    . 80

    Hiperbatch

    and

    the

    Data

    Lookaside

    Facility

    .

    .

    . 81

    Reporting

    on

    Special

    Resources

    .

    .

    .

    .

    .

    .

    .

    . 82

    Using

    Availability

    Changes

    to

    Trigger

    Events

    .

    .

    . 82

    Setting

    Up

    dataset

    Triggering

    with

    ETT

    .

    .

    .

    . 83

    Defining

    Special

    Resource

    Dependencies

    for

    dataset

    Triggering

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 84

    Debugging

    dataset

    Triggering

    .

    .

    .

    .

    .

    .

    . 84

    Chapter

    6.

    Creating

    Calendars

    and

    Periods

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 87

    Creating

    the

    Default

    Calendar

    .

    .

    .

    .

    .

    .

    .

    . 88

    Creating

    Periods

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 90

    Examples

    of

    Periods

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 93

    Cyclic

    Periods

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 93

    Noncyclic

    Periods

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 94

    How

    Run

    Cycles

    Use

    Periods

    .

    .

    .

    .

    .

    .

    . 94

    Using

    Work-days-only

    Cyclic

    Periods

    .

    .

    .

    .

    . 95

    Difference

    between

    Offset-based

    and

    Rule-based

    Cycles

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 95

    Greater

    Consistency

    .

    .

    .

    .

    .

    .

    .

    .

    . 96

    Chapter

    7.

    Things

    You

    Should

    Consider

    before

    Creating

    Applications

    .

    .

    .

    .

    . 97

    What

    Are

    Applications?

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 97

    Standard

    Application

    Descriptions

    .

    .

    .

    .

    .

    . 97

    Job

    Descriptions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 97

    Group

    Definitions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 98

    Naming

    Standards

    in

    Applications

    .

    .

    .

    .

    .

    . 98

    Application

    IDs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 99

    Job

    Names

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 99

    Operation

    Numbers

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 99

    Owner

    IDs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 99

    Rules

    for

    Creating

    Applications

    .

    .

    .

    .

    .

    .

    .

    . 99

    Subdivision

    of

    Applications

    .

    .

    .

    .

    .

    .

    .

    . 100

    Methods

    of

    Creating

    Applications

    .

    .

    .

    .

    .

    . 101

    Chapter

    8.

    Standard

    Applications

    and

    Group

    Definitions

    .

    .

    .

    .

    .

    .

    .

    .

    . 103

    Creating

    an

    Application

    and

    its

    Operations

    .

    .

    . 103

    Specifying

    the

    Application

    ID

    .

    .

    .

    .

    .

    .

    . 105

    Specifying

    the

    Valid-from

    Date

    .

    .

    .

    .

    .

    . 105

    Specifying

    the

    Status

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 105

    Specifying

    When

    Your

    Application

    Should

    Be

    Scheduled

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 106

    Creating

    Run

    Cycles

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 106

    Creating

    Run

    Cycles

    with

    Rules

    .

    .

    .

    .

    . 107

    How

    Days

    are

    Generated

    Using

    Rules

    .

    .

    . 111

    Examples

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 111

    Selecting

    the

    Last

    Work

    Day

    before

    a

    Free

    Day

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 112

    Creating

    Run

    Cycles

    with

    Offsets

    .

    .

    .

    .

    . 112

    Using

    Work-days-only

    Cyclic

    Periods

    with

    Offsets

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 113

    Selecting

    a

    Free-day

    Rule

    .

    .

    .

    .

    .

    .

    .

    . 113

    Specifying

    When

    Your

    Application

    Should

    Not

    Run

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 114

    Using

    Negative

    Run

    Cycles

    .

    .

    .

    .

    .

    .

    . 114

    Stopping

    a

    Normal

    Job

    if

    the

    Following

    Day

    Is

    Free

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 115

    Using

    In-effect/Out-of-effect

    Dates

    .

    .

    .

    . 115

    Specifying

    the

    Input

    Arrival

    Time

    .

    .

    .

    .

    . 116

    Specifying

    Run

    Cycles

    with

    Offsets

    .

    .

    .

    .

    . 116

    Daily

    Run

    Cycle

    Example

    .

    .

    .

    .

    .

    .

    . 117

    Weekly

    Run

    Cycle

    Example

    .

    .

    .

    .

    .

    . 117

    Monthly

    Run

    Cycle

    Examples

    .

    .

    .

    .

    .

    . 117

    Creating

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 118

    Examples

    of

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    . 120

    Specifying

    Operation

    Predecessors

    .

    .

    .

    .

    . 120

    Specifying

    Operation

    Details

    .

    .

    .

    .

    .

    .

    .

    . 121

    Specifying

    External

    Predecessors

    .

    .

    .

    .

    .

    . 122

    External

    Dependencies

    between

    Multiple

    Occurrences

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 123

    Specifying

    Operation

    Resource

    Usage

    .

    .

    .

    . 123

    Using

    Special

    Resources

    .

    .

    .

    .

    .

    .

    .

    . 123

    Using

    Workstation

    Fixed

    Resources

    .

    .

    .

    . 125

    Using

    Parallel

    Servers

    .

    .

    .

    .

    .

    .

    .

    . 126

    Specifying

    Options

    for

    Automation

    .

    .

    .

    .

    . 126

    Options

    that

    Apply

    to

    Jobs

    and

    Started

    Tasks

    127

    Options

    that

    Apply

    Only

    to

    Jobs

    .

    .

    .

    .

    . 129

    Options

    that

    Apply

    to

    Print

    Operations

    .

    .

    . 130

    Options

    that

    Apply

    to

    All

    Operations

    .

    .

    . 130

    Using

    Feedback

    Options

    .

    .

    .

    .

    .

    .

    .

    .

    . 131

    Smoothing

    Factor

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 132

    Limit

    for

    Feedback

    .

    .

    .

    .

    .

    .

    .

    .

    . 133

    Specifying

    Input

    Arrival

    Times

    and

    Deadlines

    for

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 133

    Specifying

    Operator

    Instructions

    .

    .

    .

    .

    .

    . 134

    Editing

    JCL

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    . 136

    Restart

    and

    Cleanup

    of

    Operations

    .

    .

    .

    .

    . 136

    Extended

    Information

    .

    .

    .

    .

    .

    .

    .

    .

    . 137

    Associating

    Job

    Statements

    with

    Operations

    .

    .

    . 137

    Job

    Statements

    and

    Computer

    Workstation

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 138

    JCL

    and

    Job

    Setup

    Operations

    .

    .

    .

    .

    .

    .

    . 139

    Using

    Print

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 139

    Using

    WTO

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 139

    Started-task

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 140

    Scheduling

    the

    Closedown

    of

    Online

    Systems

    and

    Started

    Tasks

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 140

    Creating

    Time-dependent

    Operations

    .

    .

    .

    .

    . 141

    Chapter

    9.

    Creating

    Job

    Descriptions

    143

    Using

    the

    Job

    Description

    Panel

    .

    .

    .

    .

    .

    .

    . 143

    Creating

    Run

    Cycles

    for

    Job

    Descriptions

    .

    .

    . 146

    iv

    Managing

    the

    Workload:

    Managing

    the

    Workload

  • Specifying

    Additional

    Operation

    Details

    for

    Job

    Descriptions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 147

    How

    Job

    Descriptions

    Affect

    the

    Current

    and

    Long-term

    Plans

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 147

    Chapter

    10.

    Defining

    Applications

    in

    Batch

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 149

    Mass

    Update

    or

    Batch

    Loader?

    .

    .

    .

    .

    .

    .

    . 149

    Maintaining

    a

    Sequential

    dataset

    .

    .

    .

    .

    .

    . 149

    Changing

    Application

    Descriptions

    in

    Batch

    .

    . 149

    Changing

    Group

    Definitions

    and

    Operator

    Instructions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 150

    Making

    Changes

    Conditional

    on

    the

    Original

    Values

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 150

    Searching

    Applications

    for

    Values

    in

    Specified

    Fields

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 150

    How

    to

    Run

    the

    Mass

    Update

    Utility

    .

    .

    .

    .

    . 150

    What

    Is

    the

    Batch

    Loader?

    .

    .

    .

    .

    .

    .

    .

    .

    . 153

    Input

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 153

    Output

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 154

    Validity

    Checking

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 154

    Description

    of

    the

    Databases

    .

    .

    .

    .

    .

    .

    . 154

    AD

    Database

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 154

    OI

    Database

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 155

    How

    to

    Code

    Batch-loader

    Control

    Statements

    .

    . 155

    Structure

    of

    AD

    Control

    Statements

    .

    .

    .

    .

    . 155

    Structure

    of

    OI

    Control

    Statements

    .

    .

    .

    .

    . 156

    Example

    of

    Control

    Statement

    Sequence

    .

    .

    . 156

    Batch-loader

    Security

    Considerations

    .

    .

    .

    . 157

    How

    to

    Run

    the

    Batch-loader

    Program

    .

    .

    .

    .

    . 157

    Coding

    the

    JCL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 157

    Batch-loader

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 159

    Batch-loader

    Sample

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 160

    Chapter

    11.

    Batch-loader

    Control

    Statements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 165

    Syntax

    and

    Construction

    .

    .

    .

    .

    .

    .

    .

    .

    . 165

    Defaults

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 166

    ADDEP

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 167

    ADOP

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 170

    ADOPEXTN

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 177

    ADRULE

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 178

    ADRUN

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 182

    ADSR

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 185

    ADSTART

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 187

    OIT

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 190

    OISTART

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 191

    OPTIONS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 194

    Chapter

    12.

    Overview

    of

    the

    Long-term

    and

    Current

    Plans

    .

    .

    .

    . 197

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 199

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 201

    Resolving

    Pending

    Occurrences

    .

    .

    .

    .

    .

    . 202

    Tail

    Plans

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 202

    Pending

    Occurrences

    .

    .

    .

    .

    .

    .

    .

    .

    . 202

    Creating

    the

    Plans

    for

    the

    First

    Time

    .

    .

    .

    .

    . 203

    Chapter

    13.

    Producing

    and

    Modifying

    the

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    . 207

    Running

    Long-term

    Plan

    Batch

    Jobs

    .

    .

    .

    .

    .

    . 208

    The

    Long-term

    Plan

    datasets

    .

    .

    .

    .

    .

    .

    . 208

    Long-term

    Plan

    Messages

    .

    .

    .

    .

    .

    .

    .

    . 208

    How

    a

    Long-term

    Plan

    Is

    Created

    .

    .

    .

    .

    .

    . 209

    Creating

    the

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 209

    Extending

    the

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 210

    Modifying

    the

    Long-term

    Plan

    in

    Batch

    .

    .

    .

    .

    . 211

    Creating

    Reports

    about

    the

    Long-term

    Plan

    .

    .

    . 212

    Generated

    Comments

    in

    Long-term

    Plan

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 213

    Creating

    a

    Trial

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    . 213

    Displaying

    the

    Status

    of

    the

    Long-term

    Plan

    .

    .

    . 214

    Setting

    Default

    Successor

    and

    Predecessor

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 215

    Amending

    Applications

    in

    the

    Long-term

    Plan

    Online

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 216

    Modifying

    Occurrences

    in

    the

    Long-term

    Plan

    216

    Modifying

    Dependencies

    in

    the

    Long-term

    Plan

    217

    Chapter

    14.

    Producing

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 219

    Information

    Used

    by

    Daily

    Planning

    .

    .

    .

    .

    . 219

    Creating

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    . 220

    Extending

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    . 222

    Recreating

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 223

    Creating

    a

    Trial

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 224

    Renewing

    the

    Symphony

    File

    .

    .

    .

    .

    .

    .

    .

    . 224

    Producing

    Reports

    Using

    Daily

    Planning

    .

    .

    .

    . 225

    Plan

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 225

    Management

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 225

    Current

    Period

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 225

    Previous

    Period

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 226

    Using

    the

    Track

    Log

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 227

    Resolving

    Dependencies

    between

    Operations

    .

    .

    . 227

    Analyzing

    Problems

    Reported

    by

    Daily

    Planning

    228

    For

    End-to-end

    Scheduling

    .

    .

    .

    .

    .

    .

    .

    . 229

    Modifying

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 230

    Querying

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    . 230

    Current

    Plan

    Reference

    Information

    .

    .

    .

    .

    .

    . 231

    Organization

    and

    Integrity

    of

    the

    Current

    Plan

    231

    Current

    Plan

    during

    Normal

    Processing

    .

    .

    . 232

    The

    Current-plan

    Backup

    Process

    .

    .

    .

    .

    .

    . 234

    Creating

    and

    Activating

    the

    New

    Current

    Plan

    234

    Chapter

    15.

    Using

    Service

    and

    Optional

    Functions

    .

    .

    .

    .

    .

    .

    .

    .

    . 239

    Activating

    and

    Deactivating

    Job

    Submission

    .

    .

    . 239

    Activating

    and

    Deactivating

    Automatic

    Job

    and

    Started-task

    Recovery

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 240

    Refreshing

    the

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    . 240

    Refreshing

    RACF

    Resource

    Profiles

    .

    .

    .

    .

    .

    . 241

    Activating

    and

    Deactivating

    ETT

    .

    .

    .

    .

    .

    .

    . 241

    Producing

    an

    APAR

    Tape

    .

    .

    .

    .

    .

    .

    .

    .

    . 241

    Producing

    a

    Report

    of

    Track

    Log

    Events

    .

    .

    .

    . 241

    Chapter

    16.

    How

    Work

    Is

    Selected

    for

    Automatic

    Submission

    .

    .

    .

    .

    .

    .

    . 243

    Contents

    v

  • Identifying

    the

    Order

    of

    Submission

    .

    .

    .

    .

    .

    . 243

    The

    Submission

    Process

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 244

    For

    End-to-end

    Scheduling

    .

    .

    .

    .

    .

    .

    .

    . 245

    Submitting

    Work

    on

    Nonreporting

    Workstations

    245

    Submitting

    Work

    on

    WTO

    Workstations

    .

    .

    . 245

    Submitting

    Started

    Tasks

    .

    .

    .

    .

    .

    .

    .

    . 246

    Submitting

    Jobs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 247

    Chapter

    17.

    Overview

    of

    Job

    Tracking

    on

    z/OS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 249

    How

    to

    Make

    Sure

    that

    Events

    Are

    Not

    Lost

    .

    .

    . 250

    Time

    Zones

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 251

    Chapter

    18.

    Planning

    for

    Recovery

    and

    Restart

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 253

    What

    You

    Need

    to

    Run

    the

    Functions

    .

    .

    .

    .

    . 254

    What

    You

    Need

    for

    the

    Job

    Completion

    Checker

    254

    Where

    to

    Find

    More

    Information

    .

    .

    .

    .

    . 254

    What

    You

    Need

    for

    Job

    Log

    Retrieval

    .

    .

    .

    . 254

    z/OS

    Job

    Logs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 254

    Job

    Logs

    on

    Systems

    Running

    Distributed

    Agents

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 254

    Where

    to

    Find

    More

    Information

    .

    .

    .

    .

    . 254

    What

    You

    Need

    for

    Restart

    and

    Cleanup

    .

    .

    . 255

    Where

    to

    Find

    More

    Information

    .

    .

    .

    .

    . 255

    What

    You

    Need

    for

    Automatic

    Recovery

    .

    .

    . 255

    Where

    to

    Find

    More

    Information

    .

    .

    .

    .

    . 256

    What

    You

    Need

    for

    the

    History

    Function

    .

    .

    . 256

    Where

    to

    Find

    More

    Information

    .

    .

    .

    .

    . 256

    What

    You

    Need

    for

    Recovery

    on

    Distributed

    Agents

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 256

    Where

    to

    Find

    More

    Information

    .

    .

    .

    .

    . 256

    Chapter

    19.

    Setting

    Error

    Codes

    .

    .

    . 257

    How

    Error

    Codes

    Are

    Set

    for

    Jobs

    on

    z/OS

    .

    .

    . 257

    Setting

    Error

    Codes

    Using

    Completion

    Codes

    257

    Setting

    Error

    Codes

    Using

    the

    Job

    Completion

    Checker

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 258

    How

    Error

    Codes

    Are

    Set

    for

    Jobs

    on

    Distributed

    Agents

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 258

    Using

    Error

    Codes

    to

    Set

    Operations

    to

    Ended-in-error

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 259

    Resetting

    Operations

    Based

    on

    Error

    Codes

    .

    .

    . 259

    Determining

    the

    Success

    or

    Failure

    of

    a

    Job

    .

    .

    . 259

    Chapter

    20.

    Restart

    and

    Cleanup

    .

    .

    . 261

    Restarting

    an

    Operation

    at

    Step

    or

    Job

    Level

    .

    .

    . 262

    JCL

    Used

    for

    Restart

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 263

    EXPANDED

    JCL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 263

    NORMAL

    JCL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 266

    Step

    Restart

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 267

    Return

    Code

    Simulation

    logic

    .

    .

    .

    .

    .

    . 269

    Steps

    That

    Are

    Not

    Restartable

    .

    .

    .

    .

    . 269

    dataset

    Availability

    .

    .

    .

    .

    .

    .

    .

    .

    . 270

    Re-executing

    Steps

    .

    .

    .

    .

    .

    .

    .

    .

    . 270

    Best

    Restart

    Step

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 271

    Example

    of

    Step

    Restart

    .

    .

    .

    .

    .

    .

    .

    . 271

    GDG

    Resolution

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 272

    GDG

    Resolution

    Considerations

    .

    .

    .

    .

    . 276

    Job

    Restart

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 277

    Start

    Cleanup

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 277

    Display

    Cleanup

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 278

    dataset

    Cleanup

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 278

    Selecting

    Cleanup

    Options

    .

    .

    .

    .

    .

    .

    .

    . 278

    Automatic,

    Immediate,

    and

    Manual

    Cleanup

    278

    Job

    and

    Step-Level

    Cleanup

    .

    .

    .

    .

    .

    .

    . 279

    When

    Are

    Cleanup

    Actions

    Performed?

    .

    .

    . 280

    What

    Actions

    Are

    Taken

    for

    Affected

    datasets?

    281

    SMS

    Managed

    datasets

    .

    .

    .

    .

    .

    .

    .

    . 282

    Migrated

    datasets

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 282

    Generation

    Data

    Groups

    .

    .

    .

    .

    .

    .

    .

    . 283

    Protecting

    datasets

    from

    Unintentional

    Deletion

    283

    Recovering

    from

    Workstation

    Failures

    .

    .

    .

    . 283

    How

    Does

    Cleanup

    Work?

    .

    .

    .

    .

    .

    .

    .

    . 283

    Fast

    Step

    Restart

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 284

    Defaults

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 284

    Fast

    Job

    restart

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 285

    Defaults

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 285

    Considerations

    for

    Event-triggered

    Tracking

    .

    . 285

    Generating

    Copies

    for

    Data

    Store

    .

    .

    .

    .

    .

    . 285

    EQQUX001

    JCL

    Changes

    Considerations

    .

    .

    . 287

    Chapter

    21.

    Automatic

    Recovery

    of

    Jobs

    and

    Started

    Tasks

    .

    .

    .

    .

    .

    .

    . 289

    Specifying

    Recovery

    Criteria

    .

    .

    .

    .

    .

    .

    .

    . 289

    Automatic

    Recovery

    Processing

    and

    dataset

    Cleanup

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 291

    Automatic

    Recovery

    and

    Restart

    .

    .

    .

    .

    .

    . 292

    Recovery

    of

    Operations

    When

    a

    Workstation

    Becomes

    Inactive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 292

    The

    Automatic-recovery-control

    Statement

    .

    .

    .

    . 292

    Syntax

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 293

    Statement

    Parameters

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 294

    Selection

    Parameters

    .

    .

    .

    .

    .

    .

    .

    .

    . 295

    JCL

    Rebuild

    Parameters

    .

    .

    .

    .

    .

    .

    .

    . 295

    Recovery

    Action

    Parameters

    .

    .

    .

    .

    .

    . 296

    Selection

    Parameters

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 296

    JCL

    Rebuild

    Parameters

    .

    .

    .

    .

    .

    .

    .

    .

    . 299

    Action

    Parameters

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 301

    Recovery

    Coding

    Examples

    .

    .

    .

    .

    .

    .

    .

    .

    . 303

    Example

    1

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 303

    Example

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 304

    Example

    3

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 305

    Example

    4

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 306

    Example

    5

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 306

    Deciding

    Which

    Step

    of

    an

    Operation

    Has

    Failed

    306

    Adding

    Predecessor

    Recovery

    Occurrences

    to

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 307

    Status

    Changes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 308

    Status

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 308

    Extended

    Status

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 308

    Security

    in

    Automatic

    Recovery

    .

    .

    .

    .

    .

    .

    . 309

    Recovery

    Actions

    from

    the

    Modify

    Current

    Plan

    Panel

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 309

    Message

    and

    Comment

    Statements

    .

    .

    .

    .

    .

    . 310

    Message

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 310

    Comment

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 310

    Logging

    and

    Failure

    Reporting

    .

    .

    .

    .

    .

    .

    . 310

    Successful

    Recovery

    Start

    .

    .

    .

    .

    .

    .

    .

    . 310

    Unsuccessful

    Recovery

    Start

    .

    .

    .

    .

    .

    .

    . 310

    Case

    Code

    Lists

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 311

    vi

    Managing

    the

    Workload:

    Managing

    the

    Workload

    ******************************

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

  • Deactivating

    and

    Activating

    Automatic

    Recovery

    311

    Restarting

    Work

    on

    Different

    Workstations

    .

    .

    . 312

    Chapter

    22.

    Event-triggered

    Tracking

    315

    Triggering

    Event

    Types

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 315

    Activating

    ETT

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 316

    Defining

    Your

    ETT

    Criteria

    .

    .

    .

    .

    .

    .

    .

    .

    . 316

    Automatically

    Adding

    an

    Occurrence

    to

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 318

    How

    You

    Can

    Use

    ETT

    to

    Automate

    Tasks

    .

    .

    . 320

    Chapter

    23.

    Job

    Tailoring

    .

    .

    .

    .

    .

    . 321

    Variable

    Substitution

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 321

    Associating

    Variable

    Tables

    with

    Applications

    322

    Invoking

    and

    Avoiding

    Variable

    Substitution

    323

    Coding

    Variables

    in

    JCL

    .

    .

    .

    .

    .

    .

    .

    .

    . 324

    Ampersand,

    Percent,

    and

    Question

    Mark

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 325

    Ampersand

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    . 325

    Percent

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 325

    Simple

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    . 325

    Compound

    Variables

    .

    .

    .

    .

    .

    .

    .

    . 326

    Question

    Mark

    Variables

    .

    .

    .

    .

    .

    .

    . 326

    Supplied

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 328

    Occurrence-Related

    Supplied

    Variables

    .

    .

    . 328

    Operation-Related

    Supplied

    Variables

    .

    .

    . 329

    Date-related

    Supplied

    Variables

    .

    .

    .

    .

    . 330

    Dynamic-Format

    Supplied

    Variables

    .

    .

    .

    . 331

    Temporary

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 332

    User-Defined

    Variables

    and

    Variable

    Tables

    .

    . 332

    When

    Variables

    Are

    Substituted

    .

    .

    .

    .

    . 334

    Making

    One

    Variable

    Dependent

    on

    Another

    334

    Restrictions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 336

    Using

    Dependent

    Variables

    for

    Migration

    .

    . 336

    Using

    Supplied

    Variables

    .

    .

    .

    .

    .

    .

    . 336

    Variable

    Validation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 337

    Global

    Variable

    Table

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 339

    Where

    Variables

    Can

    Be

    Used

    .

    .

    .

    .

    .

    .

    . 339

    Errors

    in

    Variable

    Substitution

    .

    .

    .

    .

    .

    .

    . 340

    Suppressing

    Variable

    Substitution

    .

    .

    .

    .

    . 340

    Variable

    Substitution

    in

    z/OS

    JCL

    Procedures

    341

    Substituting

    Variables

    with

    Embedded

    Blanks

    342

    Including

    and

    Excluding

    JCL

    .

    .

    .

    .

    .

    .

    .

    . 342

    SCAN

    Directive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 344

    SEARCH

    Directive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 345

    SETFORM

    Directive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 347

    SETVAR

    Directive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 349

    TABLE

    Directive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 352

    BEGIN

    and

    END

    Directives

    .

    .

    .

    .

    .

    .

    . 353

    FETCH

    Directive

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 356

    The

    COMP

    Keyword

    on

    BEGIN

    and

    FETCH

    Directives

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 357

    Restrictions

    on

    the

    Use

    of

    Variables

    .

    .

    .

    .

    .

    . 360

    Line-Length

    Errors

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 360

    Strings

    You

    Cannot

    Use

    Variables

    to

    Represent

    360

    Avoiding

    Loops

    in

    Variable

    Substitution

    .

    .

    . 361

    Order

    of

    Variable

    Substitution

    .

    .

    .

    .

    .

    .

    . 361

    Using

    a

    Default

    Calendar

    Name

    .

    .

    .

    .

    .

    . 362

    Variable

    Substitution

    for

    Jobs

    Running

    on

    Fault-tolerant

    Workstations

    .

    .

    .

    .

    .

    .

    .

    .

    . 362

    Activating

    Variable

    Substitution

    .

    .

    .

    .

    .

    . 362

    Restrictions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 363

    Chapter

    24.

    Job

    Scheduling

    and

    WLM

    365

    Environment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 365

    When

    a

    Job

    Should

    Be

    Set

    as

    Critical

    .

    .

    .

    .

    . 365

    Selecting

    WLM

    Assist

    Policies

    .

    .

    .

    .

    .

    .

    .

    . 366

    Part

    2.

    Controlling

    and

    Monitoring

    369

    Chapter

    25.

    Monitoring

    the

    Workload

    371

    Using

    the

    Ready

    List

    Panel

    .

    .

    .

    .

    .

    .

    .

    .

    . 371

    Selecting

    a

    Ready

    List

    Layout

    .

    .

    .

    .

    .

    .

    . 371

    Creating

    Your

    Own

    Ready

    List

    Layout

    .

    .

    .

    . 372

    Ready

    List

    Layout

    User

    Exit

    .

    .

    .

    .

    .

    .

    . 374

    Invoking

    the

    User

    Exit

    from

    the

    Panels

    .

    .

    . 374

    Defining

    and

    Setting

    Up

    the

    User

    Exit

    .

    .

    . 374

    Communicating

    with

    the

    User

    Interface

    Routine

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 375

    Using

    the

    Ready

    List

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 376

    Setting

    the

    Status

    of

    an

    Operation

    .

    .

    .

    .

    . 377

    Letting

    the

    Scheduler

    Assign

    the

    Next

    Status

    377

    Setting

    the

    Status

    Explicitly

    .

    .

    .

    .

    .

    .

    . 378

    Resetting

    an

    Operation

    to

    Its

    Previous

    State

    378

    Interrupting

    an

    Operation

    .

    .

    .

    .

    .

    .

    . 378

    Reporting

    an

    Operation

    As

    Ended-in-error

    378

    Viewing

    Operator

    Instructions

    .

    .

    .

    .

    .

    .

    . 379

    Preparing

    Jobs

    at

    a

    Setup

    Workstation

    .

    .

    .

    . 379

    Preparing

    Jobs

    without

    Unresolved

    Promptable

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    . 379

    Preparing

    Jobs

    with

    Unresolved

    Promptable

    Variables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 381

    Other

    Ways

    of

    Editing

    a

    Job

    .

    .

    .

    .

    .

    . 382

    Delaying

    an

    Operation,

    and

    Releasing

    It

    .

    .

    . 383

    Removing

    an

    Operation

    from

    the

    Current

    Plan

    and

    Restoring

    It

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 383

    Running

    an

    Operation

    Immediately

    with

    EXECUTE

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 384

    Diagnosing

    Delays

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 385

    The

    QCP

    Panel

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 386

    Querying

    Application

    Occurrences

    .

    .

    .

    .

    . 387

    Querying

    Operation

    Information

    .

    .

    .

    .

    .

    . 389

    Checking

    the

    Status

    of

    a

    Workstation

    .

    .

    .

    . 390

    Checking

    the

    Status

    of

    the

    Current

    Plan

    .

    .

    . 391

    Chapter

    26.

    Updating

    the

    Current

    Plan

    393

    Using

    Fast

    Paths

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 394

    Accessing

    the

    Modify

    Current

    Plan

    Panel

    .

    .

    .

    . 395

    Specifying

    Selection

    Criteria

    .

    .

    .

    .

    .

    .

    .

    . 395

    Running

    Work

    on

    Request

    .

    .

    .

    .

    .

    .

    .

    .

    . 395

    Adding

    Occurrences

    to

    the

    Current

    Plan

    .

    .

    . 396

    Selecting

    Occurrences

    .

    .

    .

    .

    .

    .

    .

    . 396

    Adding

    Occurrences

    .

    .

    .

    .

    .

    .

    .

    .

    . 397

    Specifying

    an

    Error

    Code

    .

    .

    .

    .

    .

    .

    . 399

    Including

    Dependencies

    Defined

    in

    the

    Database

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 399

    Changing

    and

    Adding

    Dependencies

    .

    .

    . 401

    Grouping

    Occurrences

    .

    .

    .

    .

    .

    .

    .

    . 403

    Adding

    an

    Application

    Group

    to

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 403

    Contents

    vii

  • Excluding

    Some

    Applications

    .

    .

    .

    .

    .

    . 403

    Specifying

    Dependency

    Resolution

    .

    .

    .

    . 404

    Restarting

    an

    Occurrence

    from

    the

    Beginning

    405

    Rerunning

    an

    Occurrence

    in

    the

    Current

    Plan

    from

    a

    Specific

    Operation

    .

    .

    .

    .

    .

    .

    .

    . 406

    Completing

    an

    Application

    Occurrence

    .

    .

    .

    . 409

    Deleting

    an

    Application

    Occurrence

    .

    .

    .

    .

    . 409

    Modifying

    an

    Application

    Occurrence

    .

    .

    .

    . 409

    Changing

    External

    Dependencies

    to

    an

    Occurrence

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 410

    Changing

    Dependencies

    to

    an

    Operation

    .

    . 410

    Changing

    the

    Details

    of

    an

    Operation

    .

    .

    . 410

    Modifying

    Extended

    Information

    .

    .

    .

    .

    . 411

    Adding

    and

    Deleting

    Operations

    .

    .

    .

    .

    . 411

    Modifying

    an

    Operation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 411

    Rerunning

    Operations

    in

    the

    History

    Database

    .

    . 412

    Updating

    the

    History

    Database

    .

    .

    .

    .

    .

    . 412

    Processing

    History

    Operations

    .

    .

    .

    .

    .

    .

    . 413

    Selecting

    a

    History

    Operation

    .

    .

    .

    .

    .

    . 414

    Informing

    the

    Scheduler

    of

    Unplanned

    Changes

    in

    Resources

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 415

    Keeping

    Plans

    Up-to-date

    .

    .

    .

    .

    .

    .

    .

    .

    . 415

    Fault-tolerant

    Workstations

    and

    Replanning

    .

    . 415

    Changing

    Workstation

    Availability

    .

    .

    .

    .

    .

    . 417

    Active

    and

    Inactive

    Computer

    Workstations

    .

    . 417

    Redirecting

    Work

    to

    Alternate

    Workstations

    .

    . 419

    Browsing

    System

    Information

    .

    .

    .

    .

    .

    .

    . 421

    Chapter

    27.

    Handling

    Operations

    that

    End

    in

    Error

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 423

    Displaying

    the

    Ended-in-error

    List

    for

    Action

    .

    .

    . 423

    Selecting

    an

    Ended-in-error

    List

    Layout

    .

    .

    . 424

    Creating

    Your

    Own

    Ended-in-error

    List

    Layout

    424

    Getting

    Rerun

    or

    Recovery

    Instructions

    .

    .

    .

    .

    . 426

    Completing

    an

    Ended-in-error

    Operation

    .

    .

    .

    . 426

    Modifying

    a

    Job

    That

    Has

    Failed

    .

    .

    .

    .

    .

    .

    . 426

    Restarting

    Ended-in-error

    Operations

    .

    .

    .

    .

    . 426

    Restarting

    Ended-in-error

    Operations

    Managing

    Cleanup

    Action

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 427

    Taking

    Action

    at

    the

    Occurrence

    Level

    .

    .

    .

    . 428

    Handling

    Operations

    with

    the

    OSEQ

    Error

    Code

    428

    Restarting

    an

    Operation

    from

    a

    Certain

    Step

    .

    .

    . 429

    Using

    Cleanup

    Options

    .

    .

    .

    .

    .

    .

    .

    .

    . 430

    Specifying

    Automatic

    Restart

    for

    Operations

    That

    Fail

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 431

    Chapter

    28.

    Monitoring

    Special

    Resources

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 433

    Understanding

    Special

    Resources

    .

    .

    .

    .

    .

    .

    . 433

    Example

    Using

    datasets

    .

    .

    .

    .

    .

    .

    .

    .

    . 434

    Example

    Using

    Tape

    Drives

    .

    .

    .

    .

    .

    .

    . 435

    Example

    Using

    Communication

    Lines

    .

    .

    .

    . 436

    How

    Does

    the

    Scheduler

    Use

    Special

    Resources?

    436

    Using

    the

    Special

    Resource

    Monitor

    .

    .

    .

    .

    .

    . 437

    Understanding

    Availability

    Intervals

    .

    .

    .

    .

    . 437

    Accessing

    the

    Special

    Resource

    Monitor

    .

    .

    . 438

    Looking

    at

    the

    Operations

    Waiting

    for

    a

    Resource

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 441

    Modifying

    a

    Special

    Resource

    .

    .

    .

    .

    .

    .

    . 442

    Chapter

    29.

    Using

    Tivoli

    Business

    Systems

    Manager

    .

    .

    .

    .

    .

    .

    .

    .

    . 445

    Enabling

    Monitoring

    by

    Tivoli

    Business

    Systems

    Manager

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 445

    Scheduler

    Start

    Options

    .

    .

    .

    .

    .

    .

    .

    .

    . 445

    Identifying

    Jobs

    for

    Monitoring

    .

    .

    .

    .

    .

    . 446

    Setting

    Monitors

    from

    the

    ISPF

    Panels

    .

    .

    .

    . 446

    Setting

    Monitors

    from

    the

    Programming

    Interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 447

    Setting

    Monitors

    from

    the

    Job

    Scheduling

    Console

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 447

    How

    Monitoring

    Works

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 448

    Discovery

    of

    the

    Scheduler

    .

    .

    .

    .

    .

    .

    .

    .

    . 448

    Part

    3.

    Appendixes

    .

    .

    .

    .

    .

    .

    .

    . 449

    Appendix

    A.

    TSO

    Commands

    .

    .

    .

    . 451

    Important

    Considerations

    for

    Using

    the

    TSO

    Commands

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 451

    BACKUP

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 452

    JSUACT

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 455

    OPINFO

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 457

    OPSTAT

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 461

    SRSTAT

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 466

    WSSTAT

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 470

    Appendix

    B.

    Batch

    Programs

    .

    .

    .

    . 475

    DD

    Statements

    Referenced

    by

    Batch

    Jobs

    .

    .

    .

    . 475

    DD

    Statements

    Used

    by

    EQQBATCH

    .

    .

    .

    . 475

    DD

    Statements

    Describing

    the

    Data

    .

    .

    .

    .

    . 476

    Security

    and

    Batch

    Programs

    .

    .

    .

    .

    .

    .

    .

    . 476

    Batch

    Programs

    and

    JCL

    Examples

    .

    .

    .

    .

    .

    . 477

    EQQADCOPPrint

    Applications:

    Calculate

    and

    Print

    Application

    Run

    Days

    .

    .

    .

    .

    .

    .

    . 478

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 478

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 478

    EQQADDEPPrint

    Applications:

    Cross-reference

    External

    Dependencies

    .

    .

    .

    . 479

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 479

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 479

    EQQADMUPPerform

    Mass

    Update

    of

    Application

    Descriptions

    .

    .

    .

    .

    .

    .

    .

    . 479

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 479

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 479

    EQQADPRTPrint

    Applications:

    Detailed

    .

    .

    . 480

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 480

    Notes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 480

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 480

    EQQADXRFPrint

    Applications:

    Cross-reference

    Job

    Names

    .

    .

    .

    .

    .

    .

    .

    . 481

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 481

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 481

    EQQAUDITPrint

    Formatted

    Audit

    Reports

    481

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 482

    EQQAXR00Print

    Applications:

    Cross-reference

    Different

    Items

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 483

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 484

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 484

    EQQCLPRCPrint

    Calendars

    .

    .

    .

    .

    .

    .

    . 484

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 484

    viii

    Managing

    the

    Workload:

    Managing

    the

    Workload

  • JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 484

    EQQCLPRPPrint

    Periods

    .

    .

    .

    .

    .

    .

    .

    . 485

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 485

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 485

    EQQDNTOPCreate

    or

    Extend

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 485

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 486

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 486

    EQQDOTOPPrint

    Statistics

    for

    Current

    Planning

    Period

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 488

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 488

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 488

    EQQDRTOPReplan

    Current

    Planning

    Period

    489

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 489

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 489

    EQQDSTOPRenew

    the

    Symphony

    File

    .

    .

    . 490

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 491

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 491

    EQQDTTOPProduce

    a

    Trial

    Plan

    .

    .

    .

    .

    . 491

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 491

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 491

    EQQEVPGMIssue

    Commands

    in

    Batch

    .

    .

    . 493

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 493

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 493

    EQQJVPRTPrint

    JCL

    Variables

    .

    .

    .

    .

    .

    . 493

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 493

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 493

    EQQLTCRECreate

    a

    New

    Long-term

    Plan

    .

    . 494

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 494

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 494

    EQQLTMOAModify

    the

    Long-term

    Plan

    for

    All

    Applications

    or

    Extend

    the

    Long-term

    Plan

    . 495

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 495

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 495

    EQQLTMOOModify

    the

    Long-term

    Plan

    for

    One

    Application

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 496

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 496

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 496

    EQQLTPRTPrint

    the

    Long-term

    Plan

    .

    .

    .

    . 496

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 496

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 497

    EQQLTTRYMake

    a

    Trial

    Long-term

    Plan

    .

    . 498

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 498

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 498

    EQQOIBATPrint

    Operator

    Instructions

    .

    .

    . 499

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 499

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 499

    EQQOIBLKOperator

    Instructions:

    Perform

    Mass

    Update

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 500

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 500

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 500

    Layout

    of

    the

    Operator

    Instruction

    dataset

    501

    EQQPURGEPurge

    Data

    Lookaside

    Facility

    Object

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 502

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 502

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 502

    EQQWSPRTPrint

    All

    Workstation

    Descriptions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 504

    SYSIN

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    . 504

    JCL

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 504

    EQQYLTOPBatch

    Loader

    .

    .

    .

    .

    .

    .

    .

    . 504

    Appendix

    C.

    Report

    Examples

    .

    .

    .

    . 505

    Calendar

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 505

    Period

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 506

    Workstation

    Description

    Reports

    .

    .

    .

    .

    .

    .

    . 507

    Application

    Description

    Reports

    .

    .

    .

    .

    .

    .

    . 508

    JCL

    Variable

    Table

    Report

    .

    .

    .

    .

    .

    .

    .

    .

    . 513

    Mass

    Update

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 514

    Operator

    Instructions

    Reports

    .

    .

    .

    .

    .

    .

    .

    . 515

    Long-term

    Plan

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 516

    Daily

    Planning

    Reports

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 520

    Reports

    for

    a

    Previous

    Planning

    Period

    .

    .

    .

    . 525

    Appendix

    D.

    Supported

    z/OS

    Commands

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 531

    Starting

    the

    Scheduler

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 531

    Stopping

    the

    Scheduler

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 532

    Canceling

    the

    Scheduler

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 532

    Modifying

    the

    Scheduler

    .

    .

    .

    .

    .

    .

    .

    .

    . 532

    Modifying

    the

    Data

    Store

    .

    .

    .

    .

    .

    .

    .

    .

    . 537

    Appendix

    E.

    Status,

    Error,

    and

    Reason

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 539

    Occurrence

    Status

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    . 539

    Operation

    Status

    and

    Extended

    Status

    Codes

    539

    Operation

    Status

    Codes

    .

    .

    .

    .

    .

    .

    .

    . 539

    Extended

    Status

    Codes

    .

    .

    .

    .

    .

    .

    .

    . 540

    Error

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 541

    Job

    Log

    Retrieval

    Status

    Codes

    .

    .

    .

    .

    .

    .

    . 542

    Operation

    Reason

    Codes

    .

    .

    .

    .

    .

    .

    .

    . 543

    Appendix

    F.

    Fields

    Displayed

    in

    Ready

    and

    Error

    Lists

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 545

    Notices

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 549

    Trademarks

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 550

    Glossary

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 551

    Index

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 559

    Contents

    ix

  • x

    Managing

    the

    Workload:

    Managing

    the

    Workload

  • Figures

    1.

    A

    Rolling

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 8

    2.

    Extending

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    . 8

    3.

    Example

    of

    Payroll

    Jobs

    at

    Paymore

    Incorporated

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 14

    4.

    EQQWCGEPCreating

    General

    Information

    about

    a

    Workstation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 18

    5.

    Specifying

    the

    Payroll

    Database

    as

    a

    Resource

    21

    6.

    Changing

    the

    Default

    Calendar

    .

    .

    .

    .

    .

    . 22

    7.

    Creating

    a

    Variable

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 23

    8.

    Creating

    the

    PAYDAILY

    Application

    .

    .

    .

    . 25

    9.

    Creating

    the

    Run

    Cycle

    for

    PAYDAILY

    .

    .

    . 25

    10.

    Creating

    the

    Rule

    for

    PAYDAILY

    .

    .

    .

    .

    . 26

    11.

    Creating

    Operations

    in

    PAYDAILY

    .

    .

    .

    .

    . 27

    12.

    Specifying

    the

    Predecessors

    for

    PAYDAILY

    Operations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 28

    13.

    Specifying

    the

    Payroll

    Database

    as

    a

    Resource

    28

    14.

    Specifying

    that

    the

    WTO

    is

    Time-dependent

    29

    15.

    Creating

    the

    Long-term

    Plan

    .

    .

    .

    .

    .

    .

    . 31

    16.

    Listing

    Occurrences

    in

    the

    Long-term

    Plan

    31

    17.

    Creating

    the

    Current

    Plan

    .

    .

    .

    .

    .

    .

    .

    . 32

    18.

    EQQOPCAPMain

    Menu

    .

    .

    .

    .

    .

    .

    . 35

    19.

    EQQXOPTPDefining

    Parameters

    and

    Options

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 36

    20.

    EQQXDATPSetting

    Date

    and

    Time

    Format

    37

    21.

    EQQXCOLPSetting

    Color

    and

    Highlight

    Attributes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 38

    22.

    EQQXAOIPSetting

    AD/OI

    Consistency

    Check

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 40

    23.

    EQQXJCLPSetting

    JCL

    Edit

    Tool

    Information

    41

    24.

    EQQSOPFPSelecting

    Operations

    .

    .

    .

    .

    . 44

    25.

    EQQXSRTLSorting

    a

    List

    .

    .

    .

    .

    .

    .

    . 45

    26.

    ISPOPT3BPF

    Key

    Definitions

    and

    Labels

    47

    27.

    EQQXSUBPGenerating

    JCL

    for

    a

    Batch

    Job

    48

    28.

    Dependent

    Operations

    with

    Complex

    Dependencies

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 53

    29.

    Using

    a

    Dummy

    Operation

    to

    Simplify

    Complex

    Dependencies

    .

    .

    .

    .

    .

    .

    .

    . 53

    30.

    EQQWMLSLList

    of

    Workstation

    Descriptions

    54

    31.

    EQQWCGEPCreating

    General

    Information

    about

    a

    Workstation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 55

    32.

    Computer

    Workstation

    with

    Server

    Usage

    Set

    to

    B

    or

    C,

    Controlling

    Job

    Submission

    .

    .

    .

    . 59

    33.

    EQQWMAVLAvailability

    of

    a

    Workstation

    61

    34.

    EQQWMOTLOpen

    Time

    Intervals

    For

    One

    Day

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 61

    35.

    EQQWMATLAll

    Open

    Time

    Intervals

    62

    36.

    EQQWMACLModifying

    All

    Workstations

    Closed

    .

    .

    .

    .

    .

    .

    .