Sign in

docs RPG Reference

MLHZO (Move Low to High Zone)

MLHZO (Move Low to High Zone)

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

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

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