CICS - Intro and Overview V4

Embed Size (px)

Citation preview

  • 8/2/2019 CICS - Intro and Overview V4

    1/39

    Introduction and Overview

    Larry Trollope

    Monday August 8, 2011Orlando, FL Session 9627

  • 8/2/2019 CICS - Intro and Overview V4

    2/39

    This session provides an introduction to CICS and

    provides an overview of the product. CICStransaction processing and application server.

    attendee with information regarding importantf n i n li h A li i n D v l m n

    Storage Management, File Control, DB2 and MQattach, Security, Two-phase commit,

    and Dispatching. The attendee also will see howresources are defined and will be introduced to the

    2

    new ace o , e xp orer.

  • 8/2/2019 CICS - Intro and Overview V4

    3/39

    '

    30 billion transactions/day, >$300B/week

    40 years invested in applications16,000 customers worldwide

    950,000 programmers earntheir living from CICS30 million users

    Over 900,000concurrent users/system

    Used by 490 + of IBM''s top500 customers

    5000 packages from 2000 ISVs

    3

    50,000 CICS licenses

  • 8/2/2019 CICS - Intro and Overview V4

    4/39

    What is a transaction and what should

    transact on s t e un amenta un t o wor orwhich recovery, consistency and concurrency are.

    test it should provide:

    Atomicity, Consistency, Isolation and Durability

    4

  • 8/2/2019 CICS - Intro and Overview V4

    5/39

    What else should transaction

    Should provide tools to assist in development Should have an API to shield developers Should have tools to assist in operations

    Should support major platforms ou suppor ma or a a ase sys ems Should support major network protocols

    And it should support Web-based applications

    5

  • 8/2/2019 CICS - Intro and Overview V4

    6/39

    SoCICSis a Transaction Mana er?Customer Information Control System

    also known as .......

    a Transaction Server

    a Transaction Monitor

    6

  • 8/2/2019 CICS - Intro and Overview V4

    7/39

    So what doesCICSactually do?

    CICSprovides a concurrent program executionenvironment for multiple end users, who have.

    CICSwill manage the operating environment toprov e per ormance, sca a ty, secur ty anintegrity.

    7

  • 8/2/2019 CICS - Intro and Overview V4

    8/39

    Transaction Processing Requirements Large volume of business transactions to be rapidly and accurately

    processed

    Multiple users, single/sysplex or distributed

    With potentially: Simultaneous access to data A large volume of data residing in multiple database types Intense security and data integrity controls necessary

    The access to the data is such that: Each user has the perception of being the sole user of the system A set of chan es is uaranteed to be lo icall consistent

    If a failure occurs, any intermediate results are undone before thesystem becomes available again

    A completed set of changes is immediately visible to other users

    8

  • 8/2/2019 CICS - Intro and Overview V4

    9/39

    CICSProvides .......

    Systems Services Storage, Program, Task and Time Control

    , Communications Services To other CICS's, end-users, the web and other non-CICS

    programs SNA TCP/IP

    Data Mana ement Services with Commit with Logging

    Application Development Services API

    9

    Language Tools

    Debug Support

  • 8/2/2019 CICS - Intro and Overview V4

    10/39

    DoesCICSRun on a S stem z? Well yes it does .......

    ,

    AIX, HP-UX, Solaris,and on Windowsand VSE

    and OS/400and Linux (PRPQ 7J0468 on ystem x)

    -

    CICS also has Gatewa s Clients Connectors and

    10

    Systems Management....much much more

  • 8/2/2019 CICS - Intro and Overview V4

    11/39

    -

    CICS API

    CICS

    DATA BASE SUPPORTCOMMUNICATION SERVICESTASK MANAGEMENTPROGRAM MANAGEMENT

    STORAGE MANAGEMENTLANGUAGE SUPPORTOPERATOR INTERFACE

    SYSTEM MANAGEMENTMONITORIING AND STATISTICS

    Communications Database Mana er

    TIME MANAGEMENTRECOVERY SERVICES

    CONNECTIVITY MGMTWEB SERVICES

    Operating System

    11

  • 8/2/2019 CICS - Intro and Overview V4

    12/39

    CICSSystems Services - Security

    Strong security facilities are available in the CICS to implementidentification, authentication and authorization

    Uses SAF calls to access External Security Manager

    Logon/Signon Passwords (8 characters upper/lower/special char) Pass hrase 100 character

    CICS implements techniques to protect

    Resources Commands

    12 Encryption of communication flows

  • 8/2/2019 CICS - Intro and Overview V4

    13/39

    CICSSystems Services - Storage

    Effective use of memory is key to performance

    Supported Virtual Storage, Paging

    Redesigned to .........

    Utilize 31-bit addressing

    Provides storage protection within a region-

    Storage has been a major evolution allowing for

    13

    significant transactional growth

  • 8/2/2019 CICS - Intro and Overview V4

    14/39

    Abnormal termination and exception handling

    Interval Control for time initiated events

    Multitasking and subtasking

    Different TCB's dispatchedr or y sc e u ng

    Open Transaction Environment (OTE)

    JVM Server for threadsafe Java programs Pooled JVM for non-threadsafe Java ro rams

    14

    (See CICS TS 4.2 Statement of Direction)

  • 8/2/2019 CICS - Intro and Overview V4

    15/39

    CICSSystems Management Operator commands to control the transaction processing environment

    (e.g. inquire/change trans, trace, purge trans .)

    CICS Ex lorer Web based definition o eration and monitorin

    Resource Definition Online (RDO) provides dynamic definitions Dynamic Program Library Management without CICS restart

    TRUES Task Related User Exits

    GLUES Global User Exits URM User Replaceable Modules

    Monitoring tools are available to analyze performance and load

    CICS Statistics Utilities

    CICS Performance Monitor CICS Performance Analyzer

    15

    Web based interface (WUI) included with CICS Transaction Server

  • 8/2/2019 CICS - Intro and Overview V4

    16/39

    CICSCommunications Services

    SNA - VTAM 3270 Terminals .

    CICS or IMS ISC (InterSystem Communication) FEPI Front End Programming Interface

    MRO Multiple Region Operation XCF / MRO - Cross-system MRO (CTC or Coupling Facility) EXCI External CICS Interface TCP/IP

    TCP/IP Sockets

    Internet protocols (e.g. HTML, XML, SOAP) Remote Procedure Calls (ONC RPC)

    16

    ote tatement o rect on .

    WebSphere MQ

  • 8/2/2019 CICS - Intro and Overview V4

    17/39

    CICSData Services u p e ypes, mu -access w n same ransac on

    VSAM (KSDS, ESDS, RRDS)and VSAM transparency too.

    DB2

    IMS DBCTL n many o er r par y a a ase pro uc s

    Transient Data queues (TD queues) Temporary Storage (TS)

    >

    17

    Data integrity, logging, recovery, backout, restart

  • 8/2/2019 CICS - Intro and Overview V4

    18/39

    CICSApplication Development Services

    XPI, SPI added for Systems Programmers

    anguage uppor

    (Assembler, COBOL, PL/I, C, C++, Java, REXX)

    Dynamic Scripting with PHP and Groovy support

    Command Interpreter

    End to end debugger for client and server

    18

    Support for BMS/3270 screens, Web Services, and Atom feeds

  • 8/2/2019 CICS - Intro and Overview V4

    19/39

    But What Does aCICSCommandLook Like ?

    EXEC CICS DOCUMENT CREATEEXEC CICS LINK

    PROGRAM M Pro ram'

    TEXT(AppPgmCA)LENGTH(Input_data_len)

    NOHANDLE

    COMMAREA(MyData)

    LENGTH(LengthofMyData)

    EXEC CICS WEB SEND

    DOCTOKEN(Atoken)

    EXEC CICS READNEXT

    DATASET(MENUFILE')

    INTO(MASTER-MENU-RECORD)

    STATUSTEXT(StatusText)

    LENGTH(StatusLen)

    CLNTCODEPAGE('819')

    RIDFLD(MENU-KEY)

    LENGTH(OPTION-LENGTH)

    RESP(CICS-RESPONSE)

    NOHANDLE

    QUEUE('CSSL')

    FROM(IDMSG)

    LENGTH(IDMSGLN)

    EXEC CICS GET

    CONTAINER(MsgInput)

    19

    RESP(RESPVAL) -SET(Msg-Ptr)

    FLENGTH(Msg-Length)

  • 8/2/2019 CICS - Intro and Overview V4

    20/39

    CICSEvents Processing n even s any ng o s gn cance o an en erpr se

    CICS allows users to capture, format and emit businessevents from CICS

    , ,Start Transaction for further processing

    editor built into CICS Explorer and Rational Developer forSystem z with Java (RDz)

    The bindings are enabled using a BUNDLE resource

    20

    RDO or CEMT

  • 8/2/2019 CICS - Intro and Overview V4

    21/39

    CICS One or Man CICS Re ions? CICS can run in one single region

    CICS can run as several independent regions on asingle system or across multiple systems

    CICS can run as several interconnected regions on

    multiple images on a single system or across severalsystems

    S s lex - z/OS

    CICSplex a group of CICS regions

    21

    CICSPLEX SM CICSplex Systems Manager

  • 8/2/2019 CICS - Intro and Overview V4

    22/39

    CICS What do a call a bunch of regions?For manageability and recoverability CICS regions in aCICSplex are often segregated by function

    TOR Terminal Owning Region

    ROR Remote Owning Region

    AOR Application Owning Region

    FOR File Owning Region

    22

    QOR Queue Owning Regions

  • 8/2/2019 CICS - Intro and Overview V4

    23/39

    CICS How Does Your S stem Grow? ISC and MROInterSystems Communication - system to system

    u - eg on pera on - reg on o reg on

    XCF/MRO Cross System Coupling Facility MRO IPIC IP InterCommunications

    Multi-platform

    Clients and Gateways

    o s ng e po n s o a ure

    Systems Management

    23 Workload Balancing

  • 8/2/2019 CICS - Intro and Overview V4

    24/39

    CICSMRO, ISC, IPICandXCF

    SNA or TCP/IP Network

    TOR TOR TOR

    AOR AOR AOR AOR AOR AOR

    Sysplex A Sysplex A

    MVSA MVSB MVSCCF

    24

    Communicating among CICSs can be

    using memory, SNA or TCP/IP

  • 8/2/2019 CICS - Intro and Overview V4

    25/39

    CICSe-business o tions

    DistributedWebSphere and

    CICS TransactionGateway

    z/OS WebSphere

    New CICS JavaApplications

    CICS Transaction

    Gateway

    CICS

    Applications

    ExistingCICS Nat ive

    Interfaces Classic CICSApplications

    25

    pragma c approac o mp emen ng e- us ness so u ons

  • 8/2/2019 CICS - Intro and Overview V4

    26/39

    CICSTransaction Gateway (TG)

    Enables client applications to invoke services in CICS

    Gives users at Web browsers access to business critical applicationsrunning on CICS servers

    Supported on multiple platforms:Windows (XP, Vista, Windows 7)

    Linux -z/OSAIXSun Solaris

    Client InterfacesMQ client - WebSphere MQ queues

    26

    External Presentation Interface (EPI) 3270 Screen Based

    External Call Interface (ECI) - Call and Return with Data

    Remote Procedure Call

  • 8/2/2019 CICS - Intro and Overview V4

    27/39

    Support for IBM JEE and JCA connectors

    z/OSHTT

    Serv

    Browser WebSphere CICS Transaction Server

    CICS Transaction

    let

    COBOL Program

    TCP/IP

    ECI

    EJB Cobol Program

    Gateway

    DB2

    Databases

    Command Bean

    zServerAny platform that canrun WebSphere and

    CTG

    27

  • 8/2/2019 CICS - Intro and Overview V4

    28/39

    CICS ApplicationProgram

    n

    External Call InterfaceEPI

    External PRESENTATION Interface

    ECIExternal CALL Interface

    Intelligent Workstation orother CPU

    Intelligent Workstation orother CPU

    28

  • 8/2/2019 CICS - Intro and Overview V4

    29/39

    CICSaccess with Java

    CICS Client and Gatewa classes Used by Java program to run a CICS transaction ECI, EPI calls available

    JCICS Classes

    Allow CICS function execution for Java programs

    Connection to CICS can be by

    Program calls can be created by programdevelopment workbenches

    29

  • 8/2/2019 CICS - Intro and Overview V4

    30/39

    CICS Transaction Server

    Web

    Browser

    Web

    Interface

    us nessLogic

    Interface

    ApplicationTCP/IP

    Service

    3270Bridge

    Rapid enablement of 3270 Terminal Transactions

    Utilities provided to recover old maps

    CICS interprets HTML/XML flows, formats as if it came from 3270

    Allows new web applications to be written using CICS skills Linkable bridge allows EXCI invocation of 3270 terminal based trans

    30

  • 8/2/2019 CICS - Intro and Overview V4

    31/39

    CICSWeb Su ort

    WebBrowser

    CICSWebInterface

    BusinessLogicInterface

    ApplicationCICSTCP/IPService

    Gives CICS applications direct access to web browser

    Allows new web applications to be written using CICS skills

    Secure Socket Layer (SSL) support using up to 256 bit encryption

    ert cates mappe to Mixed case password and passphrase support

    Can be s s lex enabled

    31

  • 8/2/2019 CICS - Intro and Overview V4

    32/39

    CICSService Oriented Architecture (SOA)

    Service ServiceMsg Msg Msg Msg Msg MsgCICS

    CICS Web Services

    Inte rated into most current release

    Requestor ProviderIn 1 In - 2 In 3 Out 1 Out -2 Out - 3

    Program

    PipelinePipeline

    Defined by Web Service Description Language (WSDL) CICS role in SOA can be service requestor, service provider or both

    CICS Web Services utility programs Use a Web Service provided by an external provider

    Support for web services standards and technologies WSDL 2.0 - . WS-Security WS-Trust WS-Addressing

    32

    Optimized Packaging (MTOM/XOP)

  • 8/2/2019 CICS - Intro and Overview V4

    33/39

    High Volume and High Availability

    on gurat on

    CTG DB2

    PortCTG

    EXCI

    CICS

    MQ

    WebS here TCP/IP

    CTGCICS

    MQ

    Port CTG

    EXCI

    CICSMQ

    CTG

    CTGCICS

    DB2

    MQ

    33

    Work Load Agent MVS Work Load Manager

  • 8/2/2019 CICS - Intro and Overview V4

    34/39

    CICSTools If CICSdoes not provide the needed functionality there are

    many tools available from IBM and other vendors to assist in

    For example IBM provides the following:

    CICS Configuration Manager for z/OS CICS Interdependency Analyzer CICS Online Transmission Time O timizer for z/OS CICS VSAM Recovery for z/OS CICS Performance Analyzer CICS Business Events Publisher

    CICS VSAM Transparency CICS Deployment Assistant for z/OS CICS Service Flow Runtime

    34

    IBM Tivoli OMEGAMON XE for CICS on z/OS REXX for CICS Transaction Server for VSE/ESA Extensions to the CICS Information Center

  • 8/2/2019 CICS - Intro and Overview V4

    35/39

    I mm r CICSis ideal for existing transactional environments and

    ..

    Availability, Maintainability, and Scalability

    Tools for Development, Support and Operation

    Continues exploitation of new hardware and softwaretechnology

    Plenty of education is available

    35

  • 8/2/2019 CICS - Intro and Overview V4

    36/39

    Some UsefulCIC Information

    http://www.SHARE.org

    SHARE Website Volunteer Center >

    then select Data ProgramCICS Project

    ou n n orma on on:CICS AnnouncementsCICS Tools

    CICS User GroupsCICS-L Discussion group (listserv)

    36

  • 8/2/2019 CICS - Intro and Overview V4

    37/39

    Some useful IBM Websites

    http://www.ibm.com/software/htp/cics/CICS Product Information

    http://publib.boulder.ibm.com/infocenter/cicsts/v4r2/index.jspCICS Information Center for CICS Transaction Server

    http://www.redbooks.ibm.com/

    Download Redbooks

    . .SOAP for CICS Information

    http://www.ibm.com/software/ts/cics/education/

    sts ava a e tra n ng courses an cert cat ons

    http://www.ibm.com/support/docview.wss?uid=swg27007241

    CICS Su ortPacs

    37

  • 8/2/2019 CICS - Intro and Overview V4

    38/39

    CICS Redbooks

    . . .Introduction to CICS Dynamic Scripting SG24-7924-00Redbook, published March 28, 2011

    Threadsafe Considerations for CICS SG24-6351-03

    Redbook, published March 14, 2011

    Extend The CICS Explorer: A Better Way to Manage Your CICS SG24-7819-00Redbook, published February 23, 2010

    Java Application Development for CICS SG24-5275-03Redbook, published February 24, 2009

    Implementing CICS Web Services SG24-7657-00Redbook, published November 12, 2008

    Exploring Systems Monitoring for CICS Trans Gateway SG24-7562-00e oo , pu s e pr ,

    CICS Web Services Workload Management and Availability SG24-7141-01Redbook published March 31, 2008

    38

    CICS Systems Manager in the WUI as the Principle Management Interface SG24-6793-01Redbook, published November 16 2007

  • 8/2/2019 CICS - Intro and Overview V4

    39/39

    I never said most of the thin s I said.

    If you ask me anything I don't know, I'm not going to answer.

    39

    -- Yogi Berra