Defining BMS maps. IBM iSeries
Iklan
Iklan
v
Validation v
Field delimiters or stoppers (to control the length of data entered)
The maximum number of fields that may be sent to a 5250 display device is 256.
You should bear this limit in mind when designing screens for use on 5250 devices.
Screen sizes
Screen sizes supported are 24 X 80 and 27 X 132.
The system administrator uses the CEDA transaction (see the
CICS for iSeries
Administration and Operations Guide
) or native OS/400 CL commands (see the
CICS for iSeries Administration and Operations Guide
) to: v
Specify the alternate screen sizes, by means of the ALTSCN parameter on the
ADDCICSTCT or CHGCICSTCT CL command. v
Specify whether the default or alternate screen size is to be used by the transaction, by means of the SCRNSZE parameter on the ADDCICSPCT or
CHGCICSPCT CL command.
Defining BMS maps
This section describes the three macros DFHMSD, DFHMDI, and DFHMDF. They are used to define BMS map sets, maps, and fields. It shows how to use the macros to define a simple map set, and how to create this map set for use by application programs.
You must define all maps (including a single map) as part of a map set. You always start your map set definition with a DFHMSD TYPE=MAP or
TYPE=DSECT macro, and must always end it with a DFHMSD TYPE=FINAL macro. Labels start in column 1, macros start in column 10, operands start in column 15, and continuation characters are placed in column 72, with the continued operands in column 16. Comments may be included in the source by coding an asterisk (*) in column 1, followed by the comment text.
Defining a map set
You use the DFHMSD macro to define a set of maps (a
map set
). The macro consists of operands that define characteristics of the map or maps in the map set.
Some of the operands of DFHMSD macros establish defaults for subsequent
DFHMDI and DFHMDF macros. The map set source files can be stored before assembly.
For information about the syntax of the DFHMSD macro, see page 555. You should
also see “Getting storage for a data structure” on page 156 for information about
storing maps, and “Creating BMS maps” on page 148 for information about
suffixing map set names.
Defining maps within a map set
Each map in a map set is defined using the DFHMDI macro. This macro is similar in form to DFHMSD and specifies defaults for fields within the map. It allows you to override some of the options inherited from DFHMSD, and to specify some new
ones. For information about the full syntax of the DFHMDI macro, see page 562.
Chapter 13. CICS/400 basic mapping support (BMS)
147
Unduh
Iklan