CICS Related Book)
CICS Related Book)
CICS Related Book)
Or
Online processing:
Batch Processing:
a)CICS for programmers is nothing but the screen that is used to receive and to send data
from terminal to RDBMS and VSAM
d)earlier CICS was macro level but now command level CICS is available
e)CICS is data base/ data communication control system but IMS is data base control
system it means (IMS cannot be linked with any databases or any access methods
it takes care of sending and receving of data form terminal to the sreen
that is mainly called as VTAM(virtual telecommunication method)
it provides the facility of CEDF(execution diagnostic facility) that is nothing but the
debugging of the cics commands that are used in the program
it also provides CECI(cics command interprutter) that is nothing but the pre-testing of the
cics commands that are used in the program
CICS tabels
there are about 40 to 50 tabels are available in CICS in that few of them which are
frequently used by the CICS administrator and programmers are
PPT table : information about all the programs and mapset should be entered in ppt table
for execution of the cics programs
PCT table : information about all the cics transaction should be entered in PCT table
FCT table: information about all the VSAM files should entered in this table
Parameters in FCT
a)file name
b)program name
c)group name
d)orginal dataset name
e)key length(if it is KSDS)
f)current status of the dataset
1)read
2)write
3)delete
4)browse
DCT table: information about all tdq and tsq should be entered in this table
a)program name
b)group name
c)trigger level(for intera-partation tdq that is for ATI(automatic task initiation)
RCT table: information about all the db2 tabel should be entered
a)program name
b)group name
c)db2 plan name
Maps can be created manually and also by using SDF tool (screen definition facility)
1) DFHMSD
2) DFHMDI
3)DFHMDF
2) MOD : a)in (it is used only to receive the data from screen)
b)Out (it is used to send data to the screen )
c)Inout (it is used both to send and receive data from the screen)
4)STORAGE: a)auto(all maps in a mapset will be stored in separate memory and its
programmers risk to take care about the map related issues)
b)base:default is base and whole mapset will be stored in single memory)
6)MAPATTS(color,highlight,outline)
7)DSATTS(color,hilight,outline)
8)EXTATT: yes: if it is then only we can use MAPATTS,DSATTS parameter
9)LANG: cobol ,c,PL/1 etc
By using these three parameters we can create map and mapset and once map is created it
should be compiled with DFHMAPS and then it can be used for further process
Once the map is created we can move on to programming logics and table entries
PSEUDO CONVERSATION :
Any CICS program can communicate with a pair of send and receive commands
In between that send and receive command the resource held by the program is released
and once again the program restarts from procedure division this is pseudo conversation
(And the resource may be TSQ,TDQ,VSAM,DB2 tabels etc)
NOTE : all the load modules and copy members are stored in the cics terminal itself
And uses the single copy of load module for execution of more than one program but for
every program there will be separate task because every program uses separate data
hence task will be different
PHYSICAL MAP: the load module of the entire map itself is the physical map
SYMBOLIC MAP : copy members of the map variables that are used in the program
All symbolic map consists of some important variables up to now i come across only few
variables some of them are
Input : depends on the screen variables
Output depends on the screen variables
Attribute 1 byte
Flag 1 byte
Length s9(4) comp