cics training class 02
DESCRIPTION
Cics2TRANSCRIPT
-
7/18/2019 Cics Training Class 02
1/27
www.mainframes-online-training.weebly.com Polsani Anil Kumar
IBM MAINFRAMES
CICS Training Class-02
http://www.mainframes-online-training.weebly.com/http://www.mainframes-online-training.weebly.com/http://www.mainframes-online-training.weebly.com/ -
7/18/2019 Cics Training Class 02
2/27
Macros used in BMS Mapset
PRINT NOGEN
Coded once at the beginning of the mapset; tells the
assembler not to print the statements generated as a result ofexpanding the BM macros.
END
Must be the last statement in the input stream; tells the
assembler that there are no more source statements.
-
7/18/2019 Cics Training Class 02
3/27
DFHMSD Macro
DFHMSD! "o define the mapset and supplies #alues thatapply to the entire mapset.
$AM% &'(M& ")P%*+,)PAM &%C" MAP/0
1A$2*+C3B31 AM P14 /0M3&%*+4$ 35" 4$35"/0
"%M*terminal6type0
C"1*7option0 option...80
"3A2%*A5"30
MAPA""*7C3130(4142("80&A""*7C3130(4142("80
"43AP'9*+)% $3/
&'(M& ")P%*'4$A1
-
7/18/2019 Cics Training Class 02
4/27
MAPSET Parameter Eplanation
NAME! 5sed to refer the mapset in an application program.
TYPE! pecifies whether a physical map 7MAP80 ymbolicmap 7&%C"80 or both 7,)PAM8 will be generated.
")P%*'4$A1 mar:s the end of a mapset.
LANGpecifies the programming language! C3B310 AM 0
P14.
MODEpecifies whether the mapset is used for input 74$80
output 735"80 or both 74$35"8.
-
7/18/2019 Cics Training Class 02
5/27
MAPSET Parameter Eplanation
CTRL pecifies a list of control options in effect for each map
in the mapset. Common options are!
'%%KB 'ree the :eyboard after each output operation.
A1AM ound the audio alarm .
'%"! "o reset all the map filed #alues.
STORAGE 4f "3A2%*A5"3 is coded0 the symbolic
maps for the maps in the mapset will occupy separate storage
locations. 3therwise0 they
-
7/18/2019 Cics Training Class 02
6/27
MAPSET Parameter Eplanation
TIOAPFX! )% generates a =>6byte '411% item at the
beginning of the symbolic map that the system uses to maintain
control information. )% should always be specified for
C3B31 maps 7$3 is the default8.
MAPATTS / DSATTS pecifies which extended attributes
should be supported by the symbolic map. C313 and
(4142(" are the most common and are usually coded
together. TERMpecifies the type of terminal that will be supported by
the physical map generated by this mapset. Common #alues
are! A11 or ?>@ upport for any terminal.
-
7/18/2019 Cics Training Class 02
7/27
DFHMDI Macro
DFHMDICoded once for each map within the mapset; supplies
#alues that apply to a single map.
$AM% &'(M&4 4%*7lines0 columns80
14$%*line6number0
C315M$*column6number0
C"1*7option0 option...8
-
7/18/2019 Cics Training Class 02
8/27
MAP Parameter Eplanation
NAME! "he one6 to se#en6character name of the map. %ach
map within a mapset must ha#e a uniDue name.
SIZE! pecifies the siEe of the map in lines and columns.
5sually coded 4%*7>F0G8
LINEpecifies the line number on the screen where the map
starts. 5sually coded 14$%*=.
COLUMNpecifies the column number on the screen wherethe map starts. 5sually coded C315M$*=.
CTRLpecifies a list of control options in effect for the map.
Common options are! '%%KB . A1AM , '%"
-
7/18/2019 Cics Training Class 02
9/27
DFHMDF Macro
DFHMDFCoded once for each field 7or attribute byte8 within themap; specifies the position0 length0 and attributes of a screen field.
$AM% &'(M&' P3*714$%0C315M$81%$2"(*'4%1& 1%$2"(
A""B*7P3"0$5M04C0'%"0B"8
C313*C3130
(4142("*(42(142("0
4$4"4A1*HliteralI0
P4C4$*HP4C"5%-"4$2I0
P4C35"*HP4C5"%-"4$2I
-
7/18/2019 Cics Training Class 02
10/27
Map Field Parameter Eplanation
NAME"he =6 to >J6character name for the field. 4f omitted0 the
field is not included in the symbolic map.
POSpecifies the line and column position of the attribute byte.
LENGTHpecifies the length of the field0 not including theattribute byte.
COLORpecifies the field
-
7/18/2019 Cics Training Class 02
11/27
Map Field Parameter Eplanation
INITIALpecifies the starting #alue of the field. 4f omitted0 the
default is hexadecimal Eeros 71ow6alue8.
PICINpecifies a C3B31 picture string that defines the formatof the data on input0 li:e PICIN*
-
7/18/2019 Cics Training Class 02
12/27
Map Field Parameter Eplanation
ATTRB! pecifies one or more attribute byte settings for the
field. 4f omitted0 the default is $3M0 AK4P. 4f one or more
options are specified0 the default becomes $3M0 5$P3".
B" "he field is displayed with high intensity.
$3M "he field is displayed with regular intensity.
&K "he field is not displayed on the screen.
P3" "he field is protected; data may not be :eyed into it.
AK4P "he field is protected0 and the cursor will automatically
s:ip o#er it.
5$P3" "he field is unprotected; data may be :eyed into it.
-
7/18/2019 Cics Training Class 02
13/27
Map Field Parameter Eplanation
NUM"urns on the numeric loc: feature so only numeric
characters can be entered; the field is right Nustified and Eero
filled. 4f omitted0 the field is assumed to be alphanumeric and
is left Nustified and space filled.
ICpecifies that the cursor should be located at the start of the
field.
FSETpecifies that the M&" bit in the attribute byte should be
turned on before the map is sent to the terminal.
-
7/18/2019 Cics Training Class 02
14/27
An Attri!ute B"te
%ach field on a screen is preceded by an attribute byte that
controls the appearance and operation of the field.
"he attributes byte determine a field
-
7/18/2019 Cics Training Class 02
15/27
T#e contents o$ an attri!ute !"te
Bit positios F!ctios Bit s"tti#s
-= &epends on the contents of bits >6@
>-? Protection andhift
* 5nprotected alphanumeric= * 5nprotected numeric
= * Protected== * Protected s:ip
F-O 4ntensity * $ormal= * $ormal= * Bright
== * &ar: 7$o display8
Must be
@ M&" * 'ield has not been modified
= * 'ield has been modified
-
7/18/2019 Cics Training Class 02
16/27
M%T Modi&ed %ata Tag
Modified &ata "ag is the last bit of an attribute byte that says
whether a field has been modified or not. "erminal sends a
field data only if the M&" is on. 3therwise0 the field #alue is
not transmitted.
M&"
-
7/18/2019 Cics Training Class 02
17/27
S$ipp"r % Stopp"r T"c&i'!"
BM does not automatically generate attribute byte to mar: theend of an unprotected field. "he user ha#e to do it himself usings:ipper stopper field.
o after e#ery unprotected field an unlabeled s$ipp"r/stopp"r
field must be defined with attribute parameter as AK4P P3"
:ipper filed ! 4tIs a = byte filed with AK4P 7a!tos$ip8 attributeused to s:ip the cursor to the next unprotected filed.
&'(M&' P3*71n0Cn80A""B*AK4P01%$2"(*= topper filed ! 4tIs a = byte filed with P3" 7prot"ct8 attribute
used to stop the cursor in order to pre#ent filed o#erflow.
&'(M&' P3*71n0Cn80A""B*P3"01%$2"(*=
-
7/18/2019 Cics Training Class 02
18/27
MAPSET PR'(RAM
-
7/18/2019 Cics Training Class 02
19/27
MAPSET PR'(RAM
-
7/18/2019 Cics Training Class 02
20/27
CICS Resource %e&nitions
-
7/18/2019 Cics Training Class 02
21/27
CICS Resource %e&nitions
-
7/18/2019 Cics Training Class 02
22/27
CICS Resource %e&nitions
-
7/18/2019 Cics Training Class 02
23/27
CICS Resource %e&nitions
-
7/18/2019 Cics Training Class 02
24/27
)ie*ing Map
-
7/18/2019 Cics Training Class 02
25/27
)ie*ing Map
-
7/18/2019 Cics Training Class 02
26/27
)ie*ing Map
-
7/18/2019 Cics Training Class 02
27/27
T#an+ ,ou
Po(sai Ai( )!*ar