Move Zone Operations

The move zone operations are:

These operations are available only in the traditional syntax.

The move zone operations move only the zone portion of a character.

Whenever the word high is used in a move zone operation, the field involved must be a character field; whenever low is used, the field involved can be either a character or a numeric field. Float numeric fields are not allowed in the Move Zone operations.

Characters J through R have D zones and can be used to obtain a negative value:

(J = hexadecimal D1, ..., R = hexadecimal D9).

Note:
While you may see this usage in old programs, your code will be clearer if you use hexadecimal literals for this purpose. Use X'F0' to obtain a positive zone and X'D0' to obtain a negative zone.

Note:
The character (-) is represented by a hexadecimal 60, and cannot be used to obtain a negative result, since it has a zone of 6, and a negative result requires a zone of "D".
Figure 180. Function of MOVE Zone Operations
REQTEXT


[ Top of Page | Previous Page | Next Page | Contents | Index ]