CICS 1

C I C S
(Customer InIormation Control System)
C I C S
(Customer InIormation Control System)
CICS 2
%able oI Contents %able oI Contents
· Introduction to CICS
· Basic Mapping Support
· Program Control
· File Control
· Queues
· Interval and %ask Control
· Recovery and restart
· Program preparation
· CICS Supplied %ransactions
· Screen DeIinition Facility
CICS 3
Introduction to CICS Introduction to CICS
CICS 4
Introduction Introduction
· Customer InIormation Control System -CICS developed in
late 1960s as a DB/DC control system
· CICS provides an interIace between the Operating System
and application programs
· Macro Level CICS - initial version Assembler macro to
request CICS services
· Command Level CICS - high level lang.version -
commands to request CICS services - Single command
can replace series oI macros
CICS 5
Batch & Online : DiIIerences Batch & Online : DiIIerences
· BATCH SYSTEM
1. Input data is prepared and
given in sequence (Iile)
2. Processing sequence is
predictable and hence
restarting the process in
case oI Iailure is easy.
3. Programs and Iiles can`t
be shared
4. Programs are scheduled
through iobs
· ONLINE SYSTEM
1. Data is entered as needed
not in sequence (terminal)
2. Since processing seq. is
unpredictable, special
recovery/restart proc. is
reqd. in case oI Iailure.
3. Programs and Iiles can
be shared
4. %ransaction can be run at
any time
CICS 6
CICS & Operating System CICS & Operating System
Operating System
CICS
&ser`s
App.Prg
Files &
Database
Enter Code :
CICS 7
DB/DC System DB/DC System
%erminals
Central System
Data
Base
CICS 8
CICS System Services CICS System Services
· Data-Communication Functions
· Data-Handling Functions
· Application Program Services
· System Services
· Monitoring Functions
CICS 9
%ask &%ransaction %ask &%ransaction
· Task :- A basic unit oI work which is scheduled by the
operating system or CICS
Ex -Read Irom and write to the terminal
· Transaction :- An entity which initiates execution oI a
task. In CICS, transaction is identiIied by the transaction
identiIier (%rans-id)
CICS 10
Application Programming
Concepts
Application Programming
Concepts
· !seudo-Conversational
· Multitasking
· Multithreading
· Quasi-Reentrancy
CICS 11
%erminal Conversation %erminal Conversation
· Conversational : A mode oI dialogue between program
and terminal based on a combination oI sending message
and receiving message within the same task
· Since human response is slower than the CP& speed, a
signiIicant amount oI resource will be wasted iust waiting
· !seudo-Conversational. A mode oI dialogue between
program and terminal which appears to the operator as a
continuous conversation but which is actually carried by a
series oI tasks
CICS 12
Conversational %ransaction
Example
Conversational %ransaction
Example
PROCED&RE DIVISION.
:
FIRS%-PROCESS.
EXEC CICS RECEIVE ---- ·÷ %SK1,12345
END-EXEC.
: process
EXEC CICS SEND ----- ·÷ EMP(12345) Details
END-EXEC.
* - - - - - - Program Waits For Response - - - - -
SECOND PROCESS.
EXEC CICS RECEIVE ----- ·÷ &ser Enters Data
END-EXEC.
: process
CICS 13
Pseudo-Conversational
Example
Pseudo-Conversational
Example
%ransaction %SK1
Program PROG1
PROCED&RE DIVISION.
:
EXEC CICS RECEIVE
END-EXEC.
:
EXEC CICS SEND
END-EXEC.
EXEC CICS RE%&RN
%RANSID (%SK2`)
END-EXEC.
%ransaction %SK2
Program PROG2
PROCED&RE DIVISION.
:
EXEC CICS RECEIVE
END-EXEC.
:
EXEC CICS SEND
END-EXEC.
EXEC CICS RE%&RN
END-EXEC.
CICS 14
CICS Components CICS Components
· Control !rograms (or Management Modules)
Programs that interIace between OS and app. pgm
Handle the general Iunctions that are crucial to operation oI CICS
· Control Tables
DeIine the CICS environment
Functionally associated with the management module
· Control Blocks (or Areas)
Contain system type inIormation. Eg. %ask Control Area contains
inIormation about the task
CICS 15
Management Pgms. & Ctrl.
%ables
Management Pgms. & Ctrl.
%ables
· Programs
Program Control PCP
File control FCP
%erminal Control %CP
%ask Control KCP
%emporary Storage %SP
%ransient Data %DP
Storage Control SCP
Interval Control ICP
Journal Control JCP
· %ables
Processing Program %able PP%
File Control %able FC%
%erminal Control %able %C%
Program Control %able PC%
%emp. Storage %able %S%
Destin. Control %able DC%
CICS 16
CICS Program Considerations CICS Program Considerations
· Considerations
- Must eventually return control to CICS
- Can`t modiIy procedure division instructions cause CICS
programs may be shared by many tasks
- Can modiIy working storage since a unique copy oI working
storage is created Ior each task
CICS 17
CICS Program Restrictions CICS Program Restrictions
· Restrictions
- No CONFIG. SEC%ION, I/O SEC%ION to be speciIied in the
ENVIRONMEN% DIVISION.
- FILE SEC%ION, OPEN, CLOSE, and non-CICS READ &
WRI%E statements are not permitted because Iile management
is handled by CICS.
- COBOL commands such as ACCEP%, DISPLAY, EXHIBI%,
%RACE, S%OP R&N, GOBACK are avoided. (S%OP R&N &
GOBACK are sometimes included in order to eliminate
compiler diagnostic but never executed)
CICS 18
Sample CICS Program Sample CICS Program
IDENTIFICATION DIVISION.
!ROGRAM-ID. SAM!LE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-IN!&T.
05 WS-TRANSID ! IC X(4).
05 FILLER !IC X(1).
05 WS-IN-EM!-CD !IC X(4) VAL&E ALL X`.
01 WS-O&T!&T.
05 FILLER !IC X(16) VAL&E EM! CODE : .
05 WS-O&T-EM!-CD !IC X(4).
01 WS-LENGTH !IC S9(4) COM!.
LINKAGE SECTION.
CICS 19
Sample Program Contd. Sample Program Contd.
!ROCED&RE DIVISION.
000-MAINLINE.
!ERFORM 100-RECV-IN!&T.
!ERFORM 200-SEND-O&T!&T.
EXEC CICS RET&RN END-EXEC.
STO! R&N.
100-RECV-IN!&T.
MOVE 9 TO WS-LENGTH.
EXEC CICS RECEIVE
INTO (WS-IN!&T) LENGTH (WS-LENGTH)
END-EXEC.
MOVE WS-IN-EM!-CODE TO WS-O&T-EM!-CODE
200-SEND-O&T!&T.
EXEC CICS SEND
FROM (WS-O&T!&T) LENGTH (20)
ERASE
END-EXEC.
CICS 20
Basic Mapping Support Basic Mapping Support
CICS 21
%opics in BMS %opics in BMS
· Introduction to BMS
· Physical and Symbolic Map
· Map and Mapset
· Map DeIinition Macros
· Screen Manipulation/Handling
· Screen Design Considerations
· InterIacing with %erminal using a Map
CICS 22
Introduction to BMS Introduction to BMS
· Primary Iunctions oI BMS
· Removal oI device dependent codes Irom Application Program
· Removal oI constant inIormation Irom Application program
(Headers, %itles...)
· Construct NMDS - Native Mode Data Stream
· %ext handling
· %erminal Paging & Message routing
· Contents oI the screen deIined thru` BMS is called Map.
· Map is a program written in assembly language.
· BMS macros are available Ior Map coding.
CICS 23
Map and Mapset Map and Mapset
· Representation oI one screen Iormat is called Map
(screen panel).
· One or more maps, linkedited together, makes up a
Mapset (load module).
· Mapset must have a entry in PP%
· Mapset name has two parts.
· Generic name 1- 7 chars. &sed in App. Pgm.
· SuIIix 1 char. %o identiIy the device type
· Multimap Panel
· Dynamically constructing a screen panel with multiple
maps at the execution time
CICS 24
%ypes oI MAPS %ypes oI MAPS
%here are 2 types oI MAPS
· !hysical Map
Physical Map is a map used by CICS ( CSEC%)
Ensure device independence in the application program
· Symbolic Map
Ensure device and Iormat independence in the app prog
Symbolic Map is a map used by Application Program
(DSEC%)
CICS 25
Example OI Symbolic Map Example OI Symbolic Map
01 EMPRECI.
02 FILLER PIC X(12).
02 EMPNAL PIC S9(4) COMP.
02 EMPNAF PIC X.
02 FILLER REDEFINES EMPNAF.
03 EMPNAA PIC X.
02 EMPNAI PIC X(21).
01 EMPRECO REDEFINES EMPRECI.
02 FILLER PIC X(12).
02 FILLER PIC X(03).
02 EMPNAO PIC X(21).
CICS 26
!hysical & Symbolic Map - Logic Flow !hysical & Symbolic Map - Logic Flow
BMS
source
Assembler
Physical MAP
Linkage editor
Symbolic MAP
Load module (MVS)
CICS 27
Map deIinition Macros Map deIinition Macros
General Format
1 16 72
setname operation operands contd.
Example
EMPMAP DFHMSD %YPE÷MAP, X
MODE÷INO&%, X
LANG÷COBOL, X
S%ORAGE÷A&%O, X
%IOAPFX÷YES
*
* ANY COMMEN%S
CICS 28
Order oI Macros Order oI Macros
· DFHMSD %YPE÷DSEC% Mapset
· DFHMDI Map
· DFHMDF A Iield
· DFHMDF A Iield
· :
· DFHMDI Map
· DFHMDF A Iield
· DFHMDF A Iield
· :
· DFHMSD %YPE÷FINAL Mapset
· END
CICS 29
DFHMSD Macro DFHMSD Macro
· DeIine a mapset and its characteristics or to end a mapset
deIinition
· Only one mapset is allowed in one assembly run.
· Example
EMPMSE% DFHMSD %YPE÷&SYSPARM , X
MODE÷INO&%, X
LANG÷COBOL, X
S%ORAGE÷A&%O, X
%IOAPFX÷YES, X
CN%L÷(FREEKB,FRSE%,PRIN%)
CICS 30
DFHMDI Macro DFHMDI Macro
· DeIine a map and its characteristics
· Example
EMPMAP DFHMDI SIZE÷(ll,cc), X
LINE÷nn, X
COL&MN÷mm, X
J&S%IFY÷LEF%/RIGH%
CICS 31
Screen Layout Screen Layout
· Where
&Attribute character
n &nprotected numeric
- Cursor
&Customer No. :&nnnnnnnn
CICS 32
DFHMDF
Macro For %he Above Layout
DFHMDF
Macro For %he Above Layout
· DeIine a Iield and its characteristics
· Example
DFHMDF POS(ll,cc), X
INI%IAL÷Customer No. :`, X
A%%RB÷ASKIP, X
LENG%H÷14
C&S%NO DFHMDF POS÷(ll,cc), X
A%%RB÷(&NPRO%,N&M,FSE%,IC), X
J&S%IFY÷RIGH%, X
PICIN÷9(8)`, X
PICO&%÷9(8)`, X
LENG%H÷8
CICS 33
Attribute character Attribute character
· Invisible one byte character
· DeIines the characteristics oI a Iield
%hru` A%%RB param. oI DFHMDF.
· %here are diIIerent kinds oI attributes
- Attributes to control the display intensity oI the Iield
- Keyboard Attributes
- Attribute Related to the Field ModiIication
- Cursor Control Attribute
CICS 34
ModiIied Data %ag ModiIied Data %ag
· Indicates the Iield has been modiIied or not
· EIIective use oI MD% reduces the amount oI data traIIic.
· MD% setting/resetting
- when the user modiIies a Iield on the screen
- CN%L÷FRSE%, deIined in map/mapset
- FSE% in A%%RB parameter oI DFHMDF
CICS 35
Skipper %echnique Skipper %echnique
· &nlabelled 1-byte Iield with the autoskip attribute
· DFHMDF !OS(ll.cc).ATTRB÷ASKI!.LENGTH÷1
· %o skip the cursor to the next unprotected Iield aIter one
unprotected Iield.
· Screen Layout :
&xxxxx&$ &xx
where
$ Skipper Iield
& Attribute byte
X &nprotected Iield
CICS 36
Stopper %echnique Stopper %echnique
· &nlabelled 1-byte Iield with the protect attribute
· DFHMDF !OS(ll.cc).ATTRB÷!ROT.LENGTH÷1
· %o stop the cursor in order to prevent erroneous Iield
overIlow by terminal user.
· Screen Layout :
&xxxxx&$#&$
where
# Stopper Iield
CICS 37
Cursor Positioning %echniques Cursor Positioning %echniques
· Static positioning (map deIinition)
· Dynamic/Symbolic Positioning (app.pgm)
· Dynamic/Relative Positioning (app. pgm)
· Checking Cursor Position by EIBCPOSN.
CICS 38
AID KEYS AID KEYS
· Indicates the method to initiate the transIer oI inIo. Irom
terminal to CICS.
· PF keys, PA keys, EN%ER & CLEAR key
· EIBAID contains , recently used AID code
· Standard AID list - DFHAID
· HANDLE AID establish the routines that are to be
invoked when the aid is detected by a RECEIVE MAP
command
· Syntax :
EXEC CICS HANDLE AID
Option (label)
END-EXEC Conditions : INVREQ
CICS 39
Numeric Sign/Decimal Pt
Handling
Numeric Sign/Decimal Pt
Handling
· Numeric Sign : For input operations, Separate Iields or
CR/DR Iield approach can be used and Ior output
operations, PICO&% parameter can be given in macro
· Decimal !oint : For input operations, Virtual decimal
point or Separate Iields approach can be used and Ior
output operations, PICO&% parameter has to be given in
the Iield deIinition macro.
CICS 40
SEND MAP SEND MAP
· Writes Iormatted output to a terminal.
· Syntax :
EXEC CICS SEND MA!(mapname)
|| FROM(dataname) | |DA%AONLY| ' MAPONLY|
| MAPSE%(mapsetname) |
| C&RSOR(VAL&E) |
| FREEKB || ERASE || FRSE% |
| HANDLE ' NOHANDLE
| RESP (dataname) | |
END-EXEC
Conditions : INVREQ,LENGERR
CICS 41
RECEIVE MAP RECEIVE MAP
· %o receive input Irom a terminal
· Syntax :
EXEC CICS RECEIVE MA! (mapname)
| SE%(pointer) ' IN%O(dataname) |
|LENG%H(msg-len)|
| MAPSE%(mapsetname) |
| HANDLE ' NOHANDLE
| RESP() | |
END-EXEC
Conditions: INVREQ, MAPFAIL
CICS 42
%ypes oI BMS Panel operations %ypes oI BMS Panel operations
· Single Map panel
· %ext Panel
· Multipage Message
· Multimap Panel
· Multimap/Multipage Message
CICS 43
Screen Design Considerations Screen Design Considerations
· Functional Screen Design
· &ser-Friendly Screen Design
CICS 44
ACC
T
Operating System
Terminal
Control
System Services
Storage
Manage
-ment
!rogram
Library
Account
File
1
2
3
CICS Transaction (Initiation) Flow :-
CICS 45
Menu
Screen
Operating System
File
Control
BMS
!rogram
!rogram
Library
Account
File
CICS Transaction Flow :-( SEND MA!)
ACCT00
CICS 46
&ser`s
Next input
Operating System
!rogram
Library
Account
File
File
Control
!rogram
ACCT01
BMS
6
7
8
CICS Transaction Flow :-
( RECEIVE & SEND MA!s)
CICS 47
PROGRAM CON%ROL PROGRAM CON%ROL
CICS 48
Program Control Commands Program Control Commands
· LINK
· XC%L
· RE%&RN
· LOAD
· RELEASE
CICS 49
LINK LINK
· &sed to pass control Irom one application program to
another
· %he calling program expects control to be returned to it
· Data can be passed to the called program using
COMMAREA
· II the called program is not already in main storage it is
loaded
CICS 50
LINK Syntax LINK Syntax
EXEC CICS LINK
PROGRAM(name)
|COMMAREA(data-area)
|LENG%H(data-value)||
END-EXEC.
Conditions : PGMIDERR, NO%A&%H, LENGERR
CICS 51
XC%L XC%L
· %o xIer control Irom one application program to another in
the same logical level
· %he program Irom which control is transIerred is released
· Data can be passed to the called program using
COMMAREA
· II the called program is not already in main storage it is
loaded
CICS 52
XC%L Syntax XC%L Syntax
EXEC CICS XCTL
PROGRAM(name)
|COMMAREA(data-area)
|LENG%H(data-value)||
END-EXEC.
Conditions : PGMIDERR, NO%A&%H, LENGERR
CICS 53
RE%&RN RE%&RN
· %o return control Irom one application program to another
at a higher logical level or to CICS
· Data can be passed using COMMAREA when returning to
CICS to the next task
CICS 54
RE%&RN Syntax RE%&RN Syntax
EXEC CICS RET&RN
|%RANSID(name)
|COMMAREA(data-area)
|LENG%H(data-value)|||
END-EXEC.
Conditions : INVREQ, LENGERR
CICS 55
PROGA
LINK
RE%&RN
CICS
PROG B
XC%L
PROG C
LINK
RE%&RN
PROG D
XC%L
PROG E
RE%&RN
Level 0
Level 1
Level 2
Level 3
Application !rogram
Logic Levels
CICS 56
LOAD LOAD
· %o load program/table/map Irom the CICS DFHRPL
concatenation library into the main storage
· &sing load reduces system overhead
· Syntax :
EXEC CICS Load
Program(name)
|SE% (pointer-reI)|
|LENG%H (data-area)|
END-EXEC.
Condition : NO%A&%H, PGMIDERR
CICS 57
RELEASE RELEASE
· %o RELEASE a loaded program/table/map
· Syntax :
EXEC CICS RELEASE
PROGRAM(name)
END-EXEC.
Conditions : PGMIDERR, NO%A&%H, INVREQ
CICS 58
COMMAREA COMMAREA
· Data passed to called program using COMMAREA in
LINK and XC%L
· Calling program - Working Storage deIn
· Called program - Linkage section deIn under
DFHCOMMAREA
· Called program can alter data and this will automatically
available in calling program aIter the RE%&RN
command ( need not use COMMAREA option in the
return Ior this purpose )
· EIBCALEN is set when COMMAREA is passed
CICS 59
POSSIBLE ERRORS POSSIBLE ERRORS
· Conditions that aren't normal Irom CICS's point oI view
but that are expected in the pgm.
· Conditions caused by user errors and input data errors.
· Conditions caused by omissions or errors in the application
code.
· Errors caused by mismatches bet. applications and CICS
tables, generation parameters & JCL
· Errors related to hardware or other system conditions
beyond the control oI an appl. pgm.
CICS 60
Error Handling Methods Error Handling Methods
When the error (exceptional conditions) occur, the program
can do any oI the Iollowing
· %ake no action & let the program continue - Control
returns to the next inst. Iollowing the command that has
Iailed to execute. A return code is set in EIBRESP and
EIBRCODE. %his state occurs cause oI NO HANDLE
/RESP/IGNORE conditions
· Pass control to a speciIied label - Control goes to a label
in the program deIined earlier by a HANDLE
CONDI%ION command.
· Rely on the system deIault action - System will terminate
or suspend the task depends on the exceptional condition
occurred
CICS 61
HANDLE CONDI%ION HANDLE CONDI%ION
· HANDLE CONDI%ION condition|(label)|... 'condition'
speciIies the name oI the condition, and 'label' speciIies
the location within the program to be branched
· Remains active while the program is executing or until it
encounters IGNORE/another HANDLE cond.
· Syntax :
EXEC CICS HANDLE CONDITION
ERROR(ERRHANDL)
LENGERR(LENGR%N)
END-EXEC
%his example handles D&PREC cond. separately, all the other
ERRORs together. LENGERR will be handled by system
CICS 62
Alternative to HANDLE Condition Alternative to HANDLE Condition
· NOHANDLE to speciIy 'no action to be taken Ior any
condition or attention identiIier (AID) '
· RESP(xxx) "xxx" is a user-deIined Iullword binary data
area. On return Irom the command, it contains a return
code. Later, it can be tested by means oI DFHRESP as
Iollows,
II xxx÷DFHRESP(NOSPACE) ... or
II xxx÷DFHRESP(NORMAL) ...
CICS 63
IGNORE CONDI%ION IGNORE CONDI%ION
· IGNORE CONDI%ION condition condition ...
· condition` speciIies the name oI the condition that is to be
ignored( no action will be taken)
· Syntax :
EXEC CICS IGNORE CONDITION
I%EMERR
LENGERR
END-EXEC
%his command will not take any actions iI the given two error
occurs and will pass the control to the next instruction
CICS 64
P&SH & POP P&SH & POP
· %o suspend all current HANDLE CONDI%ION,
IGNORE CONDI%ION, HANDLE AID and HANDLE
ABEND commands.
· &sed Ior eg. while calling sub-pgms (CALL)
· While receiving the control, a sub-program can suspend
Handle commands oI the called program using PUSH
HAADLE
· While returning the control, it can restore the Handle
command using POP HAADLE
CICS 65
Syntax oI Push & Pop Syntax oI Push & Pop
· Syntax oI Push :
EXEC CICS !ush
Handle
END-EXEC.
· Syntax oI Pop :
EXEC CICS !op
Handle
END-EXEC.
CICS 66
EXEC InterIace Block (EIB) EXEC InterIace Block (EIB)
· CICS provides some system-related inIormation to each
task as EXEC InterIace Block (EIB)
· unique to the CICS command level
EIBAID Attention- Id (1 Byte)
EIBCALEN Length oI DFHCOMMAREA (S9(4) comp)
EIBDA%E Date when this task started (S9(7) comp-3)
EIBFN Function Code oI the last command ( 2 Bytes)
EIBRCODE Response Code oI the last command (6 Bytes)
EIB%ASKN %ask number oI this task (S9(7) comp-3)
EIB%IME %ime when this task started (S9(7) comp-3)
EIB%RMID %erminal-Id (1 to 4 chars)
EIB%RNID %ransaction-Id (1 to 4 chars)
CICS 67
Processing Program %able - PP% Processing Program %able - PP%
DFHPP% %YPE÷EN%RY
PROGRAM 'MAPSE%÷ name
|PGMLANG÷ ASM'COBOL'PLI|
|RES÷ NO'FIX'YES|
:
: other options
:
Eg.
DFHPP% %YPE÷EN%RY,PROGRAM÷%ES%,
PGMLANG÷COBOL
CICS 68
PC% Entry PC% Entry
DFHPC% %YPE÷EN%RY
%RANSID÷ name
PROGRAM÷name
%ASKREQ÷pI6
RES%AR%÷yes/no ( %RANSEC ÷ 1to 64)
RSLKEY÷ 1 to 24 resource level key
SC%YKEY÷ 1 to 64 security key
:
:
other options
CICS 69
File Handling File Handling
CICS 70
VSAM VSAM
DiIIerent types oI VSAM Datasets used in CICS are :
· ESDS Entry Sequenced Dataset
· KSDS Key Sequenced Dataset
· RRDS Relative Record Dataset
CICS 71
Services Provided By CICS Services Provided By CICS
· Basic Operations required Ior a Iile are
Adding a Record.
ModiIying an Existing Record.
Deleting an Existing Record.
Browsing One or Selected or All Records.
· In Addition, CICS Provides
Exclusive Control. (Record Level Locking).
Data Independence.
Journalling.
Opening and closing Files.
CICS 72
DeIining Files DeIining Files
· In CICS, Files Cannot be Created, Files can be created
using IDCAMS &tility.
· Re-indexing, Creating new indexes, etc. should be done
using IDCAMS Only.
CICS 73
DeIining A File to CICS DeIining A File to CICS
· Files should be deIined in FC% (File Control %able).
· FC% will contain all the InIormation about a File. (like
dataset name, access methods, permissible Iile service
request, etc.)
· DeIining Files can be done either by CEDA %ransaction or
DFHFC% Macro.
CICS 74
Syntax oI DFHFC% Macro Syntax oI DFHFC% Macro
DFHFC% %YPE÷FILE,ACCME%H÷VSAM,
DA%ASE%NAME÷NAME,
SERVRQ÷(ADD,BROWSE,DELE%E,READ,&PDA%E),
FILS%A%÷(ENABLED,OPENED)
CICS 75
File Handling in Programs File Handling in Programs
· Files should not be deIined in the Program.
· Program should not open or close a File.
· Records can be written in any order. A number oI records
can be added at a time.
· Records can be inserted, updated or deleted.
CICS 76
Important Key-Words Important Key-Words
· Dataset/File :- Name in the FC%.
· Into/From (WS-Rec) :- Working-Storage Area
deIined in the program where the CICS Puts/Gets
the Data.
· RIDFLD :- Contains the Record Key.
· RESP :- Contains the return code oI the
executed command.
· LENG%H :- Length oI the Record to be Retrieved
or Written.
CICS 77
Random READ Random READ
EXEC CICS READ File(Iilename)
|SEt() ' Into()|
RIdIld(Rec-Key)
END-EXEC.
Condition: DISABLED, NO%OPEN, NO%FND, LENGERR, D&PKEY,
IOERR.
CICS 78
Example Ior Random Read Example Ior Random Read
EXEC CICS READ
File( 'INVMAS ')
Into(WS-INVMAS-REC)
Length(WS-INVMAS-LEN)
RIdIld('7135950602') ' RIdIld(WS-
INVMAS-KEY)
END-EXEC.
CICS 79
Sequential Read Sequential Read
· Sequential Read is done by Browse Oper.
· Establish the pointer to the First Record to be Read
&sing StartBr.
· Next and Previous Records can be Read as required
&sing ReadNext and ReadPrev.
· End the Browse Operation at last.
· Browse can be re-positioned.
· During Browse Operation, Records cannot be &pdated.
CICS 80
Syntax Ior S%AR%BR Syntax Ior S%AR%BR
EXEC CICS STARTBR
FILE(Iilename)
RIDFLD(data-area)
END-EXEC.
Condition : DISABLED, IOERR, NO%FND, NO%OPEN.
CICS 81
Reading the Record aIter STARTBR Reading the Record aIter STARTBR
· Sequentially the Next or Previous Record can be read
by a READNEX% or READPREV.
· %he Iirst READNEX% or READPREV will read the
Record where the S%AR%BR has positioned the File
Pointer.
CICS 82
Syntax oI READNext/READPrev Syntax oI READNext/READPrev
EXEC CICS READNext [ READ!rev
FILE(name)
IN%O(data-area)'SE%(ptr-reI)
RIDFLD(data-area)
END-EXEC.
Condition : D&PKEY, ENDFILE, IOERR, LENGERR, NO%FND.
CICS 83
ENDBRowse ENDBRowse
· ENDBRowse terminates a Previously issued S%AR%BR.
· SYN%AX :-
EXEC CICS ENDBR
FILE(Iilename)
END-EXEC.
Condition: INVREQ
CICS 84
RESE%BR RESE%BR
· Its eIIect is the same as ENDBR and then giving
another S%AR%BR.
· Syntax :
EXEC CICS RESETBR
FILE(Iilename)
RIDFLD(data-area)
END-EXEC.
Condition: IOERR, NO%FND.
CICS 85
WRI%E Command WRI%E Command
· Adds a new record into the File.
· For ESDS, RIDFLD is not used but aIter write
execution, RBA value is returned and Record will
be written at the end oI the File.
· For KSDS, RIDFLD should be the Record Key.
%he record will be written depending on the Key.
· MASSINSER%ion must be done in ascending order
oI the Key.
CICS 86
Syntax Ior WRI%E Syntax Ior WRI%E
EXEC CICS WRI%E
FILE(Iilename)
FROM(data-area)
RIDFLD(data-area)
END-EXEC.
Condition: DISABLED, D&PREC, IOERR, LENGERR, NOSPACE,
NO%OPEN.
CICS 87
REWRI%E Command REWRI%E Command
· &pdates a Record which is Previously Read with
&PDA%E Option.
· REWRI%E automatically &NLOCKs the Record aIter
execution.
CICS 88
Syntax Ior REWRI%E Syntax Ior REWRI%E
EXEC CICS REWRI%E
FILE(Iilename)
FROM(data-area)
END-EXEC.
Condition: D&PREC, IOERR, LENGERR, NOSPACE.
CICS 89
DELE%E Command DELE%E Command
· Deletes a Record Irom a dataset.
· Record can be deleted in two ways,
RIDFLD with the Iull key in it. and
the record read with READ with &PDA%E will be deleted.
· Multiple Records Delete is possible using Generic
Option.
CICS 90
Syntax oI DELE%E Syntax oI DELE%E
EXEC CICS DELE%E
FILE(Iilename)
RIDFLD(data-area) Optional
END-EXEC.
Condition: DISABLED, D&PKEY, IOERR, NO%FND, NO%OPEN.
CICS 91
&NLOCK &NLOCK
· %o Release the Record which has been locked by READ
with &PDA%E Command.
· Syntax :
EXEC CICS &NLOCK
FILE(Iilename)
:
|other options|
END-EXEC.
Condition: DISABLED, IOERR, NO%OPEN.
CICS 92
General Exceptions General Exceptions
· %he Iollowing Exceptions usually will occur Ior ALL
CICS File Handling Commands.
FILENO%FO&ND,
NO%A&%H,
SYSIDERR,
INVREQ
In Addition to the above, Exceptions shown along the systax
will occur.
CICS 93
Communication With Databases Communication With Databases
CICS 94
CICS - DB2 CICS - DB2
· CICS provides interIace to DB2.
· DB2 requires 'CICS Attachment Facility¨ to connect
itselI to CICS
· CICS programs can issue commands Ior SQL services in
order to access the DB2 database.
EXEC SQL Iunction
|options|
END-EXEC
CICS 95
Operating system
CICS REGION
DB2 REGION
App. Pgm. EXEC SQL..
CICS Attachment Facility
DB2
Database
DB2 Database access by CICS
CICS 96
RC% Entry RC% Entry
· %he CICS-to-DB2 connection is deIined by creating and
assembling the resource control table (RC%)
· %he inIormation in RC% is used to control the interactions
between CICS & DB2 resources
· DB2 attachment Iacility provides a macro (DSNCRC%) to
generate the RC%.
· %he RC% must be link-edited into a library that is
accessible to MVS
CICS 97
DB2 - Precompiler DB2 - Precompiler
Source Program (EXEC SQL...
' EXEC CICS...)
DB2 Precompiler
'
CICS command translator
'
Compile By COBOL
'
Linkedit by Linkage editor
'
Load Module
CICS 98
Q&E&ES Q&E&ES
CICS 99
%ransient data Control %ransient data Control
· Provides application programmer with a queuing Iacility
· Data can be stored/queued Ior subsequent internal or
external processing
· Stored data can be routed to symbolic destinations
· %DQs require a DC% entry
· IdentiIied by Destination id - 1 to 4 bytes
CICS 100
%DQs %DQs
· Intra-partitioned - association within the same CICS
subsystem
%ypical uses are
- A%I (Automatic %ask Inititation ) associated with trigger level
- Message switching
- Broadcasting etc
· Extra-partitioned - association external to the CICS
subsystem, Can associate with any sequential device - %ape,
DASD, Printer etc
%ypical uses are
- Logging data, statistics, transaction error messages
- Create Iiles Ior subsequent processing by Non-CICS / Batch
programs
CICS 101
%DQs %DQs
· Operations
Write data to a transient data queue (WRI%EQ %D)
Read data Irom a transient data queue (READQ %D)
Delete an intrapartition transient data queue (DELE%EQ %D).
CICS 102
WRI%EQ %D WRI%EQ %D
· Syntax :
EXEC CICS WRITEQ TD
Q&E&E(name)
FROM(data-area)
|LENG%H(data-value)|
|SYSID(systemname)|
END-EXEC.
Conditions: DISABLED, INVREQ, IOERR, ISCINVREQ,
LENGERR, NOSPACE, NO%A&%H, NO%OPEN, QIDERR,
SYSIDERR
CICS 103
READQ %D READQ %D
· Reads the queue destructively - Data record not
available in the queue aIter the read.
· Syntax :
EXEC CICS READQ TD
Q&E&E(name)
¦IN%O(data-area) ' SE%(ptr-reI) }
|LENG%H(data-value)|
|NOS&SPEND|
END-EXEC.
Conditions : DISABLED, IOERR, INVREQ, ISCINVREQ,
LENGERR, NO%A&%H, NO%OPEN, QB&SY, QIDERR,
QZERO, SYSIDERR
CICS 104
DELE%EQ %D DELE%EQ %D
· Deletes all entries in the queue
· Syntax :
EXEC CICS DELE%EQ %D
Q&E&E(name)
END-EXEC.
Conditions: INVREQ, ISCINVREQ, NO%A&%H,
QIDERR, SYSIDERR
CICS 105
Destination Control %able Destination Control %able
· DC% is to register the inIormation oI all %DQs
· Destination Control Program (DCP) uses DC% to identiIy
all %DQs and perIorm all I/O operations.
· DFHDC% is a macro to deIine intra & extra partition
%DQs %YPE÷IN%RA/EX%RA
· RE&SE option speciIied along with intra partition %DQ
tells whether the space used by %DQ record will be
removed & reused aIter it has been read.
CICS 106
Automatic %ask Initiation Automatic %ask Initiation
· Facility through which a CICS transaction can be
initiated automatically
DFHDC% %YPE÷IN%RA
DES%ID÷MSGS
%RANSID÷MSW1
%RIGLEV÷500
When the number oI %DQ records reaches 500, the
transaction MSW1 will be initiated automatically
· Applications
Message switching & Report printing
CICS 107
%emporary Storage Control %emporary Storage Control
· Provides application programmer the ability to store and
retrieve data in a %SQ
· Application can use the %SQ like a scratch pad
· %SQs are
- Created and deleted dynamically
- No CICS table entry required iI recovery not required
- IdentiIied by Queue id - 1 to 8 bytes
- %ypically a combination oI termid/tranid/operid
· Each record in %SQ identiIied by relative position, called
the item number
CICS 108
%SQs %SQs
· Operations
· Write and &pdate data
· Read data - Sequential and random
· Delete the queue
· Access
· Across transactions
· Across terminals
· Storage
· Main - Non-recoverable
· Auxiliary - Recoverable
· %S% entry required, VSAM Iile DFH%EMP
CICS 109
%SQs - %ypical uses %SQs - %ypical uses
· Data passing among transactions
· %erminal Paging
· Report printing
CICS 110
WRI%EQ %S WRI%EQ %S
· Syntax :
EXEC CICS WRITEQ TS
Q&E&E(name)
FROM(data-area)
|LENG%H(data-value)|
|N&MI%EMS(data-area) '
I%EM(data-area) |REWRI%E| |
|MAIN'A&XILIARY|
|NOS&SPEND|
END-EXEC.
Conditions : I%EMERR, LENGERR, QIDERR, NOSPACE,
NO%A&%H, SYSIDERR, IOERR, INVREQ, ISCINVREQ
CICS 111
READQ %S READQ %S
· Syntax :
EXEC CICS READQ TS
Q&E&E(name)
¦IN%O(data-area) ' SE%(ptr-reI) }
LENG%H(data-value)
|N&MI%EMS(data-area)|
|I%EM(data-area) ' NEX% |
END-EXEC.
Conditions : I%EMERR, LENGERR, QIDERR, NO%A&%H,
SYSIDERR, IOERR, INVREQ, ISCINVREQ
CICS 112
DELE%EQ %S DELE%EQ %S
· Deletes all entries in the queue
· Syntax :
EXEC CICS DELETEQ TS
Q&E&E(name)
END-EXEC.
Conditions: INVREQ, ISCINVREQ, NO%A&%H,
QIDERR, SYSIDERR
CICS 113
IN%ERVAL AND %ASK CON%ROL IN%ERVAL AND %ASK CON%ROL
CICS 114
ASK%IME ASK%IME
· &sed to obtain current date and time
· Syntax :
EXEC CICS ASKTIME[ABSTIME(data-area)]
END-EXEC.
· EIBDA%E and EIB%IME updated with current date and
time
· ABS%IME returns value oI time in packed decimal Iormat
CICS 115
FORMA%%IME FORMA%%IME
· Syntax :
EXEC CICS FORMATTIME ABSTIME(data-ref)
|YYDDD(data-area)|
|YYMMDD(data-area)|... etc.
|DA%E(data-area) |DA%EFORM|(data-area)|||
|DA%ESEP|(data-value)||
|DAYOFMON%H(data-area)|
|MON%HOFYEAR(data-area)|
|YEAR(data-area)|.....
|%IME(data-area) |%IMESEP|(data-value)|||
END-EXEC.
Condition: INVREQ
CICS 116
DELAY DELAY
· &sed to DELAY the processing oI a task
· %he issuing task is suspended Ior a speciIied interval or
&ntil the speciIied time
· Syntax :
EXEC CICS DELAY
IN%ERVAL(hhmmss) ' %IME(hhmmss)
END-EXEC
Conditions: EXPIRED, INVREQ
CICS 117
S%AR% S%AR%
· &sed to start a transaction at the speciIied terminal
and at the speciIied time or interval
· Data can be passed to the new transaction
· Syntax :
EXEC CICS START
%RANSID(transid)
|%ERMID(termid)
%IME(hhmmss) ' IN%ERVAL(hhmmss) |
END-EXEC
Conditions : INVREQ, LENGERR,%ERMIDERR,
%RANSIDERR
CICS 118
Other Interval Control
Commands
Other Interval Control
Commands
· !OST - to request notiIication when the speciIied time
has expired.
· WAIT EVENT - to wait Ior an event to occur.
· RETRIEVE - &sed to retrieve the data passed by the
S%AR%
· CANCEL -&sed to cancel the Interval Control requests.
eg. DELAY,POS% and S%AR% identiIied by REQID.
· S&S!END - &sed to suspend a task
· ENQ - to gain exclusive control over a resource
· DNQ - to Iree the exclusive control Irom the resource
gained by ENQ
CICS 119
Recovery & Restart Recovery & Restart
CICS 120
%he Need Ior Recovery/Restart %he Need Ior Recovery/Restart
· %he possible Iailures that can occur outside the CICS
system are
Communication Iailures (in online systems)
Data set or database Iailures
Application or system program Iailures
Processor Iailures & Power supply Iailures.
· Recovery/Restart Iacilities are required to minimize or iI
possible, eliminate the damage done to the online system,
in case oI the above Iailures to maintain the system &
data integrity.
CICS 121
RECOVERY RECOVERY
· An attempt to come back to where the CICS system or the
transaction was when the Iailure occurred
· Recoverable Resources
VSAM Iiles
Intrapartition %DQ
%SQ in the auxiliary storage
DA%A tables
Resource deIinitions & System deIinition Iiles
CICS 122
RES%AR% RES%AR%
· %o resume the operation oI the CICS system or the
transaction when the recovery is completed
CICS 123
Facilities Ior Recovery/Restart Facilities Ior Recovery/Restart
· Facilities for CICS Recovery/Restart
- Dynamic %ransaction Backout
- Automatic %ransaction Restart
- Resource Recovery &sing System Log
- Resource Recovery &sing Journal
- System Restart
- Extended Recovery Facility (XRF)
CICS 124
Dynamic %ransaction Backout
(D%B)
Dynamic %ransaction Backout
(D%B)
· When the transaction Iails, backing out the changes made
by the transaction while the rest oI the CICS system
continues normally is called D%B
· CICS automatically writes the beIore image` inIormation
oI the record into the dynamic log Ior the duration oI one
L&W ,the work between the two consecutive SYNC
points
· When an ABEND occurs, CICS automatically recovers all
recoverable resources using the inIo. in dynamic log (Set
D%B÷YES in PC%)
CICS 125
L&W & SYNC point L&W & SYNC point
· %he period between the start oI a particular set oI changes
and the point at which they are complete is called a logical
unit oI work- L&W
· %he end oI a logical unit oI work is indicated to CICS by a
synchronization point (sync pt).
· Intermediate SYNC pt. can be done by
· Syntax :
EXEC CICS SYNC!OINT
|ROLLBACK|
END-EXEC
CICS 126
L&Ws & SYNC pts L&Ws & SYNC pts
'- - - - - - - - - - - - L&W - - - - - - - - - '
%ask A'---------------------------------------------'
SO% EO%-SP
'- - - L&W- - '- - - L&W- - '- - -L&W- - '
%ask B'----------------~---------------~--------------'
SO% SP SP EO%-SP
When the Iailure occurs, changes made within the
abending L&W will be backed out.
CICS 127
Automatic %ransaction Restart Automatic %ransaction Restart
· CICS capability to automatically restart a transaction aIter
all resources are recovered through D%B
· II the transaction requires automatic restart Iacility, Set
RES%AR%÷YES in PC%
· Care should be taken in order to restart the task at the
point where D%B completes in the case oI intermediate
SYNC point
CICS 128
Extended Recovery Facility-XRF Extended Recovery Facility-XRF
· XRF is to increase the availability oI CICS by
automating the Iast recovery oI CICS resources
· %here are two systems with same conIiguration
· All the resources are shared by the two systems
· II the Iailure occurs in one system, the other system will
continue
· %he system downtime can be reduced to Iew minutes iI
XRF is used
CICS 129
ACF/NCP
Active
Session
Back-up
Session
System
Files
CICS
Files
Application
Files
MVS/XA
ACF/V%AM
CICS/MVS
MVS/XA
ACF/V%AM
CICS/MVS
3090
3090
Active System Shared Resources Alternate system
Communication Controller (3725)
XRF-Concept
CICS 130
Program Preparation Program Preparation
CICS 131
Introduction Introduction
· Preparing a Program to run in CICS Environment.
· DeIining the Program in the CICS Region.
· Executing the Program.
CICS 132
Preparing a Program Preparing a Program
· CICS requires the Iollowing steps to prepare a Program.
· %ranslating the Program.
· Assemble or Compile the %ranslator Output. &
· Link the Program.
CICS 133
%ranslation %ranslation
· %ranslates the EXEC CICS` Statements into the
Statements your Language (COBOL) Compiler can
&nderstand.
· %he %ranslator gives two outputs, a Program Listing as
SYSPRIN% and a %ranslated Source in SYSP&NCH.
· %he SYSP&NCH is given as the input to the Program
Compiler.
· II any Copy Books are used in the Program, there should
not be any CICS Statements in the Copy Book.
CICS 134
Compiling or Linking Compiling or Linking
· As the CICS Commands have been translated, %he
Compilation oI the CICS Program is the same as
Language Program.
· Hence, the Compiler Options can be speciIied as required.
CICS 135
DeIining the Program DeIining the Program
· %he Application should be deIined and Installed into the
PP%.
· %his can be done either by using CEDA %rans. or
DFHPP%.
CICS 136
CICS Supplied %ransactions CICS Supplied %ransactions
CICS 137
CESN/CESF %ransactions CESN/CESF %ransactions
· %o sign on to CICS system
· CESN |&SERID÷userid| |,PS÷password|
|,NEWPS÷newpassword||,LANG&AGE÷l|
· &serid & password values can be Irom 1-8 chars.
· In RACF, the &serid given in CESN is veriIied.
· NEWPS to change the password and LANG&AGE to
choose national language
· Sign oII by CESF which breaks the connection between
the user and CICS
· II the Sign on is done twice Ior the same userid at the
terminal, the previous operator will be signed oII
CICS 138
CECI - Command Level
Interpreter
CECI - Command Level
Interpreter
· %o build and test the eIIect oI EXEC CICS commands
· CECI ASSIGN is used to get the current userid,sysid,
terminal id, application id etc..
· BeIore using the maps in programs, it can be tested using
CECI to check how it appears on the screen.
· CECI gives the complete command syntax oI the
speciIied command.
· CECI READQ %D Q&E&E(%ES%L001) will read the
current record oI the given %DQ
CICS 139
CEM%-Master %erminal
%ransaction
CEM%-Master %erminal
%ransaction
· CEM% provides the Iollowing services
· Displays the status oI CICS & system resources
· Alter the status oI CICS & system resources
· Remove the installed resource deIinitions
· PerIorm Iew Iunctions that are not related to resources
CICS 140
CEDF-Execution Diagnostic
Facility
CEDF-Execution Diagnostic
Facility
· %o test command level application programs interactively
· CEDF |termid/sysid/sessionid| |,ON/,OFF|
· %ermid - the identiIier oI the terminal on which the
transaction to be tested is being run
· Sessionid - %o test/monitor a transaction attached across
an MRO/ISC session
· Sysid - %o test a transaction across an APPC session
CICS 141
CEDF - Contd. CEDF - Contd.
· %he points at which EDF interrupts execution oI the
program and sends a display to the terminal
· At transaction initialization, aIter EIB has been initialized and
beIore the app. pgm given control
· Start oI execution oI each CICS command (auguement values
can be changed at this point)
· End oI execution oI each CICS command and beIore the
Handle condition mechanism is invoked (response code values
can be changed)
· At program termination & at normal task termination
· When an ABEND occurs & at abnormal task termination.
· EIB values can be changed..& CEBR can be invoked
CICS 142
CEBR-%emporary Storage
Browse
CEBR-%emporary Storage
Browse
· %o browse the contents oI CICS temporary storage
queues (%SQ)
· CEBR by deIault will show the queue associated with the
current terminal CEBRL001` which can be overridden to
view any other queue
· %ERM to browse %SQ Ior another terminal
· Q&E&E to make the named queue, current
· P&% to copy the current queue contents into %DQ
· GE% to Ietch %DQ Ior browsing
· P&RGE erases the contents oI the current queue
CICS 143
Screen DeIinition Facility SDF - II Screen DeIinition Facility SDF - II
CICS 144
IN%ROD&C%ION - SDF IN%ROD&C%ION - SDF
· An interactive tool Ior deIining inIormation to be
displayed on the screen
· Obiects created by SDF are used by various systems like
CICS/BMS, IMS, ISPF etc..
· %he SDF obiects are Panel and Panel Groups (etc..)
corresponding to map and mapset in CICS/BMS
CICS 145
SDF Functions SDF Functions
· Creation oI obiects which is common Ior all the systems
· Provides Iunctions to alter and test the obiects
· Generation Iunction to create code Ior the obiects like
macro codes Ior CICS/BMS
· Provides utilities to print, migrate & convert obiects
· Provides Iunctions to develop application prototypes
CICS 146
Panel Commands Panel Commands
· SDF has panel commands like %OP` BO%%OM` &P`
DOWN , to browse through the the panels
· PRESERVE to protect the panel
· A&%OSAVE to set the automatic save option on
· commands SAVE` to record the changes and
CANCEL/CCANCEL to quit the changes
· %ES% to test the appearance oI the obiect
· Commands are available to edit the panels... like to
create,alter & view the Iields and its attributes E.g..
A%%RIB&%E,EDI%,SHOW,HIDE etc..
CICS 147
Panel & Line Commands Panel & Line Commands
· SDF has got panel commands to do the Iollowing.
· %o browse through the panel
· %o quit/save the changes
· %o protect the panel and to restore the panel in case or errors
· %o test the appearance oI the panel
· Panel editor commands to create, alter & view the Iields
and its attributes
· And Line commands to copy, move, delete, repeat &
insert lines
CICS 148
Panels Panels
· %o create a panel, Enter a existing panel which is to be
used as a skeleton Ior the new panel OR Enter a device
type
· Panel text can be deIined by typing the text in the required
panel position in Iormat mode.
· Variable Iields can be deIined by variable Iield marks.
and arrays can be deIined by speciIying a dimension and
direction.
· Variable Iields can be deIined by variable Iield marks
CICS 149
Panels Contd. Panels Contd.
· A panel can be included in another panel with Iew
restrictions
· DeIault attributes are assigned to Iields which can be
changed. E.g.. Ior attributes are,
· color,protection,intensity,cursor position,iustiIy, Iield
Iormat,Iield validation, modiIied data Ilag, etc.
· %o change the panel,
· Enter the panel name and library identiIier where the panel
resides
CICS 150
Panel Groups Panel Groups
· A panel group contains inIormation about a group oI
panels, and the names oI the panels that belong to the
panel group.
· Procedure oI Creating and editing panel group is same as
panel
· DeIine the global parameters oI the panel group thru`
Panel Group Characteristics` opt.
· E.g.. BMS characteristics like generation name(later used in
generation) & logical device code etc.
CICS 151
Generation Generation
· As SDF obiects are stored in internal rep. they have to be
generated to be used in applications
· Output oI generation , depends on the obiect type
· Panel ÷~ Map
· Panel group ÷~ Mapset
· One or more data structures(used in Cobol) or control
blocks (BMS macros) can be generated
CICS 152
SDF Libraries SDF Libraries
· DeIine libraries(created in ISPF) to be used by SDF II to
store and retrieve obiects
· SDF II library is a partitioned data set with a three-level
dataset name (proiect.group.dgipnl)
· Only the Iirst two levels can be deIined & third level
added by sdI depends on the obiect type
· DGIPNL-Ior panels, DGIGRP-Ior panel groups and DGIPS%-
Ior partition sets
· 'ID' is assigned Ior each library which is used to search the
obiects in the library
· password can be given to protect the library.
CICS 153
SDF utilities SDF utilities
· Print :- %o print utility produces printouts oI panels, panel
groups,partition sets etc..
· Migration:- %o migrate obiects Irom various sources into
SDF libraries. Eg. Maps, map sets & partition sets deIined
with CICS/BMS macros
· Conversion utility :-%o convert obiects Irom one target
system to a new target system.
CICS 154
Application Prototype Application Prototype
· %o test the Ilow oI panels, beIore they are incorporated
into application programs.
· Simulative prototype :- Simulates the primary interaction
between the application & user.
· &sed to validate and determine the initial user requirements
beIore designing the program
· Prototype deIinition
· IdentiIy the panel by giving name & library ID
· DeIine the prototype rules based on the C&RREN% panel,the
AC%ION to be perIormed & NEX% PANEL to be displayed iI
certain CONDI%IONS are met.
CICS 155
Sample Macro Sample Macro
%&LMAP DFHMSD %YPE÷MAP,LANG÷COBOL,MODE÷INO&%,
S%ORAGE÷A&%O,S&FFIX÷C
%&LMAP DFHMDI SIZE÷(12,60),
C%RL÷(FREEKB,ALARM,FRSE%),
COL&MN÷1,LINE÷1,DA%A÷FIELD,
%IOAPFX÷YES,J&S%IFY÷(LEF%,FIRS%)
DFHMDF POS÷(3,14),LENG%H÷6,INI%IAL÷'Name:',
A%%RB÷(PRO%,NORM)
CICS 156
contd contd
NAME DFHMDF POS÷(3,21), LENG%H÷10,
A%%RB÷(&NPRO%,BR%,ASKIP)
DFHMDF POS÷(3,32),LENG%H÷1,
A%%RB÷(PRO%,NORM)
DFHMDF POS÷(4,14),LENG%H÷6,INI%IAL÷'Age :',
A%%RB÷(PRO%,NORM)
AGE DFHMDF POS÷(4,21),LENG%H÷3,
A%%RB÷(&NPRO%,NORM),
DFHMDF POS÷(4,25),LENG%H÷1,
A%%RB÷(PRO%,NORM)
DFHMSD %YPE÷FINAL
CICS 157
Click here
CICS 158
Thank You Thank You

$

%,-0414390398
W W W W W W W W W W 
3974/:.94394$ ,8.,553$:55479 !747,243974 043974 ":0:08 3907;,,3/%,843974 #0.4;07,3/7089,79 !747,25705,7,943 $$:550/%7,38,.9438 $.7003013943,.9 

$  

3974/:.94394$

943 W :89420731472.94343974$8902 $/0.0450/3 W W W ..8.90 8.$  3974/:.

93$8902 ..07843 .3/..078438802-072.08 $30...3 ..0$ 39.422.08 422..3/ .0-0900390 507.3705.28 .7494 706:089$807..3/0.748 ./08..422..339071.0.9435747.3/894706:089$807..080708412.4397488902 $574.0$ 0..740.55.

.70/.85705.8300/0/ 3493806:03.0883806:03.3/  .4.-0 850.0 10  $3.9.  330110703.0 70.07.3/03.8039070/.$  . .0883806 8  !74.0574.0 90723.033806:03.08 :3570/.9.-0.9.08 $$%  35:9/.9.9. 570/.

943..7089.38.28.79390574.79574..3 9  !747.. 8 7089.3 -08.80411.28.3/108.70/ -08.28.3920 974:4-8 W %$$% W .70/  %7.80411.:7080.:70 .3-07:3..3/108.0/:0/ .9  !747..708.8  !747.0883 706/ 3..

93$8902 $ 39074/0 &807 8 55 !7 08 .93$8902 507.80 .9.$  $  507.-.

$  .

$8902 . .$8902 %0723.8 .80 0397.9.

.2$07.$  $$8902$07.9438 .943:3. 422:3.9.08 439473:3....08 W W W W W .943!747.9438 55.08 $8902$07..9438 .9..3/3:3.

 9.88..39.938890247$  #0.$  %..38.0/:0/-90 4507.943 W %.9438/03910/-9097.3/790949090723.38./1742.:394147.38 / ..943 /039107 %7..90800.8 %7.943  30399.38.38. W %7.8 3$ 97.8 -.:94341.8.

$ 55.83 W :9970.078.8 #00397.223 43.0598  W !80:/4 43.943.3.. W :99.943!747./3 W ":. .

890/:89..7894904507.9:..80/43..943.943.3/70.42-3. ..8 W $3..078.$  %0723.390!&8500/ .0-0.94341803/32088.3/90723.-.4:0-090035747.078.943-:9.943 W 43.078.32088..3/90723.0.770/-..43. 24/041/.24/041/.24:39417084:7. 831.39.43.93 W !80:/4 43.093908.2.2 .88 .8.4:0-09003 5747. 80708419.078.0 .947.209.4393:4:8.0:2.550.8.370854380884079.

943.943 .078.8    !747.088 $$ !  09.9847#0854380 $ !# $$ $#' &80739078.088 ..$ 43.   574.%7.2.9.38.250  !# &#'$   #$% !# $$ $#' %$    574.

250 %7.943%$ !747.2!#  !# &#'$   $#'    $$   $#%&# %#$ %$   ..38.2!#  !# &#'$   $#'    $$   $#%&#     %7.078.38..943%$ !747.943.$ !80:/4 43. .

94341$ W 43974%.8 .-4:9909.1:3.020394/:08 !747.943  %..8 439..3/0900307.94389...8 4770.7432039 :3.28 47.943.0203924/:0 W 439744.7:.439.55 52 .943.70.38890295031472.939071.0-09003 $.-08 013090$03.38 31472.90/9902.$  $425430398 W 43974!747.3/.944507.9.84397470.884..3.289.3.

$ 

,3,02039!28  97  %,-08
W %,-08
!74.0883!747,2%,-0 043974%,-0 %0723,43974%,-0 !747,243974%,-0 %025 $947,0%,-0 0893 43974%,-0 !!% % %% !% %$% % 

W !747,28
!747,243974 !! 0.43974 ! %0723,43974 %! %,843974 ! %02547,7$947,0 %$! %7,38039,9, %! $947,043974$! 3907;,43974 ! 4:73,43974 !

$  

$!747,2438/07,9438
W 438/07,9438

:890;039:,709:73.4397494$
,3 924/1574.0/:70/;8433897:.9438 .,:80$ 5747,282,-08,70/-2,39,88
,324/14738947,083.0,:36:0.4541473 8947,08.70,90/1470,.9,8

$  

$!747,2#0897.9438
W #0897.9438

4  $%  

.:80102.3/343 $#  #%89.-:930.3/0/-$   .:/0/347/0794023.70842092083.02039 8.3489.42507/.422.8!% $! %  %# $% !#&  ..70..4/0/  $% !#&   .90 .9020398.703495072990/-0.3.:90/ .10/390 '# %'$  $%   !  $ . $% 94-0850.0700.3/88:.

2 %% '$  !# #  $! '# %'$  %'$   # $% #$%  $ !&% $ %#$!  # !  $  ! !  '&  $ &%!&% # !  '& !  $ &% ! !  $ % !$   ! $%  .$  $.250$!747.

2439/ !# &#'$   !# # #' !&% !# # $ &%!&% $#%&#  $% !#&  #' !&%  '% $ % $#' %  $ !&% % $ %    '$  !  % $ &% !    $ &%!&% $$ #  $ &%!&% %   #$   .$  $.250!747.

8.553$:55479 ..$  .

5809 ..$  %45.943.748 $.5.35:.5013943.94394$ !8.3/$2-4.7003.3/...83$ W W W W W W W 3974/:..5 .

9438 39071..7003083438/07..3/3 $.:83.5 ..39%0723.

2799033./078 %908 43897:.4/08174255.4389.71:3.7003/0130/97: $8..2 W #024..9.2 %09.$970.074:93 439039841908..9435747..3/3 %0723..943841$ W #024.41.$  3974/:..94394$ W !72.5747.8802-.70.5 .0/0503/039.3 088..9$ .9.41/0.58.943!747.04/0.!.0/.5.4/3 .748...-0147..3931472.943174255.3:.0 $2.2 W W W W W W 0.

5!.20  .30 3.0950 :92..58093.3092:950 2.3.:943920 ..3/..20.8.0/.70035.98.78 &80/355 !2 W $:11 .5 W W W W W 8.5809 W #05708039.58092:89.7 %4/039190/0.30 304724702.08:5.2.5809 4.70035.5.70031472..943414308. .03973!!% ./24/:0 ..798 W 0307.0.8945.58..43897:.$  .93.58 30/90/940907 2.99000..

...03/0503/03.0390.70950841!$ W !8..5 !8.$  %50841!$ %070..58..2..55574 $2-4.0390.5 38:70/0.58...93/0503/03.5:80/-$ $% 38:70/0.2 W $2-4.2.943!747.2 $% .0..5:80/-55.3/1472.9435747.55.

$  .250 1$2-4..5 !# #!  ! !$   ! ! ! ##$! ! !  !  ! !# #$!# #!  #!  !  !  .

00/947 4../24/:0 '$ .5 4. $2-4.! $2-4...! 3.$  !8.4 $ 84:7.0 8802-07 !8.

20 4507.943 .9  8093..3/8 %!!   &%    $% #&% % !$  .250 !! $  4507.5/013943.439/      %$ .748 0307.$  .472.

5809  ..$  7/0741.5  10/  10/   .5  10/  10/  $%! .5809  .748 W W W W W W W W W W W $%!$% .

3/98.58098.5809.2.74 W 0130.$  $.5809 W W /013943 34302.8802-7:3 .40/3430..250 !$% $%! $$!#   &%     $% #&% % !$ % # #$% !#%       .7...2.8479403/.90789.

$  ..74 W 0130.7.2.8 W ...5.90789.250 !! $  . 33  &22 &$%%.3/98..

#%    .

. :7847 .90/3:207.$  $.907 3 &357490.7003.4:9 :8942074  33333333 W 070 997-:90.7..

7. %%# &!# % & $%  &$%#% !   ! &%   %         . % :8942074  %%#$!  % &$% ! $  ..90789.$  ..3/98.10/.0..7447%0-4.8 W .4:9  W 0130...250  ! $  .

7..90789.907 W 3.390389419010/ 0-4......70/11070393/841.7/997-:908 997-:90#0.907 W 0130890.90/94900/4/1.$  997-:90.997-:908 997-:90894.4397490/85.10/ %7: %%#5.841.7.8-0430-90.7.2 41 W %070.943 :784743974997-:90 .7..

9. W %80993.%.8-00324/10/47349 W 110.11.9089010/.0:8041%70/:.24:3941/.9.9. W 3/..0890.97.$  4/10/.

5.10/43908.7080993 0390:80724/108.7003 %#$% /0130/32.

2.2090741 .7.5809 $%3%%#5.

997-:90 W ! $  .:9485 .1907430 W :357490.90/10/ $. %%#$! % W %48590.$  $5507%0.90/10/ .4:9    070   $550710/ 997-:90-90 &357490.7003.36:0 W &3.:78479490309:357490..-00/ -9010/990.90/10/.

:7847347/0794570.:807 $.0390774304:810/ W 4.4:9    070 $94550710/ .-00/ -9010/99057490.7003.9 .. %%#!# % % W %4894590.$  $945507%0.997-:90 W ! $  .36:0 W &3.0714-90723.

$  

:7847!489433%0.36:08
W $9,9.5489433 2,5/013943 W 3,2.

$2-4.!489433 ,55 52 W 3,2.

#0,9;0!489433 ,55 52 W 0.3:7847!48943-! $ 

3/ $39.3810741314 1742 W W W W W 90723.3/.-0  43/9438'#" .38 70..422. $ 5943 .909097.039:80/.90/-.7/89  089.439.94$ !08 !08 %# #0 .7094-0 3.$  $ W 3/.9.40/0390.#'! ./8/090.-89074:93089.908902094/9439.4/0 $9.

$3.$ :207.

3/3  W :207.9438 $05.0.$34735:94507.2.!9 .9010/847 #.7.

 543947$05....9438 ! &%5.3/147 4:95:94507.033 9010//0139432.9438 ! &%5.894-0.5574.7./0.3-0:80/.9438 '79:.74 W 0.3-0:80/.3-0..74 ..#10/..0332.20907..2...!4394735:94507.7.5574.7.3/1474:95:9 4507.20907.2.9010/8.

 $$! 2.3.20 ((   43/9438'#" ## .20 (% (! ( !$% 2. W $39.9.990/4:95:994.3.90723.20 #  /.58093.9.53.20 ( &#$ # '& ( #(#$(#$%(   #$! /.$  $! W 79081472.

0.58093.20 ( % 28 03 ( !$% 2.20 $% 543907 % /.90723. $#'! 2.9.20 (   #$! ((   43/9438 '#" ! .$  #'! W %470.53.3.035:91742. W $39.

0088.30 :95.55.304507.5.30 :92.9438 W W W W W $30.5!.0 :92.30 %09!.$  %50841$!.

0 .:95.0088.

7003083 .9438 W :3.$.7003083438/07.7003083 W &807 703/$.$  $.943.

943 39.0 . 43974   .38.943 4 507.4:39 0  $947.2 -7..93$8902 $8902$07..0 2039 .7  % %0723.3..08  !747.$ $%7.

7003 0 43974 ...93$8902 !747.9434 $! 507.$ $%7.4:39 0 !747.7  03: $.2 -7.2 % $ .38.

2 %   ..93$8902 &807 8 0935:9 0 43974 .$  $%7.2 -7..4:39 0 !747.7   $ !747.38.9434 #' $!8 507.

$  !# # %#  .

$  !747.3/8 W W W W W  % #%&#   #$ .243974422.

98..9435747..098 4.70.38947.4397494-0709:730/949 .294 W W W .$   W &80/945.34907 %0..0/5747.0/5747.../0/ .439741742430.3-05.880/9490.88.9.2:83  # 190.35747.55./32.2050.28349..

20  # /.70. $  !# # 3.9. .:0 ((   43/9438 !##  %&% ## . ..9.$  $39. % /.

880/9490.../0/ .70.9435747.55.0/5747.204.0 %05747.38947.098 4.80/ .439741742430.../32..0.294.0/5747.3-05.28349..21742.9.3810770/8700.$  % W %4107.43974897..349073 W W W 908.2:83  # 190.

9.9.70.. .20  # /. $% !# # 3.$  %$39. % /. .:0 ((   43/9438 !##  %&% ## .

8 .3-05.55.880/:83 #03709:73394 $94903099...9.074..04794$ .439741742430.$  #%&# W %4709:73.34907 W .9435747.0.9.294..

:0 (((   43/9438 '#" ## .9. $#%&# %#$ 3.70.9.20  # /. . % /..$  #%&#$39. .

$  $ !#    #%&# !#   #%&# 0.943!747.0.0 0.08 !#  % !#  #%&# .2 4.0 !#  % 0..0 0.0 55.

2.$    W %44./5747.

-0.9.

/ $39..7394902.43.70.2 3./70/:.903.9. (   43/943  %&% !## .5174290$#! W W .08889024.0 &834.  $4./ !747.2.38947.20 $% 543907 701 ( % /. .943-7.070.

2./0/5747.4.$  #$ W %4#$.

9.-0.

5 W $39.2.20   43/9438 !##  %&% '#" .  $#$ !# # 3.

2.943/013:3/07  # .907/.3/98.2:83 #3 W W W ...0/5747.880/ W ..2 3.35747.3.0/5747.9.190790#%&# ..3/% .:942.3/ 300/349:80 #45943390 709:73147985:75480 880903 #85..9.5.0/5747.422..2..9.880/94.0/013 .2 473$947.-03..$   # W . .080.35747.

-08 0307.55.9.70050..08-09 .1742$ 8543941.:80/-282.:80/-428843847077478390.55.9..90/94..9.943 .$  ! $$## #$ W 43/94389.4/0 77478.7/.0 W W W W -:99.3/$ 9..077478 43/9438.90/39052  43/9438.9435.55 52 .209078  7747870.3.7047490788902.3/35:9/..703 93472.43/9438 -043/90.:80/-:807077478.4397441.7.9438.9.

.3/4.341901443 W %.8 1..9.4/088093#$!.904.:78 .:7 905747.3/3094/8  039007747 0.0/9400...422.05943..2 .$ 7747.2.3/ #  %889.4393:0 43974 709:7389490309389 144390.43/9438 4.:8041  ..:90 709:73.034.943 09905747.3/9.

#$!.

2/0130/0.90 478:8503/909.-0 4397440894.43/943 4.850.4397494.  % .8/0503/843900.943 $890290723. #.:9.3/ W #0439088902/01..05943.88..43/9438 W !...707-.10/.:770/ .-0 3905747.422.

00905747.94393905747..9..294-0-7.:9347:399 03.2800.43/943  W W 850.-0 850.3.4:39078 #.108903.38.43/943 .43/943 .108 904.0/ #02.-0 (  .204190.3/ .$   %  W  % .

90 .250.7.904907 ## #8940907 ##-0.43/ $39.34907.3/08&!#. $  %  ## # ##  ## #%   %80.3/0/-88902 .43/ 805..

3841#$!.439.422.4/0 .8 1448 1#$!  $!  47 1#$!  #   .9.  3709:73174290.09443/943 W  94850.9.907 9.9903943/039107   W #$!  8.94394-09.3/ 9.$  9073.70.3 .38.7/.709:73 .3-090890/-20.:807 /0130/1:47/-3.. ..43/94347.03147.1 34.

43/9439..3.943 .43/943 850.43/943.039407747 4.422.9894-0 W 3470/ 34.8890.204190...  $  # %  %## ##   %8.3/5.3/3499.03 $39.0.943-09.4397494903093897:.9438190.:78.108903.$   # %  W  # % .43/943 W .

3/ .38:- 528  W 070.0.:77039 %    # %  .0/5747.43974 9..8:- 5747.$  !&$ ! ! W %48:8503/..2.3708947090.3/:83! ! .43974 ..3/8  W &80/1470 0.422.422.422.3/0 .3/84190..390.38:8503/ .3/0.2:83!&$  W 0709:73390..

3/0   W $39.41!:8 !45 W $39.41!45 $!45 .3/0   .$  $39.41!:8 $!:8 .

889.90/31472.78 %# %7.8 $  .0  9903943 / 90  03941 # $  .790/ $  .   :36:09490$. / 94./08842088902 70. W 9.839071.3/0.38.889.425 % ..425  % %2003989.9434/04190.89.425  %# %0723..78 ..943 / 94.943940.$  39071..89..425   :3.422.790/ $  .422.3/ 908 #  #08543804/04190.422.9003989.04.  W $574.04.83:2-0741989..8.3/ 908 %$ %.

0883!747.$  !74.-0 !!% !!%%!%# !# #!$%3.20 !$  !( #$ $(  4907459438   !!%%!%# !# #%$%  !   .2%.

20 %$#"51 #$%#%08.20 !# #3.$  !%397 !%%!%# %#$3.

00 $%9480.34 %#$94 #$947084:7.00.:790   4907459438 .

3/3 .$  0.

809 .47/.9.9.809 0$06:03.0/.9.8098:80/3$.809 #0.0/.9.$  '$ 1107039950841'$.9.70 W $$ W $$ W ##$ 397$06:03.0#0.

48308 ./0/$ W .$  $07.47/  7483 3047$00./08 .9438706:70/147.3893#0.47/ 0093.08!74.70 //3.47/ 4/13.3 5033. 507.10.3/.#0.47/0.0 4:73.3 .8.043974  #0.47/8 W 3//943 $!74.:8.3/0503/03.90/47#0.9..04.3893#0.

84:/-0/430 :83$ 3 .93303/008 09..90/ :83$&99 W #0 3/03 70.90/ 08.70.3-0.3349-070.$  013308 W 3$ 08.

943.0 706:089 09...3-0/4300907-%7..-0 W %.-4:9.0  0 W /.8093.3.38..94347 %.439.0882094/8 507288-010807..9031472..74 .20 .  013308.$  0133094$ W 0884:/-0/0130/3% 043974%.9.

$  $39.41%..74 %%! %'$  %$%  $#'#"  # $ % # &!% $%%  ! .

920 #0.3/33!747.3-0799033..347/07 3:2-074170..0 W #0.3-0380790/ :5/.47/8.47/8 W .480.284:/349450347.90/47/0090/  .$  0.//0/.28 W 0884:/349-0/0130/390!747.2  W !747.9.3-0..47/8.

390 47/8 W .9.$  25479.809.

0 .20390% W 394.

 W W W /0130/3905747.742 $ #0.070.207090$!:98.  473 $947.

0/ 4779903 .3890709:73.3/  % 0394190#0.4/04190 00.47/94-0#0970.422.9.098 90.47/0 #$! 439.3890#0.:90/. # 439.

0    43/943$  % !  % ## &!   ## .$  #.20  $9 394 ( #/1/ #0.3/42# $ # 0 103.

/ $# 0  '$  394 $ '$ # 039 $ '$  #/1/    #/1/ $ '$    .3/42#0.250147#.$  .

/.3-070 5489430/ :737480 507.47/8.$  $06:039./!70./09.-8905439079490789#0.3/#0.#0. 3/907480 507.943.943 #0.89 7480.8706:70/ &83#0.4:8#0.3/!70...47/8./8/430-7480 507 W 89.3-0#0./ W $06:039.47/94-0#0..3349-0&5/.797 09.90/ ./ W W W W &83$9.#0.9.

70.9. .20  # /.$  $39.   43/943$  ##  %  % ! .147$%#%# $$%#%#  103.

900947!70.4:8#0.47/07090$%#%#.$  #0.47/./390#0.47/.3-070.#%47#!#'  %01789#%47#!#'70.1907$%#%# W $06:039..85489430/900 !43907 ./90 #0./ W -.

$  $39.41#09.

.9.#!70.9.   43/943&!   ## ##  % . $% 597 701 # /.20 % /.70. . $ #09#!70.70.  3.

4:888:0/$%#%# W $% $#  103.908.$  #480 W #48090723.!70.20   43/943'#" .

98908.3 W .    43/943 ##  %  .9.3/903.20.70.34907$%#%# $39. .8#.$  #$%# W 980110.20  # /. $#$%#  103.

47/0  %070.47/394900 W 47$$ #8349:80/-:9.8.$  #%422.99003/41900  47$$ #84:/-090#0.3070.47/ -079903.47/-079903/0503/343900  $$$#%432:89-0/4303.3/ W //8.3/#0.03/347/07 41900 ..1907790 W W 00.:943 #.:08709:730/.

$  $39.9.147#% $#%  103.70.   43/943$ &!#  ## ##  $!   % ! .9. . # /.20 #  /. .70.

:942.$  ##%422.1907 00.9.4:8#0.& 890#0.:943 .47/.8!70./9 &!% 5943 W ##%.3/ W &5/.#0.908.47/..

9.   43/943&!#  ## ##  $! .70. .$  $39.147##% $##%  103.20 #  /.

/9#9&!%-0/0090/ W :950#0.3/ W 00908.3-0/0090/394.3/ 9070. 5943 .47/8009085488-0:830307./.#0..47/.47/1742.8  #9901:039 .47/70.$  %422.9.809 W #0.

41% $%  103.70. .9.20 # /.  5943.$  $39.   43/943 $ &!  ##  %  % ! .

 $&   103.8090#0.8-0034.3/ $39.0/-# W 9&!%422.$  &  W %4#00.47/.20  4907459438(   43/943$  ##  % ! ..

 4.4.:7147 $0.3/8  % &   %&%  $$##  '#" 3//9439490.059438:8:.$  0307..059438 W %01443.0 ...4390889.:7 .-4.3/3422.059438843.

9.$  422:3..808 .9439.-.

9 94../0839071.$  $  W $574..28.943 459438(   .08890/..3/8147$"807.9.083 47/0794.388:0...4330.80 $"1:3.-.2039..094 W 706:708 $99..422.9 W 980194$ $5747.

.-..2039.9.$  507.9.-.80 ..9388902 $#  #  $99.088-$ .80..9 55 !2 $"  .

4330..99..79.8802-3907084:7.088-094'$ .08 .9090#% %0#%2:89-03 0/90/394.-0 #% %031472.9574.43974903907..74 $#% 94 0307.70.93.439749.3/ W W W .9433#%8:80/94..0./08.2..$  #%397 W %0$ 94 .9438/0130/-.-7..98 .9438 -09003$ 7084:7.20391.

38.2 $" $  !70.$  !70.00/947  4./4/:0  .422.947  4250    30/9-3.42507  $.0!747.42507 $4:7.3/97.

$  "&&$ .

$ 

%7,38039/,9,43974
W !74;/08,55.,9435747,22079,6:0:31,.9 W ,9,.,3-089470/

6:0:0/1478:-806:03939073,47 W W W
09073,574.0883 $9470//,9,.,3-074:90/9482-4./0893,9438 %"8706:70,%0397 /03910/-0893,943/
94-908

$ 

%"8
W 397,
5,799430/
,884.,94393908,20$
8:-88902
%5.,:808,70
% :942,9.%,8399,943 ,884.,90/997070;0
088,089.3
74,/.,89309.

W 97,
5,799430/
,884.,94309073,9490$
8:-88902 ,3,884.,909,3806:039,/0;.0
%,50  
$ !7390709. %5.,:808,70
43/,9, 89,989.8 97,38,.943077472088,08
70,901081478:-806:039574.0883-43 
$

 5747..28 .9.

9.5.9.97.1742.6:0:0 %"% .9.6:0:0 #%"% #0.6:0:0 #"% 0090.9438 790/.9.97.38039/.3397.$   %"8 W 507.9.7994397.38039/.94.//.38039/.

70.. $#%"% "&& 3.9.$   #%"% W $39. .9.20 (   43/9438$ '#"  ## $'#"  ##  $!  %&%  % ! "##  $$## .:0 ( $$ 889023.20 #  /.  % /. .

$% 597 701 < % /. ..9..19079070...70. .9.:0 (  $&$!(   43/9438 $  ## '#" $'#"  ##  %&%  % ! "&$ "##  "# $$## .0 .9. $#"% "&& 3./ W $39.$   #"% W #0.-03906:0:0.9.47/349 .70./8906:0:0/0897:.20 % /.

0397083906:0:0 W $39.20   43/9438'#" $'#"  %&%  "## $$## . $%"% "&& 3.$   %"% W 00908.

94341.94343974!747.94343974%.$   0893.%"8 W 0893.%"8.2 ! :808%94/0391 W W .3/5071472.-0 W %8947089079031472..

2. 4507. 097.7494/0130397.5..79943 %"8%!%#.9438 %8.

0:80/-%"70.439397./ .10/.19079.8-00370.79943%" 90809079085.%# #&$45943850.0/ 70:80/.47/-0 7024.5..

9438 088..943 W .839.9974:.943$-039.$97... %%!%# $%$$ %#$$ %#' 03903:2-0741%"70..943.47/870.3-0 39.9.:942.3 #0547957393 ..$   :942.%.. W 55.089.90/.38..9.38.9..08 90 97.:942.90/..

4.9435747.5./ %$"8.42-3.-00397706:70/170..$   %02547..7.3//0090//3..7$947.3. 4$9.8.220790.55.3:8090%$"0.-99489470./08.943419072/..0/.9.9.07349706:70/ /03910/-":0:0/ 94-908 %5.90/.943.043974 W !74.3/ W W 70970.70 70.%$" 55....2.

3/.97.

0548943 .47/3%$"/03910/-70..0/ 909023:2-07 .9..4507/ W .70.

9438 W .8 W $947.748890723..9.-0 W %$%0397706:70/ '$10%! .38.9.3/&5/.4.07.//.$   %$"8 W 507..4. $06:039.0 W .3/7.7 #0.9438 W 790.3 43 70.3/42 W 0090906:0:0 W .90/.07.-0 W :.088 W .. W #0.748897.

!..24397.9438 W %0723.:808 W .9..38.$   %$"8 %5.5.3 W #0547957393 .883.

70.. . .9.  % /.20 #  /. .9.9.:0 ( &%$ /. . ##%(( &#(  $&$!(   43/9438 %## ## "##  $!   %&% $$##  ## '#" $'#" . $#%"%$ "&& 3.9.$  #%"%$ W $39.70.  % /.70.

.9. .. % (   43/9438 %## ## "##  %&%  $$##  ## '#" $'#" .$  #"%$ W $39. .20 % /.:0  &%$ /. $#"%$ "&& 3.70. ( % /.70.9. $% 597 701 < % /. .70.9.9.

0397083906:0:0 W $39.$  %"%$ W 00908.20   43/9438'#" $'#"  %&%  "## $$## . $%"%$ "&& 3.

$  %#'%$ %#  .

(   W %.1472.2. $$%$% /.:77039/.3/%:5/.3.70.:77039/.90/9.90.9 .0//0..3/920 W $39.9.3/ W 920 $%709:738. .90..:04192035.$  $% W &80/944-9.

9.9..9.70.9.:0 (((   43/943 '#"  W $39..70. %$! /.9.70. .70.$  #%% $ #%%$% /. .9. ( 09.70. . .9.70. .9.:0 ((   % /. .9. .9.70.70. 701  /. ( % /. . % # /. . ( # /. . . % /. (  /. (  % # /. ((( %$! /.9.

.8 W %088:39. $ %#' 2288 % 2288   43/9438 !# '#" .47 W &3990850.10/3907.850.9.$   W &80/9490574.088341.888:8503/0/147.10/920 $39.

.38.9.10/90723.3/..97.990850..79.943. W W .. $$%#% %#$ 97.990850.3-05.943 $39.880/94903097.10/920473907. .38/ %# 9072/  % 2288 %#' 2288 (   43/9438 '#" ## %###  %#$## .38.$  $%#% W &80/9489..

.10/920 W W W W W W .30.:8.30.:8.9147.0 .0.5.0903907.090/..7084:7.9.9430390850.880/-90 $%#%  &80/94.43974 422..439741742907084:7.3/$%#%/03910/-#" $&$! &80/948:8503/.80570/  %'% 94.:7 #%#' &80/9470970.30/-" ..07..039944.3/8  W ! $% 94706:0893491.439744.0.43974706:0898  0  ! $%.9.8 " 94.3.$ 9073907.0 " 941700900.

$ 

#0.4;07 #089,79

$ 

%000/147#0.4;07

#089,79
W %05488-01,:7089,9.,34..:74:98/090$
88902,70 
422:3.,9431,:708 34330889028 ,9,80947/,9,-,801,:708 55.,94347889025747,21,:708 !74.088471,:708 !4078:551,:708

W #0.4;07

:708942..2.0/4309490433088902  3.01.70706:70/942320471 5488-0 023.791.39088902  /.-4.39.#089.804190.9.908.39079 ..9090/.

-08 #084:7.4.0 %9.08 '$108 397.-0#084:7.79943%" %$"390.07.9407090$889024790 97.99025994.78947.420-..0/0139438 $8902/013943108 .:..$  # '# W 3.:770/ W #0.943..5.38.:704.803901.

$  #$%#% W %4708:20904507.38.4..425090/ .9434190$889024790 97.943039070.078.

07.4.908147#0.$  ..

#089.908147$#0.79 W ..4.07.

.07&834:73.0#0.9.79 3.4.9 # .%7. $8902#089.4.%7.79 903/0/#0.943#089.07&83$89024 #084:7.#089.4.0#0.07.943.79 #084:7.38.2.38....4:9 :942.

07.9431.9.:78 $.38.38.2.-07084:7.08:8390314 3/3.790890 -014702.34:990.:942..4.94309070894190$88902 ..4 $09 %$3!% W ..8.4:9 %  W 039097.0 31472.$ 3.078.9.2.414790/:7..38.94341430 & 9047-090039094.4.%7...943.943 419070.2.47/39490/3.8 -..0/% $.0$ 54398 03..3082.:942../0 W -9097..70.4380.:9. 70.34.4393:083472.

0/.5.. $$! % # (   ..9.59 390720/.. :394147 & %003/41.9435439 83..7941.90$59 .79.90.:.3/905439.4250908..$  & $5439 W %05074/-090039089.4.308 W W W .90/94$-.4.:39414783/.780941.70.3-0/430- $39. 83.743..

/09390 ..0/4:9 .-03/3&-0-.:704.8    $ %$!$! % $! 03901.$  &8 $598  &  %...3082.:78 .8  $ % % $!  &  &  &  %.

-994.90 $5439 ...4..8041390720/.9 $09 #$%#%$3!% ..7084:/-09.7089.9.990 5439070%..9.070/974:% 19097.7070.7084:7.79909.79.5.8.79 W $.97.791.38.:942.9.:942.1907 W W .08.7089.38.4250908390.$  :942..%7.943706:708.03347/07947089.38.943#089..943.

..4..0/941023:9081 #8:80/ .3-070/:.08..4393:0 %088902/43920.:78343088902 90490788902 ..70/-9094889028 1901.431:7.07.$  903/0/#0.20.709488902898.8970.:704.:942.0741$7084:7.9 # W #8943.943 907084:7.08 %070.93901.4.708.70.8090..-941$- W W W W .

$ 422:3.9434397407  ..

.9.0 $08843 .! .059   '$. :5 $08843  # 43.

 .

'% $.

943 08 '$..'$   $8902 08 $ 08 55.

 .

'% $.

0$8902$.70/#084:7.089073.'$ .9088902 .9.

7.$  !747.2!705.943 .

2 .2947:33$3.:9390!747.!747.$  3974/:.943 W !705.2390$#043 W 0.73.7432039 W 013390!747.

2 W $706:70890144389058945705.70.2 W 8802-047425090%7.2 .73.38.9390!747.38.!747.947 :95:9  W 390!747.2 W %7.$  !705.!747.

947.902039839490 W W W $9.3:.38.03.3/.3 &3/0789.03$$!& %0$$!&8.$  %7.38.90/$4:7.08944:95:98 .90203984:7.90203983904544  .8 $$!#%.943 W %7.90890 $ $9.3/ %0%7.38.38.345448.2893.70:80/390!747.!747.%7..0    42507.89035:99490!747.2 907084:/ 349-0.3$$9.2 42507 1.

.9434190$!747.8706:70/ .3:.$  42534733 W 890$422.90/ %0 W 425.3/8.10/.20.2 03.8 ..0 9042507 59438.28908.3-0850.38.0!747.0-00397.

3-0/4300907-:83%7.94384:/-0/0130/.3/389.0/39490 W !!% %8..$  013390!747.2 W %055..38 47 !!% .

.9438 .$  $$:550/%7.38.

$  $.

.3/&94 .990 90723.0 $3411-$.033$8.943-09003 90:807.8847/.3/$ 190$3438/4309.8847/( &( &807/ 5.8847/( W W W W W  !$305. 90570.4330.30905.0147908..947-0830/411 .3-01742 .890.3:.:08.78 3# 90&807/.20:807/.9438 W %4834394$88902 W $&$#:807/( !$5.4:84507..$%7.44803.-70.0710/ !$94.8847/.943..38...

:7703970. 01470:83902.55.550.7843908.422..5835747.3-090890/:83 94.28 9.7003 .3/839.10/.422.3/ #"%"&& %$%  70.49.4190 850.941$.0890.$  422.0 3907570907  W %4-:/.3/8 W $$8:80/940990.943/09./90 .:77039:807/ 88/  W W W 90723.425090.3/0.422./ ..0.47/4190.3/9089900110.03%" .

38.08 #024.0/7084:7.08 9079089.943 W W W W 85.9:841$ 889027084:7.94389.0/0139438 !071472101:3.9.7034970.8907%0723./08901443807.9:841$ 889027084:7..090389. %7.90/947084:7..08 .08  W %574.$ % .89089.

3/0..283907.9  W %49089.55.:943..0 W 9072/.9.9435747.0.3489.$  0. ..422.

88/.

808843/( .

38..43. ( W %072/ 90/039107419090723.94394-090890/8-037:3 $08843/ %49089.90 W W 97.

..943.0/.97.3# .7488 .99..243947.38.

943.38..97.$808843 $8/ %49089.3!!808843 ..7488.

3/0.:9434190 5747.9985439 3/4100.55 52.30/..943 .. W 997..3/-0147090 .43/94320..3-0.93472.3-0.9.38..94339.1907.3-0.30/ 95747.890723.3/803/8..9.39077:59800..-3472.9..943 03.$.38283.:943410.:78 .3/ -0147090.794100.422.3/.03..290723.949090723.:943410.$.40/ W W W W W .0/..422.4/0.8-00339.$   439/ W %054398.9.890723.....30/ #.:08.3/ .2.::02039..943 ./85.:08 .34.:08 .40/ 70854380..43974 $9.943 .3-03.

80890.%"147-7483 !&#07.884.0 W W W W W W 6:0:08 %$" #-/01. "&&942.:77039 !&%94.7$947..4590.3-04.0903.0 7480  W %4-748090.:984906:0:0.:770396:0:0 .3490790723.90/990 ..20/6:0:0 .43903984190..$ # %02547.4390398394%" %94109.077//0394 .349076:0:0 %#94-7480%$"147.:770396:0:0.439039841$902547.:7703990723.78947.0. #  .

$  $.7003013943..9$  .

90/-$.0/43908.0944147/013331472..98.70:80/-.7003 -0.9.74:88890280 $..$  %# &%  $ W 33907.94394-0 W W /85.70.

98.5.3074:58 09.  .$ $ $!09.58093$.3/2.47708543/3942.70!.30.3/!. %0$4-0.

$ .

4/08147$.943894.9431:3.8.4/0147904-0.94394..74.42243147.$  $:3.90889028 W !74.980 W W 2.3/9089904-0./081:3.70.90.907.9438 W 70.98.98 W 0307.943414-0.

90 .045.$ !74.943894/0./08:9908945739 27./081:3.98 !74.0794-0..43.943574949508 .55.

$ !.30 &% $'9480990.30422.9905.308.308 !#$#'9457490.3/8   94-7480974:90905.422.8..04594343 .:942.3/ .9.3/8 $' 9470..47/90.

7.85.9 422.3/80 % !   %%   &!  W W W W W .422.3/98.30.09010/8.946:990...70..-0940/9905.308 %$%94908990.907 .041904-0.997-:908   %%#&% % $  09.90 .   W $.550.3.308 094 .70.3/8..

30 W %46:9.$  !.3/894/4901443 W %4-7480974:905.30.3/8 W $.8495.30 30422.422.

45 24.422.997-:908 W 3/30...090.3/98.550.30.7.70.8047077478 W %4908990.907 .09010/8 .90 .3/894.8.30 W !.9905.3/947089470905..303.300/947.9  38079308 .0 /0090 7050.422.3.308 W %457490.3/894.041905.

8.-010/2.3/ /70../203843.78 .90..5.3-0/0130/-95390909390706:70/ 5.30.70.3-0/0130/-850.308 W %4.-010/8.943  '.0 950 !.77...924/0 '.894-0 W W W :80/.8.7.7.30 3907..30 #3907.7.7.13.78  .08935..-010/2.3/.3-0/0130/-.3054894331472.-010/8..$  !.30909.3-0/0130/-.80094314790305./0.

30 W 3907905.997-:908.447 57490.8830/9410/8.9.9 10/..30905.997-:908..70.30910 W 70897.30/   147.9438 01.:9.943 390389 . W %4.30./.303.1.$  !.. 09..3/-7.349075.:/0/3..30 708/08 .70 W .308439/ W 5.7/039107070905.:7847548943 :891 10/ 1472.3-0 .20.3-03..943 24/10//.

8 5.20841905.943  4.3089.9-0439490 5.93.3074:5.3074:58 W 5.0/:704170.7..../0.74:541 W W 5.3074:5..7.439.4/009.90789.7.$  !.3/0/935.907:80/3 0307.30 0130904-.800307.20 .3831472.-4:9.20. ..3074:597:  !.3/903.90789.9433.308 .3074:5  !74.0.943.20907841905.3074:588.8 459 W   $.5.

98.$  0307.55.90/ ..43974 -4.9950 W !.8 $2...5 W !.90/94-0:80/3.3-00307.9:708 :80/34-4 47.705 90.943 W 8$4-0.9.3074:5.897:.30.5809 30472470/.7089470/339073..9438 :95:9410307.748 .943 /0503/843904-0.094-0 W W 0307.

78.3/70970.70.308 #! 1475.9.3074:58.708 W 0130-7.08.98 $-7.20 5740.7 .7.8099.//0/-8/1/0503/843904-0.7.9950 W ! 1475.9 74:5 /53 3901789940.9.0 .799430//.039457490.8830/1470.3/!$% 1475.9700 0.98390-7.5..90 W 4-0.0 /.8847/.-7.990-7.8093.90/3$! 94-0:80/-$94 W W 89470.799438098 W  8.3-0.3-0/0130/ 97/0.04-0..8:80/9480.708 .$  $-7..7 5.

30 74:58 5. W 7..708  .308 5.0857394:98415.943 %427.981742.79943809809.799438098/0130/ 9$.08394 $-7.58098 5.58 2.$  $:9908 W !739 %45739:99574/:.74:884:7.904-0.

309.70988902 ..07843:99 %4.0794-0.748 W 43.$2.9817424309.709 8890294.43.

9.$  55.9435747.73907.90/ 394..308 -0147090.20 -7.:807706:7020398 -01470/0833905747.0/1 .2 W !7494950/013943 W /0391905.943 :807  W &80/94..943 -0900390./.3 % $.80/4390&##%5.057494950 $2:.90890572..703.30 90 % 94-050714720/ %!94-0/85.70209 .3//09072309039.30-.079.55.55...943!7494950 W %490899014415.90.7 W 013090574949507:08-.33.28 W $2:.47547.

$ $.250.74  %&!$%!!      &% $% #&% $& %&!$    %# # # #$%   &  %  % !$ &$% % #$% ! $   % % .20  %%# !# %  #  ..

439/ ! $   %  %%# &!# % #% $!  ! $   %  %%# !# %  #  ! $   % % 0  %%# !# %  #  ! $   %  %%# &!# %  # ! $   % %%# !# %  #  $%! .$  .

070 .$  .

$  %.34: .

Sign up to vote on this title
UsefulNot useful