ADELIA |
VADELIA |
SADELIA |
WADELIA |
EADELIA |
(I/B) |
(I/B) (C/S) |
(B) (S) |
(I/B) (C/S) |
(B) (C/S) |
Section for use
All
Syntax
MOVE_VIEW View1 View2
MOVE_VIEW Entity1 Entity2
Description
This instruction generates instructions for loading fields from one file to another. Correspondence between data is accomplished by comparing the associated field short names.
With ADELIA programs, you must specify view names (View1, View2).
With VADELIA and SADELIA programs, you can also specify entity names (Entity1, Entity2).
Example
CHAIN ORDER_FILE
CHAIN WORK_FILE
MOVE_VIEW ORDER_FILE WORK_FILE
CREATE WORK_FILE
(ORDER file) |
(WORK file) |
||
Variable |
Assoc. field |
Variable |
Assoc. field |
OORDNR |
ZORDNR |
WORDNR |
ZORDNR |
OLIOB1 |
ZLIOB1 |
WLIOB1 |
ZLIOB1 |
OLIOB2 |
ZLIOB2 |
WLIOB2 |
ZLIOB2 |
OLIOB3 |
ZLIOB3 |
WLIOB3 |
ZLIOB3 |
OCUSCO |
ZCUSCO |
WCUSCO |
ZCUSCO |
OORAMT |
ZORAMT |
WORAMT |
ZORAMT |
OCODEM |
ZCODE2 |
WCODEM |
ZCODEM |
(The field WCODEM is not modified because associated fields do not match)