30
CICS-Int 1 Introduction to On- Line BATCH – Transactions are accumulated into groups (batches) before processing. ON-LINE – Interactive Transactions entered one at a time via terminals and processed while you wait.

Introduction to On-Line

  • Upload
    helmut

  • View
    22

  • Download
    2

Embed Size (px)

DESCRIPTION

Introduction to On-Line. BATCH – Transactions are accumulated into groups (batches) before processing. ON-LINE – Interactive Transactions entered one at a time via terminals and processed while you wait. Introduction to On-Line. - PowerPoint PPT Presentation

Citation preview

Page 1: Introduction to On-Line

CICS-Int 1

Introduction to On-LineBATCH – Transactions are accumulated into groups (batches) before processing.

ON-LINE – Interactive Transactions entered one at a time

via terminals and processed while you wait.

Page 2: Introduction to On-Line

CICS-Int 2

Introduction to On-LineThe main Advantage of On-Line over batch is responsiveness. Batch response time is usually measured in days where On-Line response time is usually measured in seconds! Another advantage is immediate error correction.Disadvantage – COST!

Page 3: Introduction to On-Line

CICS-Int 3

Introduction to On-LineFour main TYPES of On-Line programs: Menu Inquiry Maintenance Data Entry

Page 4: Introduction to On-Line

CICS-Int 4

Introduction to On-LineMenu Program:Shows list of functions available and allows user to choose which one to perform.Sometimes other NAVAGATION options are presented also, like HELP or EXIT.

Page 5: Introduction to On-Line

CICS-Int 5

Introduction to On-LineInquiry ProgramShows a response to a user’s inquiry.For example: A customer number is entered and a list of Video Tapes currently rented is displayed.

Page 6: Introduction to On-Line

CICS-Int 6

Introduction to On-LineMaintenanceProvides for updates by allowing changes, deletions, and additions of data.For example: Changing the address of a customer.

Page 7: Introduction to On-Line

CICS-Int 7

Introduction to On-LineData Entry Provides for transaction entry. For example: Entry of an order for a customer. The Customer Number and the required details of an order can be entered and validated.

Page 8: Introduction to On-Line

CICS-Int 8

Online System Considerations

Four Main Areas of Concern: Ease of Use Performance File Integrity Security

Page 9: Introduction to On-Line

CICS-Int 9

Online System Considerations

Ease of Use Common User Access (CUA)

Entry Model (Dumb Terminals) Mainframe CICS, etc.

Graphical Model (Workstations, PC’s) Windows, Linux, etc.

Page 10: Introduction to On-Line

CICS-Int 10

Online System Considerations

Performance Response Time (Measurement)

Time for screen update to occur Factors affecting response time

System load (Number of programs running) Communication traffic load Data traffic (Number of I/O operations

required) File activity (Number of files

accessed/updated)

Page 11: Introduction to On-Line

CICS-Int 11

Online System Considerations

File Integrity Simultaneous file activity Shared files (Batch program ‘owns’

file) Multiple users with conflicting needs

File (Record/Block) locking

Page 12: Introduction to On-Line

CICS-Int 12

Online System Considerations

Security Logon Procedure (Name/Password) Multi-level Security

RACF Security profile Alternate Logon’s (Supervisor, etc)

Call Back Security, etc.

Page 13: Introduction to On-Line

CICS-Int 13

Terminal NetworksNetwork connects terminal to hostTerminals can be ‘local’ or ‘remote’Local Short distance (Usually same

building)Remote Further distance (Different cities)

Page 14: Introduction to On-Line

CICS-Int 14

Terminal NetworksLocal Connection Terminal 3270 Family Controller Multiplexor (Optional) Channel attachment

Page 15: Introduction to On-Line

CICS-Int 15

Terminal NetworksRemote Connection 3270 Family Terminal 3270 Family Controller Modem - SDLC (or BSC) Communication Link Modem - SDLC (or BSC) 3270 Family Controller Channel Attachment

Page 16: Introduction to On-Line

CICS-Int 16

Terminal NetworksIBM’s 3270 family of terminals 3270 Information Display System

3270 Display Stations 3278 – Monochrome 3279 – Seven Color (w/intensity also)

3270 Printers Dot matrix Printers Line Printers Laser Printers

Page 17: Introduction to On-Line

CICS-Int 17

Terminal NetworksIBM 3270 Family (Continued) 3270 Controllers

Connect up to 32 devices to controller Coaxial cables Multiplexors (8 units via single cable)

Options Light pens, extended keyboards

(languages), extended attributes (highlighting, blinking, etc.)

Page 18: Introduction to On-Line

CICS-Int 18

Terminal Networks3270 Emulators PC Programs emulate Mainframe

Terminal Adds: upload and download of files Translation from/to EBCDIC/ASCII Also allows screen/file printing Changes PC to ‘FULL SCREEN’ device

Page 19: Introduction to On-Line

CICS-Int 19

Introduction to CICSCustomer Information Control SystemIBM Product of the 70’s (Intro in 1969)490 of Fortune 500 use CICSOver 1 billion lines of CICS (COBOL) codeNearly 15 million CICS terminalsNearly 1 million CICS programmersAllows BATCH O/S to handle ONLINE

Page 20: Introduction to On-Line

CICS-Int 20

Introduction to CICSCICS is interface between O/S & progCICS acts like an Operating System Manages its own storage Provides its own file and D/B

management Has its own TASK manager Runs in its own ADDRESS SPACE

Page 21: Introduction to On-Line

CICS-Int 21

Introduction to CICSMultitasking is basic feature of CICS CICS allows multiple tasks to operate Uses its own method (not regular O/S) Works same regardless of O/SMultithreading allows program sharing Program must be reentrant No code modification allowed!

Page 22: Introduction to On-Line

CICS-Int 22

Introduction to CICSAssembler can be used (carefully!)CICS/COBOL produces reentrant code.Users share same program code.Each user gets separate copy of W/S.Users invoke a TRANSACTION

Page 23: Introduction to On-Line

CICS-Int 23

Introduction to CICSTRANSACTION specifies prog to runTRANS-ID is 4 character unique codeOnce loaded into CICS storage, it stays. (Unless external request received)Each user is assigned a TASK Task active until RETURN is issued

Page 24: Introduction to On-Line

CICS-Int 24

Introduction to CICS Tables

Each TRANS-ID is defined in PCT TRANS-ID is four chars (w/trailing spaces) PCT = Program Control Table PCT is list of valid TRANS-ID’s Paired with ‘Program Name’ to use Program names are eight characters

(wts) IBM TRANS-ID’s start with ‘C’

Page 25: Introduction to On-Line

CICS-Int 25

Introduction to CICS TablesPPT = Processing Program TableList of all valid program namesUsed by CICS to determine if in storage.IF not in storage, CICS loads NEW COPYTables created by programmer with CEDARDO = Resource Definition OnLine - CEDA

Page 26: Introduction to On-Line

CICS-Int 26

Intro to CICS ServicesThree main categories of CICS Services: Data Communications Services Data Management Services CICS Management Services

Page 27: Introduction to On-Line

CICS-Int 27

Intro to CICS ServicesData Communication Services Basic mapping Support (BMS)

Assembler program to handle screen formats.

Terminal Control Interface with VTAM Send/Receive text to/from terminal

Page 28: Introduction to On-Line

CICS-Int 28

Intro to CICS ServicesData Management No COBOL READ/WRITE Permitted! CICS handles all data requests VSAM, DL/1, and DB/2 Files defined in FCT FCT = File Control Table List of available files, status, type,

security

Page 29: Introduction to On-Line

CICS-Int 29

Intro to CICS ServicesCICS Management Services Program Control

Allows TASK to call other programs Some RETURN and some don’t

Temporary Storage Control Transient Data, Interval, Storage

Control Task, Dump, Trace and Journal Control

Page 30: Introduction to On-Line

CICS-Int 30

Intro to Program Development

Develop complete program specsDesign the programCreate required CICS table entriesCreate the BMS MapsetCode the programCompile and Test programDocument the program