Sign in

docs RPG Reference

MHLZO (Move High to Low Zone)

MHLZO (Move High to Low Zone)

MHLZO (Move High to Low Zone)

Free-Form Syntax(not allowed - use the %BITAND and %BITOR built-in functions. See Figure 4.)
CodeFactor 1Factor 2Result FieldIndicators
MHLZOSource fieldTarget field

The MHLZO operation moves the zone portion of a character from the leftmost zone in factor 2 to the rightmost zone in the result field. Factor 2 must be defined as a character field. The result field can be character or numeric data. For further information on the MHLZO operation, see Move Zone Operations.

The function of the MHLZO operation is shown in Figure 1.