Version 6.3.8 for Windows
 —  Statements  —

EM, HD, PM Parameters for Field/Variable

The emhdpm option is 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.

The emhdpm option has the following syntax:

(

EM=value
EMU=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.


Function

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= or EMU=) nor a header (HD=), the default edit mask and default header as defined in the data definition module (DDM) will be used. However, if you specify one of the two, the other's default from the DDM will not be used.

Top of page

Syntax Description

Syntax Element Description
EM=value
Edit Mask:

The EM parameter may be used to define an edit mask used when the field is displayed with an I/O statement.

For further information, see the session parameter EM in the Parameter Reference.

EMU=value
Unicode Edit Mask:

The EMU parameter may be used to define a Unicode edit mask used when the field is displayed with an I/O statement.

For further information, see the session parameter EMU in the Parameter Reference.

HD='text'
Header Definition:

The HD parameter may be used to define the header to be used as the default header for the field.

For further information, see the session parameter HD in the Parameter Reference.

PM=value
Print Mode:

The PM parameter may be used to set the print mode, which indicates how fields are to be output.

For further information, see the session parameter PM in the Parameter Reference.

Top of page