Transferring a folder to a different auxiliary storage pool
Use this procedure to move a folder to a different auxiliary storage pool (ASP).
This example moves the HRFLR folder from ASP 1 to ASP 2. Do not move IBM-supplied folders (those starting with Q) to a user ASP. These folders must be in the system ASP.
- Save the private authorities for the folder:
SAVSECDTA DEV(TAP01). - Save the folder:
SAVDLO DLO(*ALL) FLR(HRFLR) DEV(TAP01).Consider saving the object twice to 2 different media volumes. - Delete the folder:
DLTDLO DLO(*ALL) FLR(HRFLR).Do not skip this step. If you restore a document library object (DLO) to an ASP and it already exists in another ASP, you receive an error message. The restore operation continues with the next DLO. If you issue a restore command for a large number of DLOs, you will receive a large number of error messages. - Place the system in a restricted state:
ENDSBS *ALL *IMMED. - Restore the private authorities you saved in step 1:
RSTUSRPRF USRPRF(*ALL) DEV(TAP01) - Restore the folder to the new user ASP:
RSTDLO DLO(*ALL) SAVFLR(HRFLR) RSTASP(2) - Restore authority to the folder and its objects:
RSTAUT
You can move more than one folder at a time by specifying multiple folders on the Save Document Library Object (SAVDLO) and Restore Document Library Object (RSTDLO) commands. If you save DLOs from more than one ASP, you must specify sequence numbers on the RSTDLO command.