MOVE - Character String to Character String Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
1234567890123••• |
|
| |||||
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
No Condition Flag is set (all FALSE).
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
1234567890123••• |
|
| |||||
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
CDEFGH7890123••• |
No Condition Flag is set (all FALSE). The transfer into RECV began at the first physical position, even though RECV's Form Pointer equaled 7 and continued through SEND's Logical String.
Example 3:
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
1234567890 |
|
| |||||
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
ABCDEFGHIJ |
The EOS Condition Flag is set. RECV could not hold all of SEND's Logical String.
Example 4:
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCEDFGHIJKLMN•• |
|
|
|
|
|
|
1234567890 |
|
| |||||
|
|
|
|
|
|
ABCDEFGHIJKLMN•• |
|
|
|
|
|
|
1234567890 |
No Condition Flag is set (all FALSE), even though RECV is set to a Null String.
Example 5:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1234567890 |
|
| |||||
|
|
|
|
|
|
LITERAL890 |
No Condition Flag is set (all FALSE).
Example 6:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1234567890 |
|
| |||||
|
|
|
|
|
|
1234567890 |
No Condition Flag is set (all FALSE), even though RECV is set to a Null String.
Example 7:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDEFG |
|
|
|
|
|
|
abc123def |
|
| |||||
|
|
|
|
|
|
ABCDEFG |
|
|
|
|
|
|
ABCDEFGef |
No Condition Flag is set (all FALSE).
![]() |