+ All Categories
Home > Documents > IMS DC Programming

IMS DC Programming

Date post: 30-Oct-2015
Category:
Upload: ashwin-reddy
View: 316 times
Download: 4 times
Share this document with a friend
Description:
Mainframe

of 615

Transcript
  • IMS

    Application

    Programming:

    Transaction

    Manager

    Version

    7

    SC26-9425-04

  • IMS

    Application

    Programming:

    Transaction

    Manager

    Version

    7

    SC26-9425-04

  • Note

    Before

    using

    this

    information

    and

    the

    product

    it

    supports,

    be

    sure

    to

    read

    the

    general

    information

    under

    Notices

    on

    page

    563

    Fifth

    Edition

    (April

    2004)

    (Softcopy

    Only)

    This

    edition

    replaces

    and

    makes

    obsolete

    the

    previous

    edition,

    SC26-9425-03.

    This

    edition

    is

    available

    in

    softcopy

    format

    only.

    The

    technical

    changes

    for

    this

    version

    are

    summarized

    under

    Summary

    of

    Changes

    on

    page

    xix.

    Copyright

    International

    Business

    Machines

    Corporation

    1974,

    2004.

    All

    rights

    reserved.

    US

    Government

    Users

    Restricted

    Rights

    Use,

    duplication

    or

    disclosure

    restricted

    by

    GSA

    ADP

    Schedule

    Contract

    with

    IBM

    Corp.

  • Contents

    Figures

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . vii

    Tables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . ix

    About

    This

    Book

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiii

    Summary

    of

    Contents

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiii

    Prerequisite

    Knowledge

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiii

    How

    to

    Use

    This

    Book

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiv

    Terminology

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiv

    How

    to

    Read

    Syntax

    Diagrams

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiv

    How

    to

    Send

    Your

    Comments

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xvii

    Summary

    of

    Changes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xix

    Changes

    to

    the

    Current

    Edition

    of

    this

    Book

    for

    IMS

    Version

    7

    .

    .

    .

    .

    .

    .

    . xix

    Changes

    to

    This

    Book

    for

    IMS

    Version

    7

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xix

    Library

    Changes

    for

    IMS

    Version

    7

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xix

    Part

    1.

    Writing

    Application

    Programs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 1

    Chapter

    1.

    How

    Application

    Programs

    Work

    with

    the

    IMS

    Transaction

    Manager

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 7

    Application

    Program

    Environments

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 7

    The

    Application

    Programming

    Interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 7

    Getting

    Started

    with

    DL/I

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 10

    Relationship

    of

    AIB

    and

    PCB

    with

    Language

    Interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 11

    Using

    DL/I

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 12

    How

    Your

    Program

    Processes

    Messages

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 14

    How

    IMS

    TM

    Edits

    Messages

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 19

    DB2

    Considerations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 28

    Chapter

    2.

    Defining

    Application

    Program

    Elements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 29

    Formatting

    DL/I

    Calls

    for

    Language

    Interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 29

    Application

    Programming

    for

    Assembler

    Language

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 30

    Application

    Programming

    for

    C

    Language

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 33

    Application

    Programming

    for

    COBOL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 37

    Application

    Programming

    for

    Pascal

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 40

    Application

    Programming

    for

    PL/I

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 43

    Relationship

    of

    Calls

    to

    PCB

    Types

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 46

    Specifying

    the

    I/O

    PCB

    Mask

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 47

    Specifying

    the

    Alternate

    PCB

    Mask

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 51

    Specifying

    the

    AIB

    Mask

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 51

    Specifying

    the

    I/O

    Areas

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 53

    Using

    the

    AIBTDLI

    Interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 53

    Specifying

    the

    Language-Specific

    Entry

    Point

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 54

    PCB

    Lists

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 57

    Using

    Language

    Environment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 57

    Special

    DL/I

    Situations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 59

    Chapter

    3.

    Writing

    DL/I

    Calls

    for

    Transaction

    Management

    .

    .

    .

    .

    .

    .

    . 61

    AUTH

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 61

    CHNG

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 66

    CMD

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 74

    GCMD

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 75

    Copyright

    IBM

    Corp.

    1974,

    2004

    iii

  • GN

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 76

    GU

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 77

    ISRT

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 79

    PURG

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 82

    SETO

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 84

    Chapter

    4.

    Writing

    DL/I

    Calls

    for

    System

    Services

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 91

    APSB

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 92

    CHKP

    (Basic)

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 93

    CHKP

    (Symbolic)

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 94

    DPSB

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 95

    GMSG

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 96

    GSCD

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 98

    ICMD

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 99

    INIT

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 101

    INQY

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 103

    LOG

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 112

    RCMD

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 114

    ROLB

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 115

    ROLL

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 116

    ROLS

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 117

    SETS/SETU

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 119

    SYNC

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 120

    XRST

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 121

    Chapter

    5.

    Message

    Processing

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 125

    Sending

    Messages

    to

    Other

    Terminals

    and

    Programs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 125

    Communicating

    with

    Other

    IMS

    TM

    Systems

    Using

    MSC

    .

    .

    .

    .

    .

    .

    .

    .

    . 130

    IMS

    Conversations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 132

    Processing

    Conversations

    with

    APPC

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 142

    Processing

    Conversations

    with

    OTMA

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 146

    Backing

    out

    to

    a

    Prior

    Commit

    Point:

    ROLL,

    ROLB,

    and

    ROLS

    Calls

    .

    .

    .

    . 146

    Backing

    out

    to

    an

    Intermediate

    Backout

    Point:

    SETS/SETU

    and

    ROLS

    .

    .

    .

    . 150

    Writing

    a

    Message-Driven

    Program

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 152

    Coding

    DC

    Calls

    and

    Data

    Areas

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 153

    Part

    2.

    Message

    Format

    Service

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 163

    Chapter

    6.

    Introduction

    to

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 165

    Advantages

    of

    Using

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 165

    MFS

    Control

    Blocks

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 166

    Overview

    of

    MFS

    Components

    and

    Operation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 172

    Devices

    and

    Logical

    Units

    That

    Operate

    with

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 175

    Using

    Distributed

    Presentation

    Management

    (DPM)

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 177

    Chapter

    7.

    Message

    Formatting

    Functions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 179

    Input

    Message

    Formatting

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 179

    General

    Rules

    for

    Multiple

    DPAGE

    Input

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 197

    3270

    and

    SLU

    2

    Input

    Substitution

    Character

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 197

    Input

    Format

    Control

    for

    ISC

    (DPM-Bn)

    Subsystems

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 198

    Output

    Message

    Formatting

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 200

    Output

    Format

    Control

    for

    ISC

    (DPM-Bn)

    Subsystems

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 224

    Your

    Control

    of

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 231

    MFS

    Format

    Sets

    Supplied

    by

    IMS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 241

    MFS

    Formatting

    for

    the

    3270

    or

    SLU

    2

    Master

    Terminal

    .

    .

    .

    .

    .

    .

    .

    .

    . 243

    MFS

    Device

    Characteristics

    Table

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 244

    iv

    Application

    Programming:

    Transaction

    Manager

  • Version

    Identification

    Function

    for

    DPM

    Formats

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 245

    Chapter

    8.

    MFS

    Application

    Program

    Design

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 247

    Relationships

    Between

    MFS

    Control

    Blocks

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 247

    Format

    Library

    Member

    Selection

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 254

    3270

    or

    SLU

    2

    Screen

    Formatting

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 257

    Performance

    Factors

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 261

    Chapter

    9.

    Application

    Programming

    Using

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 269

    Input

    Message

    Formats

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 269

    Output

    Message

    Formats

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 271

    Chapter

    10.

    MFS

    Language

    Utility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 307

    Utility

    Control

    Statements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 307

    Part

    3.

    IMS

    Adapter

    for

    REXX

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 387

    Chapter

    11.

    IMS

    Adapter

    for

    REXX

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 389

    Addressing

    Other

    Environments

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 390

    REXX

    Transaction

    Programs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 390

    REXXTDLI

    Commands

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 394

    REXXTDLI

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 395

    REXXIMS

    Extended

    Commands

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 398

    Chapter

    12.

    Sample

    Execs

    Using

    REXXTDLI

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 411

    SAY

    Exec:

    For

    Expression

    Evaluation

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 411

    PCBINFO

    Exec:

    Display

    PCBs

    Available

    in

    Current

    PSB

    .

    .

    .

    .

    .

    .

    .

    .

    . 412

    PART

    Execs:

    Database

    Access

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 414

    DOCMD:

    IMS

    Commands

    Front

    End

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 417

    IVPREXX:

    MPP/IFP

    Front

    End

    for

    General

    Exec

    Execution

    .

    .

    .

    .

    .

    .

    .

    . 421

    Part

    4.

    For

    Your

    Reference

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 423

    Chapter

    13.

    Summary

    of

    TM

    Message

    and

    System

    Service

    Calls

    .

    .

    .

    . 425

    Transaction

    Management

    Call

    Summary

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 425

    System

    Service

    Call

    Summary

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 426

    Chapter

    14.

    DL/I

    Status

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 429

    Status

    Code

    Tables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 429

    Status

    Code

    Explanations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 439

    Chapter

    15.

    DL/I

    Return

    and

    Reason

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 465

    Return

    and

    Reason

    Code

    Tables

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 465

    DL/I

    Return

    and

    Reason

    Code

    Explanations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 482

    Part

    5.

    Appendixes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 493

    Appendix

    A.

    Sample

    Applications

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 495

    Appendix

    B.

    MFS

    Definitions

    for

    Intersystem

    Communication

    .

    .

    .

    .

    .

    . 497

    Appendix

    C.

    Device

    Compatibility

    with

    Previous

    Versions

    of

    MFS

    .

    .

    .

    . 499

    Using

    STACK/UNSTACK

    to

    Convert

    MFS

    Device

    Formats

    to

    Symbolic

    Name

    Formats

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 500

    3270

    Device

    Format

    Conversion

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 501

    Contents

    v

  • 3270

    Printer

    and

    SLU

    1

    Compatibility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 503

    SLU

    P

    Compatibility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 504

    IBM

    3278-52/3283-52

    and

    IBM

    5550

    Family

    (as

    3270)

    Compatibility

    .

    .

    .

    .

    . 504

    Existing

    3270

    and

    IBM

    5550

    Family

    (as

    3270)

    Compatibility

    .

    .

    .

    .

    .

    .

    .

    . 504

    Appendix

    D.

    Spool

    API

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 507

    Understanding

    Parsing

    Errors

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 507

    Understanding

    Allocation

    Errors

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 511

    Understanding

    Dynamic

    Output

    for

    Print

    Data

    Sets

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 511

    Sample

    Program

    Using

    the

    Spool

    API

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 512

    Appendix

    E.

    Using

    the

    DL/I

    Test

    Program

    (DFSDDLT0)

    .

    .

    .

    .

    .

    .

    .

    . 517

    Control

    Statements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 517

    Planning

    the

    Control

    Statement

    Order

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 519

    ABEND

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 520

    CALL

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 520

    COMMENT

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 540

    COMPARE

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 541

    IGNORE

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 547

    OPTION

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 548

    PUNCH

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 549

    STATUS

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 551

    WTO

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 554

    WTOR

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 554

    JCL

    Requirements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 555

    Execution

    of

    DFSDDLT0

    in

    IMS

    Regions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 559

    Explanation

    of

    DFSDDLT0

    Return

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 559

    Hints

    on

    Using

    DFSDDLT0

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 560

    Notices

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 563

    Programming

    Interface

    Information

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 565

    Trademarks

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 565

    Product

    Names

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 566

    Bibliography

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 567

    IMS

    Version

    7

    Library

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 567

    Index

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 569

    vi

    Application

    Programming:

    Transaction

    Manager

  • Figures

    1.

    Hierarchical

    Relationship

    of

    Application

    Programming

    Books

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xiv

    2.

    Application

    View

    of

    DB/DC

    Environment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 8

    3.

    Application

    View

    of

    the

    DCCTL

    Environment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 9

    4.

    DL/I

    Program

    Elements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 11

    5.

    Message

    Segments

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 15

    6.

    Transaction

    Message

    Flow

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 18

    7.

    Inventory

    Inquiry

    MPP

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 19

    8.

    Terminal

    Screen

    for

    MFS

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 24

    9.

    MSC

    Example

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 131

    10.

    Directed

    Routing

    Bit

    in

    I/O

    PCB

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 131

    11.

    General

    Format

    of

    a

    Modified

    DL/I

    Application

    Program

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 144

    12.

    General

    Format

    of

    a

    CPI-C

    Driven

    Application

    Program

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 145

    13.

    SETS

    and

    ROLS

    Calls

    Working

    Together

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 150

    14.

    Message

    Formatting

    Using

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 166

    15.

    MFS

    Control

    Block

    Relationships

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 167

    16.

    PAYDAY

    Screen,

    Formatted

    by

    DOF

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 168

    17.

    PAYDAY

    Screen,

    with

    Filled

    Input

    Fields

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 168

    18.

    PAYDAY

    Screen,

    Output

    Formatted

    by

    DOF

    and

    Displayed

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 169

    19.

    Sample

    MFS

    Control

    Block

    Coding

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 172

    20.

    FTAB

    Qualification

    Descriptions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 191

    21.

    MFS

    Input

    Scan

    When

    FTABs

    Are

    Defined

    with

    FORCE,

    MIX,

    and

    ALL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 193

    22.

    Physical

    Paging

    for

    3270

    or

    SLU

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 205

    23.

    DBCS/EBCDIC

    Mixed

    Data

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 211

    24.

    DBCS/EBCDIC

    Mixed

    Literal

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 212

    25.

    Continuation

    in

    a

    Mixed

    Literal

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 214

    26.

    User

    Field

    and

    Field

    Outlining

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 215

    27.

    Field

    Outlining

    When

    Connecting

    User

    Fields

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 215

    28.

    Data

    Entered

    by

    the

    IMS

    Application

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 229

    29.

    Variable-Length

    Output

    with

    Blank

    Compression

    in

    Record

    Mode

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 230

    30.

    Variable-Length

    Output

    with

    Blank

    Compression

    in

    Stream

    mode

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 231

    31.

    Control

    Block

    Interrelationships

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 248

    32.

    Chained

    Control

    Block

    Linkage

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 249

    33.

    Linkage

    between

    Message

    Fields

    and

    Device

    Fields

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 250

    34.

    LPAGE

    and

    DPAGE

    Relationships

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 250

    35.

    Optional

    Message

    Descriptor

    Linkage

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 251

    36.

    Summary

    of

    Control

    Block

    Linkages

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 252

    37.

    Linkages

    in

    Partitioned

    Format

    Mode

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 253

    38.

    Device

    Type

    Indicators

    for

    Byte

    1

    of

    FMT=

    DEV

    Specification

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 255

    39.

    Coding

    a

    Null

    Character

    in

    COBOL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 273

    40.

    Field

    Format

    (Option

    3)

    Input

    Fields

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 274

    41.

    Binary

    Validation

    Attribute

    Type

    and

    Value

    Specification

    in

    COBOL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 281

    42.

    Various

    Ways

    to

    Specify

    Field

    Outlining

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 281

    43.

    Dynamic

    Modification

    of

    a

    DBCS/EBCDIC

    Mixed

    Field

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 286

    44.

    Control

    Statement

    Syntax

    for

    MFS

    Language

    Utility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 307

    45.

    JCL

    Code

    Used

    to

    Run

    the

    IVPREXX

    Sample

    Exec

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 392

    46.

    IMS

    Adapter

    for

    REXX

    Logical

    Overview

    Diagram

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 393

    47.

    Exec

    To

    Do

    Calculations

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 411

    48.

    PDF

    EDIT

    Session

    on

    the

    SAY

    Exec

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 412

    49.

    Example

    Output

    from

    the

    SAY

    Exec

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 412

    50.

    Example

    Output

    of

    PCBINFO

    Exec

    on

    a

    PSB

    without

    Database

    PCBs.

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 412

    51.

    Example

    Output

    of

    PCBINFO

    Exec

    on

    a

    PSB

    with

    a

    Database

    PCB.

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 412

    52.

    PCBINFO

    Exec

    Listing

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 413

    53.

    Example

    Output

    of

    PARTNUM

    Exec

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 414

    Copyright

    IBM

    Corp.

    1974,

    2004

    vii

    ||

  • 54.

    Example

    Output

    of

    PARTNAME

    Exec

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 414

    55.

    PARTNUM

    Exec:

    Show

    Set

    of

    Parts

    Near

    a

    Specified

    Number

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 415

    56.

    PARTNAME

    Exec:

    Show

    Parts

    with

    Similar

    Names

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 416

    57.

    Output

    from

    =

    >

    DOCMD

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 417

    58.

    Output

    from

    =

    >

    DOCMD

    /DIS

    NODE

    ALL;?

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 417

    59.

    Output

    from

    =

    >

    DOCMD

    /DIS

    NODE

    ALL;CID>0

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 417

    60.

    Output

    from

    =

    >

    DOCMD

    /DIS

    NODE

    ALL;TYPE=SLU

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 418

    61.

    Output

    from

    =

    >

    DOCMD

    /DIS

    TRAN

    ALL;ENQCT>0

    &

    RECTYPE=T02

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 418

    62.

    Output

    from

    =

    >

    DOCMD

    /DIS

    LTERM

    ALL;ENQCT>0

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 418

    63.

    DOCMD

    Exec:

    Process

    an

    IMS

    Command

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 419

    64.

    Sample

    2MFS

    Definition

    Format

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 497

    65.

    Sample

    2MFS

    Definition

    Format

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 498

    66.

    Issuing

    a

    GU

    Call

    to

    the

    I/O

    PCB

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 513

    67.

    Issuing

    a

    CHNG

    Call

    to

    the

    Alternate

    Modifiable

    PCB

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 514

    68.

    Issuing

    an

    ISRT

    Call

    to

    the

    Alternate

    Modifiable

    PCB

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 514

    69.

    Example

    JCL

    Code

    for

    DD

    Statement

    Definition

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 555

    70.

    Example

    JCL

    Code

    for

    DFSDDLT0

    in

    a

    BMP

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 556

    viii

    Application

    Programming:

    Transaction

    Manager

  • Tables

    1.

    How

    to

    Read

    Syntax

    Diagrams

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . xv

    2.

    Input

    Message

    Format

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 16

    3.

    Input

    Message

    Format

    for

    the

    PLTDLI

    interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 16

    4.

    Output

    Message

    Format

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 17

    5.

    Output

    Message

    Format

    for

    PLITDLI

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 17

    6.

    Segment

    1

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 23

    7.

    Segment

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 23

    8.

    Segment

    3

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 23

    9.

    Segment

    4

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 23

    10.

    Option

    1

    Message

    Format

    for

    Segment

    1

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 24

    11.

    Option

    1

    Message

    Format

    for

    Segment

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 24

    12.

    Option

    1

    Message

    Format

    for

    Segment

    3

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 24

    13.

    Option

    1

    Message

    Format

    for

    Segment

    4

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 25

    14.

    Option

    2

    Message

    Format

    for

    Segment

    1

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 25

    15.

    Option

    2

    Message

    Format

    for

    Segment

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 25

    16.

    Option

    2

    Message

    Format

    for

    Segment

    3

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 26

    17.

    Option

    3

    Message

    Format

    for

    Segment

    1

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 26

    18.

    Option

    3

    Message

    Format

    for

    Segment

    3:

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 26

    19.

    Call

    Relationship

    to

    PCBs

    and

    AIBs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 46

    20.

    I/O

    PCB

    Mask

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 47

    21.

    Alternate

    PCB

    Mask

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 51

    22.

    AIB

    Fields

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 51

    23.

    Using

    LANG=

    Option

    in

    a

    Language

    Environment

    for

    PL/I

    Compatibility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 58

    24.

    I/O

    Area

    before

    the

    AUTH

    Call

    is

    Issued

    for

    AIBTDLI,

    ASMTDLI,

    CBLTDLI,

    CEETDLI,

    CTDLI,

    and

    PASTDLI

    interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 62

    25.

    I/O

    Area

    before

    the

    AUTH

    Call

    is

    Issued

    for

    the

    PLITDLI

    interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 62

    26.

    I/O

    Area

    after

    the

    AUTH

    Call

    is

    Issued

    for

    AIBTDLI,

    ASMTDLI,

    CBLTDLI,

    CEETDLI,

    CTDLI,

    and

    PASTDLI

    interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 63

    27.

    I/O

    Area

    after

    the

    AUTH

    Call

    is

    Issued

    for

    the

    PLITDLI

    interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 63

    28.

    GMSG

    Support

    by

    Application

    Region

    Type

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 98

    29.

    ICMD

    Support

    by

    Application

    Region

    Type

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 101

    30.

    INIT

    I/O

    Area

    Examples

    for

    All

    xxxTDLI

    Interfaces

    Except

    PLITDLI

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 102

    31.

    INIT

    I/O

    Area

    Examples

    for

    the

    PLITDLI

    Interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 102

    32.

    INQY

    Null

    Data

    Output

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 105

    33.

    INQY

    Output

    and

    PCB

    Type

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 108

    34.

    INQY

    ENVIRON

    Data

    Output

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 110

    35.

    Subfunction,

    PCB,

    and

    I/O

    Area

    Combinations

    for

    the

    INQY

    Call

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 112

    36.

    Log

    Record

    Formats

    for

    COBOL,

    PL/I,

    C

    Language,

    Pascal,

    and

    Assembler

    for

    AIBTDLI,

    ASMTDLI,

    CBLTDLI,

    CEETDLI,

    CTDLI,

    and

    PASTDLI

    interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 113

    37.

    Log

    Record

    Formats

    for

    COBOL,

    PL/I,

    C

    Language,

    Pascal,

    and

    Assembler

    for

    PLITDLI

    interface

    113

    38.

    RCMD

    Support

    by

    Application

    Region

    Type

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 115

    39.

    Message

    Format

    for

    Program-to-Program

    Message

    Switch

    for

    AIBTDLI,

    ASMTDLI,

    CBLTDLI,

    CEETDLI,

    CTDLI,

    and

    PASTDLI

    Interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 129

    40.

    Message

    Format

    for

    Program-to-Program

    Message

    Switch

    for

    the

    PLITDLI

    Interface

    .

    .

    .

    .

    . 129

    41.

    Directed

    Routing

    Output

    Message

    Format

    for

    AIBTDLI,

    ASMTDLI,

    CBLTDLI,

    CEETDLI,

    CTDLI,

    and

    PASTDLI

    Interfaces

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 132

    42.

    Directed

    Routing

    Output

    Message

    Format

    for

    the

    PLITDLI

    Interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 132

    43.

    SPA

    Format

    for

    AIBTDLI,

    ASMTDLI,

    CBLTDLI,

    CEETDLI,

    CTDLI,

    and

    PASTDLI

    Interfaces

    136

    44.

    SPA

    Format

    for

    the

    PLITDLI

    Interface

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 136

    45.

    Comparison

    of

    ROLB,

    ROLL,

    and

    ROLS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 147

    46.

    C

    MPP

    Skeleton

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 154

    47.

    COBOL

    MPP

    Skeleton

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 156

    48.

    Pascal

    MPP

    Skeleton

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 158

    Copyright

    IBM

    Corp.

    1974,

    2004

    ix

    ||||||||

    ||

    ||

    ||

  • 49.

    PL/I

    MPP

    Skeleton

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 159

    50.

    Terminal

    Devices

    That

    Operate

    with

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 175

    51.

    Input

    Message

    Field

    Types

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 183

    52.

    Example1:

    Input

    Message

    Definition

    for

    Segment

    1

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 184

    53.

    Example1:

    Input

    Message

    Definition

    for

    Segment

    2

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 184

    54.

    Example1:

    Input

    Message

    Definition

    for

    Segment

    3

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 184

    55.

    Example1:

    Input

    Message

    Definition

    for

    Segment

    4

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 184

    56.

    Output

    Message

    Definition

    with

    One

    LPAGE

    Consisting

    of

    One

    Segment

    .

    .

    .

    .

    .

    .

    .

    .

    . 202

    57.

    Output

    Message

    Definition

    with

    One

    LPAGE

    Consisting

    of

    a

    Series

    of

    Segments

    .

    .

    .

    .

    .

    .

    . 202

    58.

    Output

    Message

    Definition

    with

    Multiple

    LPAGEs

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 203

    59.

    SO/SI

    Processing

    Performed

    by

    IMS

    MFS

    Language

    Utility

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 213

    60.

    SO/SI

    Processing

    Performed

    by

    MFS

    Message

    Editor

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 213

    61.

    Outline

    Specification

    for

    Each

    Field

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 216

    62.

    Fixed

    Output

    Message

    Header

    Format

    for

    OPTIONS=MSG

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 222

    63.

    Fixed

    Basic

    Output

    Message

    Header

    (Without

    FORMSNAME)

    for

    OPTIONS=DPAGE

    or

    PPAGE

    223

    64.

    Optional

    Forms

    Output

    Message

    Header

    for

    OPTIONS=DPAGE

    or

    PPAGE

    .

    .

    .

    .

    .

    .

    .

    .

    . 223

    65.

    MFS

    Definitions

    for

    Data

    Entered

    by

    IMS

    Application

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 229

    66.

    MFS

    Definitions

    for

    Record

    Mode

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 230

    67.

    MFS

    Definitions

    for

    Stream

    Mode

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 231

    68.

    Paging

    Operation

    for

    a

    Device

    with

    MFS

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 235

    69.

    IMS

    Protect

    or

    Unprotect

    Action

    Based

    on

    OPTIONS

    Specification

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 239

    70.

    Example

    of

    Device

    Feature

    Indicator

    Values

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 256

    71.

    Maximum

    Line

    and

    Column

    Values

    for

    3270

    Device

    Types

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 270

    72.

    Format

    of

    an

    Output

    Segment

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 272

    73.

    Valid

    Bytes

    and

    Bits

    for

    TYPE=3270,

    SLU

    2,

    DPM-An,

    or

    DPM-Bn

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 275

    74.

    Valid

    Bytes

    and

    Bits

    for

    TYPE=FIDS,

    FIDS3,

    FIDS4,

    FIDS7,

    FIJP,

    FIPB,

    or

    FIFP

    .

    .

    .

    .

    .

    .

    . 275

    75.

    Maximum

    Line

    and

    Column

    Values

    for

    MFS

    Device

    Types

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 276

    76.

    Results

    of

    Data

    Errors

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 277

    77.

    Definitions

    of

    the

    Two

    Attribute

    Bytes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 278

    78.

    Format

    of

    Extended

    Attribute

    Modification

    Bytes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 279

    79.

    Extended

    Attribute

    Types

    and

    Values

    for

    COBOL

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 284

    80.

    Example

    of

    Dynamically

    Modified

    Attribute

    Bytes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 284

    81.

    Attribute

    Type

    Value

    Byte

    Contents

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 285

    82.

    Dynamic

    Modification

    of

    a

    DBCS/EBCDIC

    Mixed

    Field

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 286

    83.

    Lengths

    and

    Formats

    of

    System

    Literals

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 321

    84.

    Bit

    Settings

    for

    DSCA

    Field

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 336

    85.

    3290

    Partitioned

    Format

    Mode

    Bit

    Setting

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 336

    86.

    Bit

    Settings

    for

    DSCA

    Field

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 337

    87.

    Field

    Outlining

    Values

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 372

    88.

    IMS

    Adapter

    for

    REXX

    Parameter

    Types

    and

    Definitions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 396

    89.

    REXXIMS

    Extended

    Commands

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 398

    90.

    Summary

    of

    TM

    Message

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 425

    91.

    Summary

    of

    System

    Service

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 426

    92.

    Database

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 429

    93.

    Message

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 434

    94.

    System

    Service

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 437

    95.

    DL/I

    Return

    Codes

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 465

    96.

    Database

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 466

    97.

    Message

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 471

    98.

    System

    Service

    Calls

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 476

    99.

    Program

    Languages

    Available

    for

    IVP

    Sample

    Program

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 495

    100.

    MFS

    Device

    Definition

    Compatibility

    for

    3270

    Devices

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 499

    101.

    Advantages

    and

    Disadvantages

    of

    Larger

    Screen

    Device

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 499

    102.

    MFS

    Device

    Definition

    Compatibility

    for

    3270

    Printers

    and

    SLU

    1

    Devices

    .

    .

    .

    .

    .

    .

    .

    .

    . 503

    103.

    Summary

    of

    DFSDDLT0

    Control

    Statements

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 517

    104.

    ABEND

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 520

    x

    Application

    Programming:

    Transaction

    Manager

    ||

    ||||

  • 105.

    CALL

    FUNCTION

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 520

    106.

    CALL

    DATA

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 523

    107.

    OPTION

    DATA

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 525

    108.

    FEEDBACK

    DATA

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 526

    109.

    DL/I

    Call

    Functions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 526

    110.

    CALL

    FUNCTION

    Statement

    (Column-Specific

    SSAs)

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 538

    111.

    CALL

    FUNCTION

    Statement

    with

    DFSDDLT0

    Call

    Functions

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 539

    112.

    COMMENT

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 541

    113.

    COMPARE

    DATA

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 542

    114.

    COMPARE

    AIB

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 543

    115.

    COMPARE

    PCB

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 544

    116.

    IGNORE

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 547

    117.

    OPTION

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 548

    118.

    PUNCH

    CTL

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 549

    119.

    STATUS

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 551

    120.

    WTO

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 554

    121.

    WTOR

    Statement

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    .

    . 554

    Tables

    xi

  • xii

    Application

    Programming:

    Transaction

    Manager

  • About

    This

    Book

    This

    book

    is

    a

    guide

    to

    application

    programming

    in

    a

    Data

    Communication

    (DC)

    environment.

    This

    book

    provides

    guidance

    for

    the

    tasks

    involved

    in

    creating

    and

    running

    application

    programs.

    It

    covers

    basic

    information

    on

    coding

    transaction

    management

    message

    calls

    for

    DC

    programs,

    and

    it

    provides

    information

    on

    creating

    REXX

    EXECs

    under

    Time-Sharing

    Option

    Extensions

    (TSO/E).

    This

    book

    is

    designed

    for

    IMS

    application

    and

    system

    programmers

    who

    use

    the

    DC

    environment

    of

    the

    IMS

    Transaction

    Manager

    (TM).

    The

    combination

    of

    the

    IMS

    Transaction

    Manager

    and

    the

    IMS

    Database

    Manager

    is

    equivalent

    to

    IMS

    DB/DC.

    This

    book

    also

    contains

    information

    on

    the

    Data

    Communications

    Control

    (DCCTL)

    environment.

    DCCTL

    is

    generated

    by

    IMS

    TM,

    contains

    no

    database

    components,

    and

    is

    designed

    to

    function

    as

    a

    transaction

    manager

    for

    non-IMS

    database

    management

    systems.

    This

    information

    is

    available

    in

    PDF

    and

    BookManager

    formats.

    To

    get

    the

    most

    current

    versions

    of

    the

    PDF

    and

    BookManager

    formats,

    go

    to

    the

    IMS

    Library

    page

    at

    www.ibm.com/software/data/ims/li


Recommended