Could someone help me with the difference in the statements 1 and 2:
1. MOVE EDITED operand1 TO operand2 (EM=value)
2. MOVE EDITED operand1 (EM=value) TO operand2
Statement 2 takes operand1 and applies the specified edit mask to create operand2.
Statement 1 is actually a "de edit" operation. It takes operand1 and removes the editing characters specified in the edit mask to create operand2. Careful. If the editing characters do not exist in operand1 you will get an error message.