Transferring an object to a nonlibrary auxiliary storage pool

Use this example procedure to move an object to a nonlibrary auxiliary storage pool (ASP).

In this example, the DSTSAVF save file is moved to ASP 4. The library (SAVFLIB) for the DSTSAVF is in the system ASP. You can use this procedure only for save files, journals, and journal receivers.

To transfer an object to a nonlibrary ASP, follow these steps:

  1. Sign on as QSECOFR.
  2. Save the save file and its private authorities:
    
    SAVOBJ  OBJ(DSTSAVF) LIB(SAVFLIB) OBJTYPE(*FILE) 
            DEV(TAP01) PVTAUT(*YES)
  3. Delete the save file: DLTF FILE(DSTSAVF)
  4. Restore the save file and its private authorities to ASP 4:
    
    RSTOBJ  OBJ(DSTSAVF) SAVLIB(SAVFLIB) RSTASP(4) 
            DEV(TAP01) PVTAUT(*YES)