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
Table 1. Valid Elementary Moves





Sending Item
Category





 

Receiving Item Category  
Alphabetic

Alphanumeric,
Alphanumeric-edited

Numeric,
Numeric-edited

BOOLEAN (6) DBCS (8)

External
Floating-Point (6)

Internal
Floating-Point (6)

Date (6) Time (6) Timestamp (6) Start of changeNational and National-edited (6)End of change
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 Start of changeYESEnd of change
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 Start of changeYESEnd of change
BOOLEAN (4) (6) NO YES NO YES NO NO NO NO NO NO NO

DBCS (6) (7) (8)
DBCS-edited

NO NO NO NO YES NO NO NO NO NO Start of changeYES (12)End of change
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 Start of changeYES (11)End of change NO YES NO NO NO NO NO YES
Start of changeNational-edited (6)End of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeNOEnd of change Start of changeYESEnd of change
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.
Start of change(12)End of change
Start of changeDBCS 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.End of change