mfsDevice
When you are generating a form group for use on IMS™, the mfsDevice build descriptor option specifies information to include in the EGL-generated DEV and DFLD statements. Those statements identify characteristics of the device types that are valid for at least one form in the form group.
The mfsDevice build descriptor option can occur from zero to many times. The attributes in each option must be compatible with the device characteristics defined in the TERMINAL and TYPE macros in your IMS™ system definition.
The attributes in each mfsDevice option
are shown in the following default set of options:
<mfsDevice width="80", height="24",
devStmtParms="TYPE=3270-A2,FEAT=(IGNORE)",
extendedAttributes="YES" />
<mfsDevice width="80", height="24",
devStmtParms="TYPE=(3270-2),FEAT=(IGNORE)",
extendedAttributes="YES" />
<mfsDevice width="132", height="255",
devStmtParms="TYPE=3270P,WIDTH=133,PAGE=(255,DEFN),FEAT=2",
extendedAttributes="YES" />Values
The following attributes are available:
- height
- The number of lines that can be displayed on the device. This attribute is required.
- width
- The number of columns that can be displayed on the device. This attribute is required.
- devStmtParms
- A string that contains one or more parameters for inclusion in the EGL-generated DEV statement. The information is based on that in the TERMINAL and TYPE macros in your IMS™ system definition. This attribute is required.
- extendedAttributes
- Indicates whether the device supports extended attributes and
whether a color default (CD) extended attribute is generated for form
fields that are displayed on monochromatic devices. Your choice affects
the EGL-generated MFS DFLD statements. If you specify this attribute,
the value of the mfsExtendedAttr build descriptor
option is ignored when you generate form information for the device.
Valid values are as follows:
- YES (the default value)
- Extended attributes are supported, and a color default extended attribute is generated.
- NCD
- Extended attributes are not supported.
- NO
- Extended attributes are supported, but a color default extended attribute is not generated.
For more information on the mfsDevice build descriptor option, refer to the IBM® Rational® COBOL Runtime Guide for zSeries®.