Natural for Mainframes Version 8.2.5 for Mainframes
 —  Statements  —

EM, HD, PM Parameters for Field/Variable

(

EM=value
EMU=value

[HD='text'] [PM=value])

For an explanation of the symbols used in the syntax diagram, see Syntax Symbols.

The emhdpm option is used to define additional parameters to be in effect for a field/variable.

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.


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