When the last field edited is nonzero and the sig
nificance indicator is off, the condition code is made
2 toindieate a result field is greater than zero.
Summary: The following table summarizes the func
tions of the editing operation. The leftmost four
columns list all the significant combinations of the
four conditions that can be encountered in the execu
tion of an editing operation. The rightmost two
columns llist the action taken for each case --the
type ofcharacter placed in the result field and the
newsetting of the significance indicator.
Resulting ConditionCOde: o Last field is zero
1 Last field is less than zero
2 Last field is greater than zero
3 -
ProgramExaptiom: Operation (if the decimal feature is not installed)
Access (fetch, operand2; fetch and store, oper
and 1)
Data
Conditions
Programming Notes
As a rule, the source is shorter than the pattern be
cause for each source digit a zone and numeric are
inserted in the result.
The total number of digit selectors and signifi
cance starters in the pattern must equal the number
of source digits to be edited.
If the fill character is a blank, if no significance
starter appears in the pattern, and if the source is all
zeros, the editing operation blanks the result field.
The resultant condition code indicates whether or
not the last field is all zeros, and, if nonzero, reflects
the state of the significance indicator. The signifi
cance indicator reflects the sign of the source field
only if the last source byte examined a sign
code in the low-order digit position. For multiple
field editing operations, the condition code reflects
the sign and value only of the field following the last
field separator.
Edit and Mark
EDMK [SS]\..--.D----I-F _L I o 8 16 20 32 36 47
Results
State of Significance
Previous State of
Significance Indicator
Source Low-Order Source ResultI ndicator at End of
PatternCharacter Digit Digit Is a Plus Sign
Digit selector starter
Field separator
Message character
Explanation:
off
on
off
on
*
off
on0 1-9
1-90-9 0-9 0 0 1-9
1-90-9 0-9 **
* No effect on result character and new state of significance indicator
* * Not applicable because source digit not examined
Summary of EDIT Functions
152System/370 Principles of Operation no
yes
no
yes
no
yes
no
yes
no
yes
Character Digit Examination
fill character off
source digit on
source digit off
source digit on
source digit off
fill character on
fill character off
source digit on
source digit off
source digit on
source digit off
fill character off
fill character off
message character on
nificance indicator is off, the condition code is made
2 to
Summary: The following table summarizes the func
tions of the editing operation. The leftmost four
columns list all the significant combinations of the
four conditions that can be encountered in the execu
tion of an editing operation. The rightmost two
columns llist the action taken for each case --the
type of
new
Resulting Condition
1 Last field is less than zero
2 Last field is greater than zero
3 -
Program
Access (fetch, operand
and 1)
Data
Conditions
Programming Notes
As a rule, the source is shorter than the pattern be
cause for each source digit a zone and numeric are
inserted in the result.
The total number of digit selectors and signifi
cance starters in the pattern must equal the number
of source digits to be edited.
If the fill character is a blank, if no significance
starter appears in the pattern, and if the source is all
zeros, the editing operation blanks the result field.
The resultant condition code indicates whether or
not the last field is all zeros, and, if nonzero, reflects
the state of the significance indicator. The signifi
cance indicator reflects the sign of the source field
only if the last source byte examined
code in the low-order digit position. For multiple
field editing operations, the condition code reflects
the sign and value only of the field following the last
field separator.
Edit and Mark
EDMK [SS]
Results
State of Significance
Previous State of
Significance Indicator
Source Low-Order Source Result
Pattern
Digit selector
Field separator
Message character
Explanation:
off
on
off
on
*
off
on
1-9
1-9
* No effect on result character and new state of significance indicator
* * Not applicable because source digit not examined
Summary of EDIT Functions
152
yes
no
yes
no
yes
no
yes
no
yes
Character Digit Examination
fill character off
source digit on
source digit off
source digit on
source digit off
fill character on
fill character off
source digit on
source digit off
source digit on
source digit off
fill character off
fill character off
message character on