Allowable moves for the MOVE command (COBOL)

The following table shows the allowable moves for the Debug Tool MOVE command.

Source field Receiving field
GR AL AN ED BI NE ANE NDI NNDI ID IF EF D1
GROUP (GR) Y Y Y Y1 Y1 Y1 Y1 Y1   Y1 Y1 Y1  
ALPHABETIC (AL) Y Y           Y          
ALPHANUMERIC (AN)4,5 Y   Y         Y          
EXTERNAL DECIMAL (ED)4,5 Y1     Y                  
BINARY (BI) Y1       Y                
NUMERIC EDITED (NE) Y                        
ALPHANUMERIC EDITED (ANE) Y           Y Y          
FIGCON ZERO Y   Y Y2 Y2   Y   NU Y2 Y Y  
FIGCON ZERO, SPACE, or QUOTE               Y          
SPACES (AL) Y Y Y       Y            
HIGH-VALUE, LOW-VALUE, QUOTES Y   Y       Y            
NATIONAL DATA ITEM (NDI) Y1             Y          
NATIONAL NUMERIC DATA ITEM (NNDI)                 NN        
NUMERIC LITERAL Y1     Y Y       NN Y Y Y  
ALPHANUMERIC LITERAL Y Y Y     Y1 Y Y          
ALPHANUMERIC HEX LITERAL6 Y Y Y Y Y Y Y     Y Y Y  
INTERNAL DECIMAL (ID)4,5 Y1                 Y      
FLOATING POINT LITERAL Y1                   Y Y  
INTERNAL FLOATING POINT (IF) Y1                   Y Y  
EXTERNAL FLOATING POINT (EF) Y1                   Y Y3  
DBCS DATA ITEM (D1)                         Y
DBCS LITERAL                         Y
NATIONAL LITERAL (NL) Y             Y          
NATIONAL HEX LITERAL (NHL)7 Y1             Y          
Notes®:
1
Move without conversion (like AN to AN)
2
Numeric move
3
Decimal-aligned and truncated, if necessary
4
MOVE does not support date windowing. For example, the MOVE statement cannot be used to move a windowed date field to an expanded date field, or to a nondate field.
5
The MOVE command cannot be used to move one windowed date field to another windowed date field with a different DATE FORMAT clause, or to move one expanded date field to another expanded date field with a different DATE FORMAT clause.
6
Must be hexadecimal characters only, delimited by either quotation marks (") or apostrophes (') and preceded by X.
7
Must be hexadecimal characters only, delimited by either quotation marks (") or apostrophes (') and preceded by NX.

Refer to the following topics for more information related to the material discussed in this topic.