Task 2: Determining the contents of the lost auxiliary storage pool

If you are not sure what was on the basic auxiliary storage pool (ASP), follow these steps to determine the contents of the lost ASP.

If your system has a small number of libraries and is well-documented, like the one in Figure 1, your task is relatively simple. In the example, if a disk unit in ASP 2 is replaced, the user must recover the ORDLIB, TRANLIB, and $JRNLB libraries. If a disk unit in ASP 5 is replaced, the user must recover all the journal receivers in the $JRNLA library and the ORDSAV save file in the SAVFLIB library.

  1. Sign on with a user profile that has *ALLOBJ special authority so that your listings show all libraries.
  2. Print a list of the libraries that are on the lost basic ASP by following these steps:
    1. Create a list of all the libraries in an output file:
      DSPOBJD OBJ(QSYS/*ALL) OBJTYPE(*LIB) ASPDEV(*ALLLVL)
              DETAIL(*FULL) OUTPUT(*OUTFILE)
              OUTFILE(library-name/file-name)
    2. Use a program or a query tool to display or print the output file. Select all entries that have an ASP field that matches the ASP that is lost.
      Notes:
      • When you lose a basic ASP, you lose the contents of any libraries in the ASP, not the libraries themselves. The library objects are in the QSYS library, which is in the system ASP.
      • If you had documents in the basic ASP, you should have a library on your listing for the ASP. The library name is QDOCnnnn, where nnnn is the number of the ASP.
  3. If you have determined what must be recovered, continue with Task 3: Determining tasks to restore objects. If you have not found any libraries to recover, continue with step 4.
  4. If you did not find any libraries to recover in step 2, the ASP was probably a nonlibrary user ASP. A nonlibrary user ASP can contain only save files, journals, and journal receivers.
    Determining the objects that were in a nonlibrary user ASP can be very time consuming. The following steps are one method. This method works only if you have not yet run Reclaim Storage (RCLSTG) command after losing the user ASP.
    1. Type the following command:
      DSPOBJD OBJ(*ALL/*ALL)
              OBJTYPE(*LIB *FILE *JRN *JRNRCV)
              OUTPUT(*OUTFILE)
              OUTFILE(library-name/file-name)
    2. Use a program or query tool to list all the objects in the output file that are in the ASP that is damaged.
  5. When you have determined the objects that need to be recovered, continue with Task 3: Determining tasks to restore objects.