This document covers the following topics:
B05130
Move the contents of the folder(s) of a cabinet to another (already existing) cabinet.
12:50 PM * * * C O N - N E C T 3 * * * 14.Feb.94 Cabinet LS Move Folder Contents B05130 Source Cabinet ________ Target Cabinet ________ Beginning with Folder _______________ ('*' for all folders) Ending with Folder _______________ Mark to replace duplicate items _ Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Menu Quit Complete the information above and press ENTER to continue |
Parameter | Format | Description |
---|---|---|
Source Cabinet | A8 | |
Target Cabinet | A8 | |
Start Folder | A15 | |
End Folder | A15 | Optional |
Replace Duplicates | A1 | Optional/Default: no |
The full names of the existing Source-cabinet and Target-cabinet must be specified. A folder name or a start value for a folder must also be specified. The End-folder is optional and, if it is not specified, the Start-folder is used as the default (i.e. only that folder is copied).
The program accesses every folder and file record in the Source-cabinet. If a corresponding folder/file does not exist in the Target-cabinet, it is created. Then the items in the folders are copied. If items with the same names exist in the Target-cabinet, they are not replaced unless you specify the Replace-duplicates parameter.
Invitations are not moved, they are deleted.
Objects contained in a system folder (except folder Work) are moved to the appropriate system folder in the target cabinet.
The contents of folder TRS-XXL are moved to folder Work in the target cabinet. To ensure that the folder TRS-XXL is empty when running this utility, you should first run utility B10000 Invert Long Documents.
All other objects are moved to the same folder/file (same names) in the target cabinet. If a folder/file with that name does not exist in the target cabinet, it is automatically added.
Folder in folder relationships are usually retained. First the definitions of the folder and second-level folder (a folder within a folder) are moved and then the contents of the folders.
Folder in folder relationships are not retained when the target cabinet already contains a folder with the same name as that in the source cabinet. In this case, a message is returned after this utility is run. Then the contents of the folder in the source cabinet is moved to the folder in the target cabinet, even though this folder may not be filed in the same first-level folder.
For example, the source cabinet contains folder A1. Folders A2, A3 and A4 are filed in folder A1. The target cabinet contains folder K1, in which folders K2, K3 and A3 are filed. When this utility is run, folder A1 as well as folder A2 and A4 are copied and moved to the target cabinet, retaining the folder in folder relationship. Since folder A3 already exists in the target cabinet, only the contents of folder A3 in the source cabinet are copied and moved to folder A3 in the target cabinet.
A member of a distribution list which is itself a distribution list is not moved. Nicknames for external addresses are not moved.
Objects marked as private are not moved. Therefore if a folder is marked as private, the folder and all of its contents are not moved. However, if a folder is not marked as private and is filed in a private folder, this folder and its contents are copied and moved to the target cabinet.
The security levels of all moved objects are reset.
Documents and reference documents filed in TRS folders have their entry deleted from the TRS Document Directory file first, and then inverted afterwards (if applicable).
All moved folders and files except for system folders are deleted in the source-cabinet.
Folders cannot be moved from SYSCNT.
The contents of folder Work are to be moved from the Cab1 to Cab2. Duplicate items in Cab2 are not replaced, thus those items remain in the folder Work of Cab1. This would be coded as follows:
LOGON SYSCNT2B MENU B05130 Cab1,Cab2,work FIN