TRANSFER (Global Project Administration)
- Last UpdatedMar 22, 2022
- 2 minute read
Function:
Generate a directory containing copies of all Database (DB) files at the current Location, including inter-DB macro files, for transfer between the Hub and an offline Location.
Description:
This command is used at the Hub and at an offline Location. All the DBs at the current Location will be transferred. Before the command is given, the environment variable pointing at the transfer directory must be set, and the transfer directory must exist and contain the normal Project sub-directories.
The current Location must be either the Hub or an offline Location. The Location to which the files are transferred must be either the Hub or an offline Location.
The transfer directory is specified by the environment variable Project_loc where Project is the 3-character Project code and loc is the 3-character identifier of the remote Location. For example, in a Project ABC where the Hub is CAM and the offline Satellite is SYD, the following environment variables must be set:
|
At CAM: |
ABC_SYD |
|
At SYD: |
ABC_CAM |
TRANSFER TO copies all the Project files to the transfer directory specified by the Project_loc variable. The files are then physically transferred by some means (tape, FTP etc.), and read on to the transfer directory specified by the Project_loc variable.
The System administrator at the receiving end then uses the TRANSFER FROM command, which updates the Location with the transferred files.
Offline Location:
Special care should be taken when using CHANGE PRIMARY for an offline Location. Before changing the Primary Location, it is important to make sure that the DB at the new Primary Location is up-to-date. This may be done by using the TRANSFER TO command at the old Primary Location followed by the TRANSFER FROM command at the new Primary Location. All Users should have left the AVEVA base product before this transfer is made. Any subsequent work on the DB will be lost, due to the change in Primary Location.
Examples:
|
TRANSFER TO loc Copies all DB files at the current Location, together with appropriate inter db macro files etc. to the transfer directory specified by the Project_loc variable. TRANSFER FROM loc Updates the current Location with the files transferred from Location loc. Only DBs that are allocated at the current Location will be read in. |
Note:
There is an additional option TRANSFER - FORCEPROPG which transfers all allocated DBs regardless of the propagation flag.
Command Syntax:
|
>--- TRANSFer ---+--- TO pathname <loc> ---. |
Related Commands:
GENERATE LOCATION