Professional Documents
Culture Documents
CICS
(Customer Information Control System)
CICS
Table of Contents
Introduction to CICS Basic Mapping Support Program Control File Control Queues Interval and Task Control Recovery and restart Program preparation CICS Supplied Transactions Screen Definition Facility
DBSS Training Centre
CICS
Introduction to CICS
CICS
Introduction
Customer Information Control System -CICS developed in
late 1960s as a DB/DC control system CICS provides an interface 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 of macros
CICS
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 of failure. 3. Programs and files can be shared 4. Transaction can be run at any time
DBSS Training Centre
CICS
Users App.Prg
CICS
DB/DC System
Terminals
Data Base
Central System
CICS
CICS
Task &Transaction
Task :- A basic unit of work which is scheduled by the
operating system or CICS Ex -Read from and write to the terminal
CICS
10
Pseudo-Conversational
Multitasking Multithreading
Quasi-Reentrancy
CICS
11
Terminal Conversation
Conversational : A mode of dialogue between program
and terminal based on a combination of sending message and receiving message within the same task Since human response is slower than the CPU speed, a significant amount of resource will be wasted just waiting
CICS
12
PROCEDURE DIVISION. : FIRST-PROCESS. EXEC CICS RECEIVE ---- <= TSK1,12345 END-EXEC. : process EXEC CICS SEND ----- <= EMP(12345) Details END-EXEC. * - - - - - - Program Waits For Response - - - - SECOND PROCESS. EXEC CICS RECEIVE ----- <= User Enters Data END-EXEC. : process
DBSS Training Centre
CICS
Pseudo-Conversational Example
Transaction TSK2 Program PROG2 PROCEDURE DIVISION. : EXEC CICS RECEIVE END-EXEC. : EXEC CICS SEND END-EXEC. EXEC CICS RETURN END-EXEC.
DBSS Training Centre
13
Transaction TSK1 Program PROG1 PROCEDURE DIVISION. : EXEC CICS RECEIVE END-EXEC. : EXEC CICS SEND END-EXEC. EXEC CICS RETURN TRANSID (TSK2) END-EXEC.
CICS
14
CICS Components
Control Programs (or Management Modules)
Programs that interface between OS and app. pgm Handle the general functions that are crucial to operation of CICS
Control Tables
Define the CICS environment Functionally associated with the management module
CICS
15
Programs
Program Control File control Terminal Control Task Control Temporary Storage Transient Data Storage Control Interval Control Journal Control
CICS
16
CICS
17
CICS
18
CICS
19
CICS
20
CICS
21
Topics in BMS
Introduction to BMS Physical and Symbolic Map Map and Mapset Map Definition Macros Screen Manipulation/Handling Screen Design Considerations Interfacing with Terminal using a Map
CICS
22
Introduction to BMS
Primary functions of BMS
Removal of device dependent codes from Application Program Removal of constant information from Application program
(Headers, Titles...) Construct NMDS - Native Mode Data Stream Text handling Terminal Paging & Message routing Contents of the screen defined thru BMS is called Map. Map is a program written in assembly language. BMS macros are available for Map coding.
CICS
23
CICS
24
Types of MAPS
There are 2 types of MAPS
Physical Map
Physical Map is a map used by CICS ( CSECT) Ensure device independence in the application program
Symbolic Map
Ensure device and format independence in the app prog Symbolic Map is a map used by Application Program (DSECT)
DBSS Training Centre
CICS
25
01 EMPRECO REDEFINES EMPRECI. 02 FILLER PIC X(12). 02 FILLER PIC X(03). 02 EMPNAO PIC X(21).
DBSS Training Centre
CICS
26
Linkage editor
CICS
27
* *
ANY COMMENTS
DBSS Training Centre
CICS
28
Order of Macros
DFHMSD TYPE=DSECT DFHMDI Map DFHMDF A field DFHMDF A field : DFHMDI Map DFHMDF A field DFHMDF A field : DFHMSD TYPE=FINAL END Mapset
Mapset
DBSS Training Centre
CICS
29
DFHMSD Macro
Define a mapset and its characteristics or to end a mapset
definition Only one mapset is allowed in one assembly run. Example EMPMSET DFHMSD TYPE=&SYSPARM , MODE=INOUT, LANG=COBOL, STORAGE=AUTO, TIOAPFX=YES, CNTL=(FREEKB,FRSET,PRINT)
X X X X X
CICS
30
DFHMDI Macro
Define a map and its characteristics Example
EMPMAP DFHMDI SIZE=(ll,cc), LINE=nn, COLUMN=mm, JUSTIFY=LEFT/RIGHT X X X
CICS
31
Screen Layout
&Customer No. :&nnnnnnnn
Where
& Attribute character n Unprotected numeric - Cursor
CICS
32
CICS
33
Attribute character
Invisible one byte character Defines the characteristics of a field
Thru ATTRB param. of DFHMDF.
CICS
34
CICS
35
Skipper Technique
Unlabelled 1-byte field with the autoskip attribute DFHMDF POS(ll,cc),ATTRB=ASKIP,LENGTH=1 To skip the cursor to the next unprotected field after one
unprotected field. Screen Layout :
&xxxxx&$ &xx
where
$ & X Skipper field Attribute byte Unprotected field
DBSS Training Centre
CICS
36
Stopper Technique
Unlabelled 1-byte field with the protect attribute DFHMDF POS(ll,cc),ATTRB=PROT,LENGTH=1 To stop the cursor in order to prevent erroneous field
overflow by terminal user. Screen Layout : &xxxxx&$#&$ where # Stopper field
CICS
37
CICS
38
AID KEYS
Indicates the method to initiate the transfer of info. from
terminal to CICS. PF keys, PA keys, ENTER & 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
DBSS Training Centre
CICS
39
CICS
40
SEND MAP
Writes formatted output to a terminal. Syntax :
EXEC CICS SEND MAP(mapname) [[ FROM(dataname) ] [DATAONLY] | MAPONLY] [ MAPSET(mapsetname) ] [ CURSOR(VALUE) ] [ FREEKB ][ ERASE ][ FRSET ] [ HANDLE | NOHANDLE [ RESP (dataname) ] ] END-EXEC
Conditions : INVREQ,LENGERR
DBSS Training Centre
CICS
41
RECEIVE MAP
To receive input from a terminal Syntax :
EXEC CICS RECEIVE MAP (mapname) [ SET(pointer) | INTO(dataname) ] [LENGTH(msg-len)] [ MAPSET(mapsetname) ] [ HANDLE | NOHANDLE [ RESP() ] ] END-EXEC
Conditions: INVREQ, MAPFAIL
DBSS Training Centre
CICS
42
CICS
43
CICS
44
Program Library
ACCT
Terminal Control
3
Account File
CICS
45
Program ACCT00
BMS
DBSS Training Centre
CICS
46
Operating System
Users Next input File Control
Program Library
Account File
6 8 BMS
Program ACCT01
CICS
47
PROGRAM CONTROL
CICS
48
CICS
49
LINK
Used to pass control from one application program to
another The calling program expects control to be returned to it Data can be passed to the called program using COMMAREA If the called program is not already in main storage it is loaded
CICS
50
LINK Syntax
EXEC CICS LINK PROGRAM(name) [COMMAREA(data-area) [LENGTH(data-value)]] END-EXEC. Conditions : PGMIDERR, NOTAUTH, LENGERR
CICS
51
XCTL
To xfer control from one application program to another in
the same logical level The program from which control is transferred is released Data can be passed to the called program using COMMAREA If the called program is not already in main storage it is loaded
CICS
52
XCTL Syntax
EXEC CICS XCTL PROGRAM(name) [COMMAREA(data-area) [LENGTH(data-value)]] END-EXEC. Conditions : PGMIDERR, NOTAUTH, LENGERR
CICS
53
RETURN
To return control from 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
RETURN Syntax
EXEC CICS RETURN [TRANSID(name) [COMMAREA(data-area) [LENGTH(data-value)]]] END-EXEC. Conditions : INVREQ, LENGERR
CICS
55
Level 0 Level 1
PROG B XCTL
Level 2
Level 3
Application Program Logic Levels PROG D XCTL PROG E RETURN
DBSS Training Centre
CICS
56
LOAD
EXEC CICS Load Program(name) [SET (pointer-ref)] [LENGTH (data-area)] END-EXEC. Condition : NOTAUTH, PGMIDERR
DBSS Training Centre
CICS
57
RELEASE
To RELEASE a loaded program/table/map Syntax :
EXEC CICS RELEASE PROGRAM(name) END-EXEC. Conditions : PGMIDERR, NOTAUTH, INVREQ
CICS
58
COMMAREA
Data passed to called program using COMMAREA in
LINK and XCTL Calling program - Working Storage defn Called program - Linkage section defn under DFHCOMMAREA Called program can alter data and this will automatically available in calling program after the RETURN command ( need not use COMMAREA option in the return for this purpose ) EIBCALEN is set when COMMAREA is passed
DBSS Training Centre
CICS
59
POSSIBLE ERRORS
Conditions that aren't normal from CICS's point of 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 of an appl. pgm.
CICS
60
When the error (exceptional conditions) occur, the program can do any of the following Take no action & let the program continue - Control returns to the next inst. following the command that has failed to execute. A return code is set in EIBRESP and EIBRCODE. This state occurs cause of NO HANDLE /RESP/IGNORE conditions Pass control to a specified label - Control goes to a label in the program defined earlier by a HANDLE CONDITION command. Rely on the system default action - System will terminate or suspend the task depends on the exceptional condition occurred DBSS Training Centre
CICS
61
HANDLE CONDITION
HANDLE CONDITION condition[(label)]... 'condition'
specifies the name of the condition, and 'label' specifies 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(LENGRTN) END-EXEC This example handles DUPREC cond. separately, all the other ERRORs together. LENGERR will be handled by system
DBSS Training Centre
CICS
62
CICS
63
IGNORE CONDITION
IGNORE CONDITION condition condition ... condition specifies the name of the condition that is to be
ignored( no action will be taken) Syntax :
EXEC CICS IGNORE CONDITION ITEMERR LENGERR
END-EXEC This command will not take any actions if the given two error occurs and will pass the control to the next instruction
CICS
64
CICS
65
Syntax of Pop :
EXEC CICS Pop Handle END-EXEC.
DBSS Training Centre
CICS
66
CICS
67
CICS
68
PCT Entry
DFHPCT TYPE=ENTRY TRANSID= name PROGRAM=name TASKREQ=pf6 RESTART=yes/no ( TRANSEC = 1to 64) RSLKEY= 1 to 24 resource level key SCTYKEY= 1 to 64 security key : : other options
DBSS Training Centre
CICS
69
File Handling
CICS
70
VSAM
Different types of VSAM Datasets used in CICS are :
CICS
71
CICS
73
CICS
74
CICS
75
CICS
76
Important Key-Words
Dataset/File :- Name in the FCT. Into/From (WS-Rec) :- Working-Storage Area
defined in the program where the CICS Puts/Gets the Data. RIDFLD :- Contains the Record Key. RESP :- Contains the return code of the executed command. LENGTH :- Length of the Record to be Retrieved or Written.
CICS
77
Random READ
EXEC CICS READ File(filename) [SEt() | Into()] RIdfld(Rec-Key) END-EXEC.
Condition: DISABLED, NOTOPEN, NOTFND, LENGERR, DUPKEY, IOERR.
CICS
78
CICS
79
Sequential Read
Sequential Read is done by Browse Oper. Establish the pointer to the First Record to be Read
Using StartBr. Next and Previous Records can be Read as required Using ReadNext and ReadPrev. End the Browse Operation at last. Browse can be re-positioned. During Browse Operation, Records cannot be Updated.
CICS
80
CICS
81
CICS
82
Syntax of READNext/READPrev
EXEC CICS READNext | READPrev
CICS
83
ENDBRowse
ENDBRowse terminates a Previously issued STARTBR. SYNTAX :EXEC CICS ENDBR FILE(filename) END-EXEC.
Condition: INVREQ
CICS
84
RESETBR
Its effect is the same as ENDBR and then giving
another STARTBR. Syntax : EXEC CICS RESETBR FILE(filename) RIDFLD(data-area) END-EXEC.
Condition: IOERR, NOTFND.
CICS
85
WRITE Command
Adds a new record into the File. For ESDS, RIDFLD is not used but after write
execution, RBA value is returned and Record will be written at the end of the File. For KSDS, RIDFLD should be the Record Key. The record will be written depending on the Key. MASSINSERTion must be done in ascending order of the Key.
CICS
86
CICS
87
REWRITE Command
CICS
88
CICS
89
DELETE Command
Deletes a Record from a dataset. Record can be deleted in two ways,
RIDFLD with the full key in it. and the record read with READ with UPDATE will be deleted.
CICS
90
Syntax of DELETE
EXEC CICS DELETE FILE(filename) RIDFLD(data-area) END-EXEC.
Optional
CICS
91
UNLOCK
To Release the Record which has been locked by READ
with UPDATE Command. Syntax : EXEC CICS UNLOCK FILE(filename) : [other options] END-EXEC.
Condition: DISABLED, IOERR, NOTOPEN.
DBSS Training Centre
CICS
92
General Exceptions
The following Exceptions usually will occur for ALL
CICS File Handling Commands.
CICS
93
CICS
94
CICS - DB2
CICS provides interface to DB2. DB2 requires CICS Attachment Facility to connect
itself to CICS CICS programs can issue commands for SQL services in order to access the DB2 database.
EXEC SQL function [options] END-EXEC
CICS
95
Operating system
CICS REGION
DB2
REGION
DB2 Database
CICS
96
RCT Entry
The CICS-to-DB2 connection is defined by creating and
assembling the resource control table (RCT) The information in RCT is used to control the interactions between CICS & DB2 resources DB2 attachment facility provides a macro (DSNCRCT) to generate the RCT. The RCT must be link-edited into a library that is accessible to MVS
CICS
DB2 - Precompiler
Source Program (EXEC SQL... | EXEC CICS...) DB2 Precompiler | CICS command translator | Compile By COBOL | Linkedit by Linkage editor | Load Module
DBSS Training Centre
97
CICS
98
QUEUES
CICS
99
CICS
100
TDQs
Intra-partitioned - association within the same CICS
subsystem
Typical uses are - ATI (Automatic Task Inititation ) associated with trigger level - Message switching - Broadcasting etc
CICS
101
TDQs
Operations
Write data to a transient data queue (WRITEQ TD) Read data from a transient data queue (READQ TD) Delete an intrapartition transient data queue (DELETEQ TD).
CICS
102
WRITEQ TD
Syntax :
EXEC CICS WRITEQ TD QUEUE(name) FROM(data-area) [LENGTH(data-value)] [SYSID(systemname)] END-EXEC.
Conditions: DISABLED, INVREQ, IOERR, ISCINVREQ, LENGERR, NOSPACE, NOTAUTH, NOTOPEN, QIDERR, SYSIDERR
DBSS Training Centre
CICS
103
READQ TD
Reads the queue destructively - Data record not
available in the queue after the read.
Syntax :
EXEC CICS READQ TD QUEUE(name) {INTO(data-area) | SET(ptr-ref) } [LENGTH(data-value)] [NOSUSPEND] END-EXEC. Conditions : DISABLED, IOERR, INVREQ, ISCINVREQ, LENGERR, NOTAUTH, NOTOPEN, QBUSY, QIDERR, QZERO, SYSIDERR
DBSS Training Centre
CICS
104
DELETEQ TD
Deletes all entries in the queue Syntax :
EXEC CICS DELETEQ TD QUEUE(name) END-EXEC. Conditions: INVREQ, ISCINVREQ, NOTAUTH, QIDERR, SYSIDERR
CICS
105
CICS
106
Applications
Message switching & Report printing
CICS
107
CICS
108
TSQs
Operations
Write and Update data Read data - Sequential and random Delete the queue Access Across transactions Across terminals Storage Main - Non-recoverable Auxiliary - Recoverable TST entry required, VSAM file DFHTEMP
DBSS Training Centre
CICS
109
CICS
110
Syntax :
WRITEQ TS
EXEC CICS WRITEQ TS QUEUE(name) FROM(data-area) [LENGTH(data-value)] [NUMITEMS(data-area) | ITEM(data-area) [REWRITE] ] [MAIN|AUXILIARY] [NOSUSPEND] END-EXEC. Conditions : ITEMERR, LENGERR, QIDERR, NOSPACE, NOTAUTH, SYSIDERR, IOERR, INVREQ, ISCINVREQ
DBSS Training Centre
CICS
111
READQ TS
Syntax :
EXEC CICS READQ TS QUEUE(name) {INTO(data-area) | SET(ptr-ref) } LENGTH(data-value) [NUMITEMS(data-area)] [ITEM(data-area) | NEXT ] END-EXEC. Conditions : ITEMERR, LENGERR, QIDERR, NOTAUTH, SYSIDERR, IOERR, INVREQ, ISCINVREQ
DBSS Training Centre
CICS
112
DELETEQ TS
Deletes all entries in the queue Syntax :
EXEC CICS DELETEQ TS QUEUE(name) END-EXEC. Conditions: INVREQ, ISCINVREQ, NOTAUTH, QIDERR, SYSIDERR
CICS
113
CICS
114
ASKTIME
Used to obtain current date and time Syntax :
EXEC CICS ASKTIME[ABSTIME(data-area)] END-EXEC.
CICS
FORMATTIME
EXEC CICS FORMATTIME ABSTIME(data-ref) [YYDDD(data-area)] [YYMMDD(data-area)]... etc. [DATE(data-area) [DATEFORM[(data-area)]]] [DATESEP[(data-value)]] [DAYOFMONTH(data-area)] [MONTHOFYEAR(data-area)] [YEAR(data-area)]..... [TIME(data-area) [TIMESEP[(data-value)]]] END-EXEC. Condition: INVREQ
115
Syntax :
CICS
116
DELAY
Used to DELAY the processing of a task The issuing task is suspended for a specified interval or
Until the specified time Syntax : EXEC CICS DELAY INTERVAL(hhmmss) | TIME(hhmmss) END-EXEC Conditions: EXPIRED, INVREQ
CICS
117
START
CICS
118
has expired. WAIT EVENT - to wait for an event to occur. RETRIEVE - Used to retrieve the data passed by the START CANCEL -Used to cancel the Interval Control requests. eg. DELAY,POST and START identified by REQID. SUSPEND - Used to suspend a task ENQ - to gain exclusive control over a resource DNQ - to free the exclusive control from the resource gained by ENQ
DBSS Training Centre
CICS
119
CICS
120
CICS
121
RECOVERY
An attempt to come back to where the CICS system or the
transaction was when the failure occurred
Recoverable Resources
VSAM files Intrapartition TDQ TSQ in the auxiliary storage DATA tables Resource definitions & System definition files
CICS
122
RESTART
To resume the operation of the CICS system or the
transaction when the recovery is completed
CICS
123
CICS
124
CICS
125
CICS
126
|- - - LUW- - |- - - LUW- - |- - -LUW- - | Task B|---------------->--------------->--------------| SOT SP SP EOT-SP When the failure occurs, changes made within the abending LUW will be backed out.
CICS
127
CICS
128
CICS
129
XRF-Concept
3090 MVS/XA ACF/VTAM CICS/MVS
3090
System Files
CICS Files
Application Files
Active System
Shared Resources
Alternate system
DBSS Training Centre
CICS
130
Program Preparation
CICS
131
Introduction
Preparing a Program to run in CICS Environment. Defining the Program in the CICS Region. Executing the Program.
CICS
132
Preparing a Program
CICS requires the following steps to prepare a Program.
Translating the Program. Assemble or Compile the Translator Output. & Link the Program.
CICS
133
Translation
Translates the EXEC CICS Statements into the
Statements your Language (COBOL) Compiler can Understand. The Translator gives two outputs, a Program Listing as SYSPRINT and a Translated Source in SYSPUNCH. The SYSPUNCH is given as the input to the Program Compiler. If any Copy Books are used in the Program, there should not be any CICS Statements in the Copy Book.
CICS
134
Compiling or Linking
As the CICS Commands have been translated, The
Compilation of the CICS Program is the same as Language Program. Hence, the Compiler Options can be specified as required.
CICS
135
CICS
136
CICS
137
CESN/CESF Transactions
To sign on to CICS system CESN [USERID=userid] [,PS=password]
[,NEWPS=newpassword][,LANGUAGE=l] Userid & password values can be from 1-8 chars. In RACF, the Userid given in CESN is verified. NEWPS to change the password and LANGUAGE to choose national language Sign off by CESF which breaks the connection between the user and CICS If the Sign on is done twice for the same userid at the terminal, the previous operator will be signed off
DBSS Training Centre
CICS
138
To build and test the effect of EXEC CICS commands CECI ASSIGN is used to get the current userid,sysid,
terminal id, application id etc.. Before 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 of the specified command. CECI READQ TD QUEUE(TESTL001) will read the current record of the given TDQ
CICS
139
CICS
140
To test command level application programs interactively CEDF [termid/sysid/sessionid] [,ON/,OFF] Termid - the identifier of the terminal on which the
transaction to be tested is being run Sessionid - To test/monitor a transaction attached across an MRO/ISC session Sysid - To test a transaction across an APPC session
CICS
141
CEDF - Contd.
The points at which EDF interrupts execution of the
program and sends a display to the terminal At transaction initialization, after EIB has been initialized and
before the app. pgm given control Start of execution of each CICS command (auguement values can be changed at this point) End of execution of each CICS command and before 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
DBSS Training Centre
CICS
142
CICS
143
CICS
144
INTRODUCTION - SDF
An interactive tool for defining information to be
displayed on the screen Objects created by SDF are used by various systems like CICS/BMS, IMS, ISPF etc.. The SDF objects are Panel and Panel Groups (etc..) corresponding to map and mapset in CICS/BMS
CICS
145
SDF Functions
Creation of objects which is common for all the systems Provides functions to alter and test the objects Generation function to create code for the objects like
macro codes for CICS/BMS Provides utilities to print, migrate & convert objects Provides functions to develop application prototypes
CICS
Panel Commands
DOWN , to browse through the the panels PRESERVE to protect the panel AUTOSAVE to set the automatic save option on commands SAVE to record the changes and CANCEL/CCANCEL to quit the changes TEST to test the appearance of the object Commands are available to edit the panels... like to create,alter & view the fields and its attributes E.g.. ATTRIBUTE,EDIT,SHOW,HIDE etc..
146
CICS
147
CICS
148
Panels
To create a panel, Enter a existing panel which is to be
used as a skeleton for the new panel OR Enter a device type Panel text can be defined by typing the text in the required panel position in format mode. Variable fields can be defined by variable field marks. and arrays can be defined by specifying a dimension and direction. Variable fields can be defined by variable field marks
CICS
149
Panels
Contd.
CICS
150
Panel Groups
A panel group contains information about a group of
panels, and the names of the panels that belong to the panel group. Procedure of Creating and editing panel group is same as panel Define the global parameters of 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
As SDF objects are stored in internal rep. they have to be
generated to be used in applications Output of generation , depends on the object 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
Define libraries(created in ISPF) to be used by SDF II to
store and retrieve objects SDF II library is a partitioned data set with a three-level dataset name (project.group.dgipnl) Only the first two levels can be defined & third level added by sdf depends on the object type DGIPNL-for panels, DGIGRP-for panel groups and DGIPSTfor partition sets
CICS
153
SDF utilities
Print :- To print utility produces printouts of panels, panel
groups,partition sets etc..
CICS
154
Application Prototype
To test the flow of panels, before they are incorporated
into application programs. Simulative prototype :- Simulates the primary interaction
between the application & user. Used to validate and determine the initial user requirements before designing the program
Prototype definition
Identify the panel by giving name & library ID Define the prototype rules based on the CURRENT panel,the
ACTION to be performed & NEXT PANEL to be displayed if certain CONDITIONS are met.
DBSS Training Centre
CICS
Sample Macro
155
NAME
AGE
DFHMDF POS=(3,14),LENGTH=6,INITIAL='Name:', * ATTRB=(PROT,NORM) DFHMDF POS=(3,21),LENGTH=10,ATTRB=(UNPROT,BRT,ASKIP) DFHMDF POS=(3,32),LENGTH=1,ATTRB=(PROT,NORM) DFHMDF POS=(4,14),LENGTH=6,INITIAL='Age :', * ATTRB=(PROT,NORM) DFHMDF POS=(4,21),LENGTH=3, ATTRB=(UNPROT,NORM), DFHMDF POS=(4,25),LENGTH=1,ATTRB=(PROT,NORM) DFHMSD TYPE=FINAL
DBSS Training Centre
CICS
156
Thank You