Valid Elementary Moves
Table 1 shows valid and
invalid elementary moves for each category. In the table:
- YES = Move is valid.
- NO = Move is invalid
|
|
Receiving Item Category | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Alphabetic | Alphanumeric, |
Numeric, |
BOOLEAN (6) | DBCS (8) | External |
Internal |
Date (6) | Time (6) | Timestamp (6) | National
and National-edited (6)![]() |
|
| Alphabetic and SPACE | YES | YES | NO | NO | NO | NO | NO | NO | NO | NO | YES |
| Alphanumeric (1) | YES | YES | YES | YES (5) | NO | YES (9) | YES (9) | YES | YES | YES | YES |
| Alphanumeric-edited | YES | YES | NO | NO | NO | NO | NO | YES | YES | YES | NO |
| Numeric Integer (2) | NO | YES | YES | NO | NO | YES | YES | YES | YES | YES | YES![]() |
| Numeric Noninteger (3) | NO | NO | YES | NO | NO | YES | YES | NO | NO | NO | NO |
| Numeric-edited | NO | YES | YES | NO | NO | YES | YES | YES | YES | YES | NO |
| LOW/HIGH-VALUE, QUOTES | NO | YES | NO | NO | NO | NO | NO | NO | NO | NO | NO |
| ZERO | NO | YES | YES | YES | NO | YES | YES | NO | NO | NO | YES![]() |
| BOOLEAN (4) (6) | NO | YES | NO | YES | NO | NO | NO | NO | NO | NO | NO |
| DBCS (6) (7) (8) |
NO | NO | NO | NO | YES | NO | NO | NO | NO | NO | YES (12)![]() |
| Floating-Point (10) | NO | NO | YES | NO | NO | YES | YES | NO | NO | NO | NO |
| Date (6) | NO | YES | YES | NO | NO | NO | NO | YES | NO | YES | NO |
| Time (6) | NO | YES | YES | NO | NO | NO | NO | NO | YES | YES | NO |
| Timestamp (6) | NO | YES | YES | NO | NO | NO | NO | YES | YES | YES | NO |
| National (6) | YES | YES | YES (11)![]() |
NO | YES | NO | NO | NO | NO | NO | YES |
National-edited (6)![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
NO![]() |
YES![]() |
Notes to Table 1:
- (1)
- Includes nonnumeric literals
- (2)
- Includes integer numeric literals
- (3)
- Includes noninteger numeric literals
- (4)
- Includes Boolean literals
- (5)
- First character of sending item is moved, regardless of its value
- (6)
- Boolean, DBCS, DBCS-edited, national, internal and external floating-point, and date-time items are an IBM® Extension.
- (7)
- Includes DBCS literals and SPACE.
- (8)
- Includes DBCS data-items.
- (9)
- Figurative constants and nonnumeric literals must consist only of numeric characters and will be treated as numeric integer fields. The ALL literal may not be used as a sending item.
- (10)
- IBM Extension Includes floating-point literals, external floating-point data items (USAGE DISPLAY), and internal floating-point data items (USAGE COMP-1 or USAGE COMP-2). End of IBM Extension
- (11)
- National data-items can be moved to numeric but not to numeric-edited.
(12)
DBCS items can be moved to National items but cannot be moved
to National-edited items. DBCS-edited items cannot be moved to either
National or National-edited items.