You are on page 1of 2

QCKSET DFHMSD TYPE=MAP,STORAGE=AUTO,MODE=OUT,LANG=COBOL,TIOAPFX=YES

QUPSET DFHMSD TYPE=MAP,STORAGE=AUTO,MODE=INOUT,LANG=COBOL,TERM=3270-2

QUPMAP DFHMDI SIZE=(24,80),LINE=1,COLUMN=1,CTRL=FREEKB

DFHMDF POS=(1,1),LENGTH=3,ATTRB=(ASKIP,BRT),INITIAL='QUP'
DFHMDF POS=(1,26),LENGTH=20,ATTRB=(ASKIP,NORM), X
INITIAL='Quick Account Update'

MSG DFHMDF LENGTH=40,POS=(3,1),ATTRB=(ASKIP,NORM)


DFHMDF POS=(5,1),LENGTH=8,ATTRB=(ASKIP,NORM), X
INITIAL='Account:'

ACCTNO DFHMDF POS=(5,14),LENGTH=6,ATTRB=(UNPROT,NUM,IC)


DFHMDF POS=(5,21),LENGTH=1,ATTRB=(ASKIP),INITIAL=' '
DFHMDF POS=(6,1),LENGTH=11,ATTRB=(ASKIP,NORM), X
INITIAL='Charge: $ '

CHG DFHMDF POS=(6,13),ATTRB=(UNPROT,NORM),PICIN='99999V99'


DFHMDF POS=(6,21),LENGTH=1,ATTRB=(ASKIP),INITIAL=' '
DFHMSD TYPE=FINAL

STORAGE:

If you specify neither for a map set containing several maps, the symbolic structures
for the maps are defined so that they overlay one another. If you specify
STORAGE=AUTO, they do not; each occupies separate space. Thus
STORAGE=AUTO requires more storage.
However, when you use maps that overlay one another in a single program, you
must use them serially or compensate for the reuse of storage by programming.
Unless storage is a major issue, STORAGE=AUTO simplifies programming and
reduces the risk of error.
In PL/I and C, STORAGE=AUTO has the additional effect of defining the map as
automatic storage (storage that CICS will allocate); the absence of
STORAGE=AUTO causes these compilers to assume based storage, for which you
generally incur the overhead of an additional GETMAIN. BMS assigns the name
BMSMAPBR to the associated pointer variable, unless you specify another name
with the BASE option.
The third possibility, BASE, lets you use the same storage for all the maps in
multiple map sets. Its effect varies slightly with the programming language, but
essentially, all the maps in map sets with the same BASE value overlay one
another. In COBOL, BASE=xxxx causes the 01 levels (that is, each individual
map) to contain a REDEFINES xxxx clause. In PL/I and C, it designates each map
as storage based on the pointer variable xxxx. BASE cannot be used when the
programming language is assembler.

TERM
TERM=3270-2(default if TERM is omitted)

ATTRB
BMS uses a default value of (ASKIP, NORM)—autoskip protection, normal intensity,
modified data tag off—if you omit it.
(protection, intensity, MDT)
Attribute type MAPATTS, DSATTSvalue Subfield suffix
Fieldattributes None(default) A
Color COLOR C
Highlighting HILIGHT H
Outlining OUTLINE U
Background transparency TRANSP T
Validation VALIDN V
Double-bytecharacter capability SOSI M
Programmed symbols PS P

Symbolic map input

L the length of the input in the map field.


F the flag byte, which indicates whether the operator erased the field and
whether the cursor was left there.
I the input data itself.

You might also like