4 - 22 en-938872/2
4.2.8 Copying Blocks or Entries from One Table into Another Table
MOVE Copies all or part of a table into another table.
The MOVE function is used to copy tables with the following formats:
- [P(m)] : m blocks of an entry,
- [P(n,m)] : m blocks of n entries.
General Syntax
MOVE [Pj(nj,mj)],mj1,mj2 = [Pi(ni,mi)],mi1,mi2 / j1=i1 / j2=i2 /jn=in
The MOVE function provides several possibilities for copying:
- simple copying of blocks,
- partial copying of blocks,
- specification of the entries to be copied.
Syntax for Simple Copying of Blocks
MOVE [Pj(nj,mj)] = [Pi(ni,mi)]
MOVE Copies the contents of one table into another table.
During a simple copy, the two tables must have the
same format, i.e.: nj = ni and mj = mi.
Pj Target table name.
nj,mj Entries and blocks of the target table.
Pi Source table name.
ni,mi Entries and blocks of the source table.