DSM Template Services Manual
Template Language
DSM Template Services Manual—427187-004
3-23
Edit Codes
EMSTEXT produces this text if the value of ZEMS-TKN-EVENTNUMBER is 15 and the
value of TFMT-TKN-INT is 151:
NESTED COND--token value (151) greater than constant (100):
true side 1
EMSTEXT produces this text if the value of ZEMS-TKN-EVENTNUMBER is 15 and the
value of TFMT-TKN-INT is 99:
NESTED COND--token value (99) less than constant (100):
false side 2
EMSTEXT produces this text if the value of ZEMS-TKN-EVENTNUMBER is 15 and the
value of TFMT-TKN-INT is 49:
NESTED COND--token value (49) less than constant (100):
true side 2
Edit Codes
An edit code requests the conversion of a token value: the conversion of an internal
data type to a particular external form. For example, the I5 edit code converts an
integer value to decimal display characters. For the complete list of internal data types
and their edit codes, see Data Types and Edit Codes on page 3-37.
Field Width
A field width, optional with many edit codes, specifies the number of spaces to reserve
in the display text for the external value. For example, the 5 in I5 reserves five places.
If the external value requires more than the specified field width, EMSTEXT uses
exactly the number of characters needed to express the value (no truncation).
Example 3-10. Hierarchy of Logic for Nested Conditional *IF Edit Descriptor
"token value greater
than 100"
"token value less
than 100"
token value
"true side 1"
"false side 1"
"true side 2" "false side
2"
>100
true
>100
false
>150
true
>150
false
<50
true
<50
false
VST009.vsd