The emhdpm option used in the
view-definition
option of DEFINE DATA
LOCAL
and DEFINE DATA
OBJECT
and in the variable-definition
option of DEFINE DATA
LOCAL
, DEFINE DATA
INDEPENDENT
, DEFINE
DATA CONTEXT
and DEFINE DATA OBJECT
has the
following syntax:
([EM= value] [HD= 'text']
[PM= value])
|
This document covers the following topics:
For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.
With this option, additional parameters to be in effect for a field/variable may be defined.
Note:
If for a database field you specify neither an edit mask
(EM=
) nor a header (HD=
), the
default edit mask and default header as defined in the
DDM will be used. However, if you
specify one of the two, the other's default from the DDM will not be
used.
EM=value | This parameter may be used to define an edit mask used when the
field is displayed with an I/O statement. See the session parameter
EM in the
Parameter Reference.
|
---|---|
HD='text' | This parameter may be used to define the header to be used as
the default header for the field. See the session parameter
HD in the
Parameter Reference.
|
PM=value | This parameter may be used to set the print mode, which
indicates how fields are to be output. See the session parameter
PM in
the Parameter Reference.
|