cics_trianing class_01.ppsx

Upload: ravikiran8p

Post on 14-Apr-2018

247 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    1/23

    IBM MAINFRAMES

    CICS Training Class-01

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    2/23

    Typical mainframe workloas

    Most mainframe workloads fall into one of two

    categories: batch processing or online transaction

    processing.

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    3/23

    Ba!c" processing

    One key advantage of mainframe systems is their

    ability to process terabytes of data from high-speed

    storage devices and produce valuable output.

    The applications that produce these statements are

    batch applications, that is, they are processed on the

    mainframe without user interaction.

    A batch ob is submitted !through JCL" on thecomputer, reads and processes data in bulk !perhaps

    terabytes of data", and produces output, such as

    customer billing statements.

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    4/23

    Batch

    Process

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    5/23

    #nline Transac!ion $rocessing

    Transaction processing that occurs interactively withthe user is referred to as online transaction processing

    !O#T$".

    Transaction systems must be able to support anunpredictable number of concurrent users and

    transaction types. Most transactions are e%ecuted in

    short time periods.

    These systems are currently supporting mission-

    critical applications& therefore, continuous availability,

    high performance, and data protection and integrity

    are re'uired.

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    6/23

    OLTP

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    7/23

    %ifference Be!ween Ba!c" An#nline

    Ba!c" Sys!em

    (nput data prepared before

    the e%ecution

    $rocessing se'uence ispredictable

    $rograms and files can)t be

    shared

    $rograms are scheduled

    through *O+

    ecovery and restart is easy

    #nline Sys!em

    ata is prepared at the time of

    e%ecution as needed

    $rocessing se'uence isunpredictable

    $rograms and files can be

    shared

    $rograms are initiated through

    transactions any time

    ecovery and restart re'uires

    additional process

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    8/23

    In!ro&c!ion To CICS

    /(/ stands for customer information and control system

    eveloped in late 01234s as +5/ control system

    /(/ provides an interface between the operating system and

    application program. /(/ can be used two different levels

    Macrolevel/(/initial version operated by assembler

    macros to re'uest /(/ services

    /ommandlevel/(/high level language version

    operated under command which can replace series of

    macros

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    9/23

    CICS & Operating System

    DAA!AS"

    /(/

    Application

    $rogram

    Operating ystem

    Terminal

    DATASETS

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    10/23

    CICS Componen!s

    /ontrol$rograms: these are the program that actually

    provide the interface between the operating system and

    application program to handle general functions of /(/

    /ontrolTables: this defines the /(/ environment.6unctionally associated with control programs.

    To e%ecute any program!TA7" in /(/ we need to

    specify5define the program name in this table which

    further used by control program to e%ecute !(8(T(AT9".

    /ontrolAreascontains the system type information about the

    task and transaction

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    11/23

    Con!rol Ta'les An Con!rol $rograms

    Control Table Control Program

    $rocessing $rogram Table $$T$/$

    $rogram /ontrol $rogram

    $rogram /ontrol Table $/T7/$

    Task /ontrol $rogram

    6ile /ontrol Table 6/T6/$

    6ile /ontrol $rogram

    Terminal /ontrol Table T/TT/$

    Terminal /ontrol $rogram

    Temporary torage Table TTT$

    Temporary torage $rogram

    85A /$ torage /ontrol $rogram

    85A (/$ (nterval /ontrol $rogram

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    12/23

    BASIC MA$IN(S)$$#RT

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    13/23

    In!ro&c!ion To BMS

    The primary function of +M is

    To design a screen with +M macros

    To remove device and format dependency

    To provides Te%t handling

    To terminal $aging and Message outing

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    14/23

    Map An Mapse!

    Any screen developed with help of +M macros is known as

    #A$ andcollection of one or more maps is known as

    #A$S"

    Multimap$anel: ingle panel with two or more maps in it atonce.

    MultipleMap:ingle screen with two or more maps in it but

    one at a time

    To design a MA$9T: e can use either assembler language i.e., !#S

    MA/O or 6!SC%""D"'IIIO

    'ACILI() Tool

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    15/23

    Map Fiels

    6ields are of two types :

    Label 'ield

    Data*alue 'ield

    #abelfields used to specify the label tags on the screen tospecify information

    atavaluefields which can be used to pass the data between

    map and program

    #abel fields does not contain names in name field where as data

    value filed does, which are used to create symbolic map data

    items.

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    16/23

    BMS Macros

    D'+#SD: ATA 6acility ;ierarchy Mapset efinition used

    to define a mapset and its characteristics and to specify end of

    the mapset

    Only one mapset is allowed in one assembly program

    D'+#DIMap definition interface used to define a map and

    its characteristics. More than one map can be defined in a

    mapset program

    D'+#D'map definition field used to define a field and itscharacteristics. More than one filed can be defined with-in a

    map

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    17/23

    BMS Mapse! Coe S"ee!

    1 8 9 14 15 16 72

    0-< mapset 5map5field name

    , !lan-

    1 = 0> +M macros

    / blan-

    02-

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    18/23

    STR)CT)RE #f BMS Mapse! $rogram

    #A$S"A#" D'+#SD TB$9CDB$AM 96(89 A MA$9T

    #A$A#" D'+#DI (E9C!?>,F3" 96(89 A MA$

    'IL"DA#" D'+#D' $OC!03,G3" 6(#9

    'IL"DA#"D'+#D' $O010H,>3) 6(#9

    .

    .

    #A$A#"2 D'+#DI (E9C!?>,F3" MA$

    'IL"DA#"D'+#D' $OC!03,G3" 6(#9

    'IL"DA#"D'+#D' $OC!?3,>3) 6(9#

    .

    .

    D'+#SD TB$9C6(8A#MA$9T 98

    98

    Name Field Macro Field Parameter

    Field

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    19/23

    $repara!ion #f CICS Mapse!

    !#S ASS"#!L($%O3%A#

    ASS"!L"%

    CO#$IL"%

    S(#!LOIC #A$ $+(SICAL #A$

    LI4A3" "DIO%

    LOAD #OD5L"

    ASMA90

    $AMCB$AM!MA$"$AMCB$AM!9/T"

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    20/23

    Types #f Maps

    There are two types of maps: $hysical & Symbolic

    $hysicalmapwhich represents a load module used in /(/

    region for e%ecution. 9nsures device independency

    The mapset name ma% can be up to F characters.0-< mapset name used defined used in the program

    Fth byte character is suffi%ed by the system at run timebased on the device used

    #A$S" should have an $$ "ntry

    Symbolicmapwhich represents a copy book containing all the

    data item declaration used in the application program. 9nsures

    format independency.

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    21/23

    #A$S" D'+#SD ($"0&S(S$A%#6 7 LA30CO!OL6 7

    #OD"0IO56 7

    IOA$'70("S6 7

    SO%A3"0A5O6 7

    C%L01'%""4!6ALA%#6'%S")

    88888888888888888888888888888888888888888888888888888888#A$ D'+#DI SI9"012:6,;)6 7

    LI"06 7

    COL5#06 7

    J5SI'(0L"'

    88888888888888888888888888888888888888888888888888888888

    D'+#D' $OS016

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    22/23

    En!ry Re*&ire For Mapse!

    #A$S" should have an $$ "ntry.

    /ommand to create an entry in $$T.

    C"DA D"' #A$S"1#A$S" A#") 313%O5$A#")

    C"DA IS #A$S"1#A$S" A#") 313%O5$A#")

    /ommand to send the map onto the screen.

    C"CI S"D #A$1#A$ A#") #A$S"1#A$S" A#")

  • 7/27/2019 CICS_Trianing Class_01.ppsx

    23/23

    T"ank +o&